Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.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.002065/0.002065, allocations: 88.39 kB / 20.23 MB, free: 4.176 MB / 18.57 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.002679/0.002679, allocations: 161.3 kB / 23.54 MB, free: 0.8672 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.492/1.492, allocations: 177.1 MB / 203.9 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.977/2.977, allocations: 377.8 MB / 0.6232 GB, free: 8.555 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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.Media.Antifreeze.Validation.EthyleneGlycolWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|d.1.|d.2.|d.3.|d.4.|d.5.|d.6.|d.7.|cp.1.|cp.2.|cp.3.|cp.4.|cp.5.|cp.6.|cp.7.|lambda.1.|lambda.2.|lambda.3.|lambda.4.|lambda.5.|lambda.6.|lambda.7.|eta.1.|eta.2.|eta.3.|eta.4.|eta.5.|eta.6.|eta.7.",fileNamePrefix="Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater") translateModel(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|d.1.|d.2.|d.3.|d.4.|d.5.|d.6.|d.7.|cp.1.|cp.2.|cp.3.|cp.4.|cp.5.|cp.6.|cp.7.|lambda.1.|lambda.2.|lambda.3.|lambda.4.|lambda.5.|lambda.6.|lambda.7.|eta.1.|eta.2.|eta.3.|eta.4.|eta.5.|eta.6.|eta.7.",fileNamePrefix="Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 0.8108 GB, free: 2.152 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.631e-05/2.799e-05, allocations: 6.312 kB / 0.8108 GB, free: 2.145 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002861/0.002889, allocations: 1.399 MB / 0.8121 GB, free: 0.75 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.004674/0.007564, allocations: 2.751 MB / 0.8148 GB, free: 14 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.24e-05/0.007606, allocations: 1 kB / 0.8148 GB, free: 14 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001092/0.007715, allocations: 7.984 kB / 0.8148 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001329/0.007848, allocations: 40.28 kB / 0.8149 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007692/0.008618, allocations: 198.9 kB / 0.8151 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003346/0.008952, allocations: 239.5 kB / 0.8153 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 4.019e-05/0.008992, allocations: 4 kB / 0.8153 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001993/0.009192, allocations: 115.8 kB / 0.8154 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002085/0.0094, allocations: 127.7 kB / 0.8155 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 4.212e-05/0.009442, allocations: 12 kB / 0.8155 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004955/0.009938, allocations: 151.6 kB / 0.8157 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001396/0.01008, allocations: 92.33 kB / 0.8158 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001329/0.01021, allocations: 80.59 kB / 0.8159 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0005476/0.01076, allocations: 303.1 kB / 0.8161 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.01076, allocations: 0.5312 kB / 0.8161 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.062e-06/0.01076, allocations: 0 / 0.8161 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.01077, allocations: 1.656 kB / 0.8161 GB, free: 12.66 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.001029/0.0118, allocations: 466.1 kB / 0.8166 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.01184, allocations: 12.81 kB / 0.8166 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001918/0.01203, allocations: 36.72 kB / 0.8166 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002963/0.01233, allocations: 182 kB / 0.8168 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.213e-05/0.01238, allocations: 25.48 kB / 0.8168 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.648e-05/0.01241, allocations: 16.38 kB / 0.8168 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007395/0.01315, allocations: 279.7 kB / 0.8171 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.01317, allocations: 6.344 kB / 0.8171 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.832e-05/0.01319, allocations: 8.125 kB / 0.8171 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.0132, allocations: 4 kB / 0.8171 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001728/0.01493, allocations: 0.7257 MB / 0.8178 GB, free: 10.87 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003969/0.01532, allocations: 230.5 kB / 0.8181 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001879/0.0172, allocations: 0.6415 MB / 0.8187 GB, free: 9.965 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005761/0.01778, allocations: 212.8 kB / 0.8189 GB, free: 9.758 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003286/0.01811, allocations: 87.94 kB / 0.819 GB, free: 9.672 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.228e-05/0.01815, allocations: 35.5 kB / 0.819 GB, free: 9.629 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=37): time 2.034e-06/0.01815, allocations: 3.938 kB / 0.819 GB, free: 9.625 MB / 0.7761 GB Notification: Performance of matching and sorting (n=37): time 0.001965/0.02012, allocations: 0.6623 MB / 0.8197 GB, free: 8.961 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.048e-05/0.02018, allocations: 59.34 kB / 0.8197 GB, free: 8.891 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001528/0.02033, allocations: 126.1 kB / 0.8198 GB, free: 8.758 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 5.803e-05/0.02039, allocations: 30.42 kB / 0.8199 GB, free: 8.723 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.02049, allocations: 96.78 kB / 0.82 GB, free: 8.621 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.000193/0.02068, allocations: 125.5 kB / 0.8201 GB, free: 8.5 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000168/0.02085, allocations: 65.69 kB / 0.8201 GB, free: 8.43 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0004011/0.02125, allocations: 330.8 kB / 0.8205 GB, free: 8.098 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005588/0.02181, allocations: 189.4 kB / 0.8206 GB, free: 7.914 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005368/0.02235, allocations: 200.8 kB / 0.8208 GB, free: 7.719 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001006/0.02335, allocations: 370.8 kB / 0.8212 GB, free: 7.355 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.02336, allocations: 0 / 0.8212 GB, free: 7.355 MB / 0.7761 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001214/0.02457, allocations: 476.9 kB / 0.8216 GB, free: 6.883 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.321e-05/0.02459, allocations: 4 kB / 0.8216 GB, free: 6.879 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.0246, allocations: 0 / 0.8216 GB, free: 6.879 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.925e-05/0.02463, allocations: 8 kB / 0.8216 GB, free: 6.871 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004044/0.02503, allocations: 95.8 kB / 0.8217 GB, free: 6.777 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.239e-05/0.02505, allocations: 3.984 kB / 0.8217 GB, free: 6.773 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002107/0.02526, allocations: 43.86 kB / 0.8218 GB, free: 6.73 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.752e-05/0.0253, allocations: 15.98 kB / 0.8218 GB, free: 6.715 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (37): * Single equations (assignments): 37 * 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 prepare postOptimizeDAE: time 0.0001628/0.02546, allocations: 149.7 kB / 0.8219 GB, free: 6.559 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.517e-05/0.02553, allocations: 27.91 kB / 0.822 GB, free: 6.531 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001399/0.02693, allocations: 0.5237 MB / 0.8225 GB, free: 6.008 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.075e-05/0.02694, allocations: 4 kB / 0.8225 GB, free: 6.004 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.789e-06/0.02695, allocations: 3.938 kB / 0.8225 GB, free: 6 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.02696, allocations: 0 / 0.8225 GB, free: 6 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003906/0.02735, allocations: 237.1 kB / 0.8227 GB, free: 5.738 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.02735, allocations: 0 / 0.8227 GB, free: 5.738 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003789/0.02773, allocations: 95.84 kB / 0.8228 GB, free: 5.645 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.02774, allocations: 0 / 0.8228 GB, free: 5.645 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.055e-05/0.02777, allocations: 15.98 kB / 0.8228 GB, free: 5.629 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.087e-06/0.02778, allocations: 8 kB / 0.8228 GB, free: 5.621 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.02778, allocations: 0 / 0.8228 GB, free: 5.621 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001292/0.02907, allocations: 0.5003 MB / 0.8233 GB, free: 5.102 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.706e-05/0.02912, allocations: 27.78 kB / 0.8233 GB, free: 5.074 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.51e-05/0.02916, allocations: 4 kB / 0.8233 GB, free: 5.07 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001925/0.02935, allocations: 35.95 kB / 0.8234 GB, free: 5.035 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000279/0.02963, allocations: 119.7 kB / 0.8235 GB, free: 4.918 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.195e-05/0.02966, allocations: 19.98 kB / 0.8235 GB, free: 4.898 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 8.206e-05/0.02975, allocations: 95.27 kB / 0.8236 GB, free: 4.805 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1e-07/0.02975, allocations: 4 kB / 0.8236 GB, free: 4.801 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0004453/0.03019, allocations: 115.8 kB / 0.8237 GB, free: 4.688 MB / 0.7761 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 (37): * Single equations (assignments): 37 * 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.0004203/0.03061, allocations: 190.9 kB / 0.8239 GB, free: 4.488 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001247/0.03186, allocations: 467.3 kB / 0.8243 GB, free: 4.031 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.03186, allocations: 3.938 kB / 0.8244 GB, free: 4.027 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0006232/0.03248, allocations: 243.7 kB / 0.8246 GB, free: 3.789 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004626/0.03295, allocations: 95.77 kB / 0.8247 GB, free: 3.699 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008856/0.03383, allocations: 421.5 kB / 0.8251 GB, free: 3.262 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001332/0.03397, allocations: 118.6 kB / 0.8252 GB, free: 3.129 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.000482/0.03445, allocations: 187.8 kB / 0.8254 GB, free: 2.949 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001223/0.03457, allocations: 40.47 kB / 0.8254 GB, free: 2.91 MB / 0.7761 GB Notification: Performance of SimCode: time 8.52e-07/0.03457, allocations: 4 kB / 0.8254 GB, free: 2.906 MB / 0.7761 GB Notification: Performance of Templates: time 0.01179/0.04636, allocations: 5.527 MB / 0.8308 GB, free: 13.5 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; mkfifo Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe >> ../files/Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.sim & ./Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.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: 8.382577502983622]