Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001985/0.001985, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002337/0.002337, allocations: 157.7 kB / 22.75 MB, free: 1.684 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.548/1.548, allocations: 177.1 MB / 203.1 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.473/3.473, allocations: 429.6 MB / 0.673 GB, free: 3.902 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cab.1..Amp|cab.2..Amp|cab.3..Amp|cab.4..Amp|cab.5..Amp|cab.6..Amp|cab.7..Amp",fileNamePrefix="Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low") translateModel(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cab.1..Amp|cab.2..Amp|cab.3..Amp|cab.4..Amp|cab.5..Amp|cab.6..Amp|cab.7..Amp",fileNamePrefix="Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.824e-06/1.824e-06, allocations: 0 / 0.8776 GB, free: 6.57 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.662e-05/3.844e-05, allocations: 6.109 kB / 0.8776 GB, free: 6.566 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.004031/0.00407, allocations: 1.418 MB / 0.8789 GB, free: 5.156 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.003099/0.007169, allocations: 1.758 MB / 0.8807 GB, free: 3.402 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.284e-05/0.007212, allocations: 0.5 kB / 0.8807 GB, free: 3.402 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.001507/0.008719, allocations: 361 kB / 0.881 GB, free: 3.051 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.415e-05/0.008793, allocations: 16.88 kB / 0.881 GB, free: 3.035 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 5.119e-06/0.008798, allocations: 3.938 kB / 0.881 GB, free: 3.031 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0003215/0.00912, allocations: 136.7 kB / 0.8812 GB, free: 2.898 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 5.79e-05/0.009178, allocations: 9.672 kB / 0.8812 GB, free: 2.887 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001333/0.009311, allocations: 59.81 kB / 0.8812 GB, free: 2.828 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001586/0.00947, allocations: 54.36 kB / 0.8813 GB, free: 2.777 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.407e-05/0.009494, allocations: 4 kB / 0.8813 GB, free: 2.773 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005763/0.01007, allocations: 175.8 kB / 0.8814 GB, free: 2.602 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 7.105e-05/0.01014, allocations: 23.91 kB / 0.8815 GB, free: 2.578 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 9.787e-05/0.01024, allocations: 55.84 kB / 0.8815 GB, free: 2.523 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0007028/0.01094, allocations: 304.8 kB / 0.8818 GB, free: 2.227 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.01095, allocations: 0 / 0.8818 GB, free: 2.227 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.403e-06/0.01095, allocations: 0 / 0.8818 GB, free: 2.227 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.865e-06/0.01095, allocations: 0 / 0.8818 GB, free: 2.227 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.001023/0.01198, allocations: 425.8 kB / 0.8822 GB, free: 1.781 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/0.01203, allocations: 8.031 kB / 0.8822 GB, free: 1.773 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002114/0.01224, allocations: 97.31 kB / 0.8823 GB, free: 1.68 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003079/0.01254, allocations: 236.3 kB / 0.8825 GB, free: 1.426 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001011/0.01265, allocations: 150.9 kB / 0.8827 GB, free: 1.277 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001049/0.01275, allocations: 158.9 kB / 0.8828 GB, free: 1.121 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001145/0.01287, allocations: 105.5 kB / 0.8829 GB, free: 1.012 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 5e-05/0.01292, allocations: 75.47 kB / 0.883 GB, free: 0.9375 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001012/0.01302, allocations: 158.7 kB / 0.8832 GB, free: 0.7812 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.379e-05/0.0131, allocations: 150.6 kB / 0.8833 GB, free: 0.6328 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.221e-05/0.01319, allocations: 154.5 kB / 0.8835 GB, free: 492 kB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005149/0.01371, allocations: 465.4 kB / 0.8839 GB, free: 16 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001423/0.01385, allocations: 169.1 kB / 0.8841 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.711e-05/0.01391, allocations: 80.14 kB / 0.8841 GB, free: 15.74 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 5.267e-05/0.01396, allocations: 75.28 kB / 0.8842 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.046e-05/0.01404, allocations: 105.8 kB / 0.8843 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=0): time 7.21e-07/0.01404, allocations: 4 kB / 0.8843 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of matching and sorting (n=0): time 0.0002227/0.01426, allocations: 53.53 kB / 0.8844 GB, free: 15.49 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001003/0.01436, allocations: 134.6 kB / 0.8845 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004651/0.01483, allocations: 321.7 kB / 0.8848 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.284e-05/0.01485, allocations: 25.7 kB / 0.8848 GB, free: 14.98 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.000113/0.01496, allocations: 120.5 kB / 0.8849 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.707e-06/0.01497, allocations: 0 / 0.8849 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.499e-05/0.01506, allocations: 57.69 kB / 0.885 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002075/0.01527, allocations: 334.8 kB / 0.8853 GB, free: 14.46 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001078/0.01538, allocations: 59.95 kB / 0.8854 GB, free: 14.41 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001686/0.01555, allocations: 125.9 kB / 0.8855 GB, free: 14.26 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003264/0.01587, allocations: 201.9 kB / 0.8857 GB, free: 14.04 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.115e-06/0.01588, allocations: 0 / 0.8857 GB, free: 14.04 MB / 0.8542 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009793/0.01686, allocations: 261.2 kB / 0.8859 GB, free: 13.78 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.454e-05/0.01688, allocations: 11.98 kB / 0.8859 GB, free: 13.77 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.01689, allocations: 0 / 0.8859 GB, free: 13.77 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.766e-05/0.01692, allocations: 4 kB / 0.886 GB, free: 13.77 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.548e-06/0.01692, allocations: 3.938 kB / 0.886 GB, free: 13.76 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.307e-06/0.01693, allocations: 4 kB / 0.886 GB, free: 13.76 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000153/0.01709, allocations: 31.67 kB / 0.886 GB, free: 13.73 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.354e-05/0.0171, allocations: 8.156 kB / 0.886 GB, free: 13.72 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 7 (cab[1].material,cab[2].material,cab[3].material,cab[4].material,cab[5].material,cab[6].material,cab[7].material) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002923/0.01739, allocations: 232.2 kB / 0.8862 GB, free: 13.48 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001094/0.0175, allocations: 116.8 kB / 0.8863 GB, free: 13.36 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001023/0.0176, allocations: 113.8 kB / 0.8864 GB, free: 13.25 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001171/0.01772, allocations: 192.2 kB / 0.8866 GB, free: 13.05 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001024/0.01782, allocations: 180.2 kB / 0.8868 GB, free: 12.87 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001033/0.01793, allocations: 176.3 kB / 0.887 GB, free: 12.69 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003443/0.01827, allocations: 404.8 kB / 0.8873 GB, free: 12.25 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.336e-05/0.01833, allocations: 101 kB / 0.8874 GB, free: 12.15 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.088e-05/0.01839, allocations: 108.9 kB / 0.8875 GB, free: 12.04 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001086/0.0185, allocations: 188.3 kB / 0.8877 GB, free: 11.84 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001137/0.01862, allocations: 180.2 kB / 0.8879 GB, free: 11.66 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.884e-05/0.01872, allocations: 176.3 kB / 0.8881 GB, free: 11.48 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001126/0.01883, allocations: 184.5 kB / 0.8882 GB, free: 11.29 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002371/0.01907, allocations: 327.6 kB / 0.8886 GB, free: 10.95 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001079/0.01917, allocations: 124.8 kB / 0.8887 GB, free: 10.82 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001371/0.01931, allocations: 180.2 kB / 0.8888 GB, free: 10.64 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001609/0.01947, allocations: 109 kB / 0.8889 GB, free: 10.52 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001224/0.01959, allocations: 184.1 kB / 0.8891 GB, free: 10.34 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.687e-05/0.01966, allocations: 105 kB / 0.8892 GB, free: 10.23 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002781/0.01994, allocations: 217.2 kB / 0.8894 GB, free: 10.02 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8e-08/0.01994, allocations: 4 kB / 0.8894 GB, free: 10.02 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004366/0.02038, allocations: 63.94 kB / 0.8895 GB, free: 9.953 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004993/0.02087, allocations: 270.3 kB / 0.8898 GB, free: 9.676 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002218/0.0211, allocations: 87.83 kB / 0.8898 GB, free: 9.59 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.0211, allocations: 0 / 0.8898 GB, free: 9.59 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.543e-06/0.0211, allocations: 0 / 0.8898 GB, free: 9.59 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005758/0.02168, allocations: 465.3 kB / 0.8903 GB, free: 9.129 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006687/0.02235, allocations: 396.9 kB / 0.8907 GB, free: 8.715 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001725/0.02252, allocations: 131.4 kB / 0.8908 GB, free: 8.57 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 1.68e-05/0.02253, allocations: 3.984 kB / 0.8908 GB, free: 8.566 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.339e-05/0.02257, allocations: 12.5 kB / 0.8908 GB, free: 8.555 MB / 0.8542 GB Notification: Performance of SimCode: time 8.32e-07/0.02257, allocations: 0 / 0.8908 GB, free: 8.555 MB / 0.8542 GB Notification: Performance of Templates: time 0.007393/0.02996, allocations: 2.311 MB / 0.8931 GB, free: 6.262 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & ./Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.016762058949098]