Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater.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.001363/0.001363, allocations: 84.73 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.00147/0.00147, allocations: 161.7 kB / 22.76 MB, free: 1.68 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.475/1.475, allocations: 177.1 MB / 203.1 MB, free: 5.594 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.245/3.245, allocations: 429.6 MB / 0.673 GB, free: 3.879 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.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phi|X_a_phi|d|eta|Tf|cp|lambda|Pr",fileNamePrefix="Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater") translateModel(Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phi|X_a_phi|d|eta|Tf|cp|lambda|Pr",fileNamePrefix="Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 0.8776 GB, free: 6.52 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.673e-05/2.814e-05, allocations: 3.156 kB / 0.8776 GB, free: 6.516 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater): time 0.002698/0.002726, allocations: 1.324 MB / 0.8788 GB, free: 5.207 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002751/0.005477, allocations: 1.495 MB / 0.8803 GB, free: 3.73 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.843e-05/0.005506, allocations: 0 / 0.8803 GB, free: 3.73 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.198e-05/0.005528, allocations: 0 / 0.8803 GB, free: 3.73 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 9.117e-05/0.005619, allocations: 15.86 kB / 0.8803 GB, free: 3.715 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007975/0.006416, allocations: 216.8 kB / 0.8805 GB, free: 3.504 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 8.452e-05/0.006501, allocations: 45.39 kB / 0.8806 GB, free: 3.461 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.243e-05/0.006533, allocations: 0 / 0.8806 GB, free: 3.461 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 7.165e-05/0.006605, allocations: 35.89 kB / 0.8806 GB, free: 3.426 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.212e-05/0.006637, allocations: 8 kB / 0.8806 GB, free: 3.418 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.285e-05/0.00665, allocations: 4 kB / 0.8806 GB, free: 3.414 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005944/0.007244, allocations: 223.5 kB / 0.8808 GB, free: 3.195 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.197e-05/0.007256, allocations: 0 / 0.8808 GB, free: 3.195 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.718e-05/0.007293, allocations: 15.94 kB / 0.8808 GB, free: 3.18 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003726/0.007666, allocations: 187.5 kB / 0.881 GB, free: 2.996 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.796e-06/0.007669, allocations: 0 / 0.881 GB, free: 2.996 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.11e-07/0.00767, allocations: 0 / 0.881 GB, free: 2.996 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.466e-06/0.007673, allocations: 0 / 0.881 GB, free: 2.996 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004959/0.008169, allocations: 309.8 kB / 0.8813 GB, free: 2.664 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.008207, allocations: 8.031 kB / 0.8813 GB, free: 2.656 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.423e-05/0.008261, allocations: 12.89 kB / 0.8813 GB, free: 2.645 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001262/0.008387, allocations: 121.7 kB / 0.8815 GB, free: 2.5 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.0084, allocations: 384 / 0.8815 GB, free: 2.5 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.152e-05/0.008411, allocations: 4.375 kB / 0.8815 GB, free: 2.496 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001446/0.008556, allocations: 59.97 kB / 0.8815 GB, free: 2.426 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.008565, allocations: 192 / 0.8815 GB, free: 2.426 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.446e-05/0.008579, allocations: 8.375 kB / 0.8815 GB, free: 2.418 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.358e-06/0.008589, allocations: 7.922 kB / 0.8815 GB, free: 2.41 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.829e-05/0.008687, allocations: 43.89 kB / 0.8816 GB, free: 2.367 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001977/0.008885, allocations: 114.2 kB / 0.8817 GB, free: 2.223 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001286/0.009013, allocations: 65.11 kB / 0.8817 GB, free: 2.141 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.542e-05/0.009069, allocations: 33.77 kB / 0.8818 GB, free: 2.102 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009245/0.009993, allocations: 256 kB / 0.882 GB, free: 1.852 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.951e-05/0.01003, allocations: 34.56 kB / 0.8821 GB, free: 1.809 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=9): time 1.152e-06/0.01003, allocations: 0 / 0.8821 GB, free: 1.809 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9): time 0.0002761/0.01031, allocations: 93.56 kB / 0.8821 GB, free: 1.711 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.471e-05/0.01037, allocations: 89.17 kB / 0.8822 GB, free: 1.605 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.48e-05/0.01047, allocations: 101.8 kB / 0.8823 GB, free: 1.496 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.134e-05/0.01049, allocations: 25.7 kB / 0.8824 GB, free: 1.465 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.61e-05/0.01054, allocations: 80.14 kB / 0.8824 GB, free: 1.383 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.717e-05/0.01058, allocations: 31.73 kB / 0.8825 GB, free: 1.352 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.521e-05/0.01063, allocations: 21.72 kB / 0.8825 GB, free: 1.324 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001852/0.01081, allocations: 318.8 kB / 0.8828 GB, free: 1.004 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.272e-05/0.01085, allocations: 12 kB / 0.8828 GB, free: 0.9922 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.883e-05/0.0109, allocations: 33.58 kB / 0.8828 GB, free: 0.9531 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.358e-05/0.01099, allocations: 45.64 kB / 0.8829 GB, free: 0.9023 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.01099, allocations: 8 kB / 0.8829 GB, free: 0.8945 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001664/0.01116, allocations: 81.56 kB / 0.883 GB, free: 0.8086 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.01118, allocations: 8 kB / 0.883 GB, free: 0.8008 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.01118, allocations: 0 / 0.883 GB, free: 0.8008 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.045e-05/0.0112, allocations: 0 / 0.883 GB, free: 0.8008 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.087e-05/0.01129, allocations: 12 kB / 0.883 GB, free: 0.7891 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.0113, allocations: 7.922 kB / 0.883 GB, free: 0.7812 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.96e-05/0.01133, allocations: 8 kB / 0.883 GB, free: 0.7734 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.108e-05/0.01134, allocations: 4 kB / 0.883 GB, free: 0.7695 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 9 * 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 9.727e-05/0.01143, allocations: 113.8 kB / 0.8831 GB, free: 0.6484 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.378e-05/0.01146, allocations: 8 kB / 0.8831 GB, free: 0.6406 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002327/0.01169, allocations: 106 kB / 0.8832 GB, free: 0.5352 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.01169, allocations: 0 / 0.8832 GB, free: 0.5352 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.997e-06/0.0117, allocations: 3.938 kB / 0.8832 GB, free: 0.5312 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.01171, allocations: 4 kB / 0.8832 GB, free: 0.5273 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001334/0.01184, allocations: 117.2 kB / 0.8833 GB, free: 392 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.01184, allocations: 0 / 0.8833 GB, free: 392 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.907e-05/0.0119, allocations: 15.98 kB / 0.8833 GB, free: 376 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.0119, allocations: 0 / 0.8833 GB, free: 376 kB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.185e-05/0.01192, allocations: 4 kB / 0.8833 GB, free: 372 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.01192, allocations: 4.109 kB / 0.8834 GB, free: 368 kB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.01192, allocations: 3.984 kB / 0.8834 GB, free: 364 kB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001823/0.0121, allocations: 117.8 kB / 0.8835 GB, free: 224 kB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.106e-05/0.01213, allocations: 7.984 kB / 0.8835 GB, free: 216 kB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.79e-05/0.01215, allocations: 8 kB / 0.8835 GB, free: 208 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.152e-05/0.01217, allocations: 0 / 0.8835 GB, free: 208 kB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.73e-05/0.0122, allocations: 11.92 kB / 0.8835 GB, free: 196 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.039e-06/0.01221, allocations: 0 / 0.8835 GB, free: 196 kB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.08e-05/0.01226, allocations: 83.28 kB / 0.8836 GB, free: 112 kB / 0.8386 GB Notification: Performance of sort global known variables: time 7e-08/0.01226, allocations: 0 / 0.8836 GB, free: 112 kB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003388/0.0126, allocations: 79.67 kB / 0.8837 GB, free: 32 kB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 9 * 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.0004913/0.01309, allocations: 222.8 kB / 0.8839 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001307/0.01322, allocations: 35.92 kB / 0.8839 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.01322, allocations: 4 kB / 0.8839 GB, free: 15.76 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 4.092e-05/0.01326, allocations: 19.98 kB / 0.8839 GB, free: 15.74 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003183/0.01358, allocations: 20.11 kB / 0.8839 GB, free: 15.72 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004119/0.01399, allocations: 173.2 kB / 0.8841 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.599e-05/0.01406, allocations: 67.34 kB / 0.8842 GB, free: 15.44 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.479e-05/0.01411, allocations: 16.14 kB / 0.8842 GB, free: 15.42 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.951e-05/0.01415, allocations: 16.5 kB / 0.8842 GB, free: 15.41 MB / 0.8542 GB Notification: Performance of SimCode: time 3.81e-07/0.01415, allocations: 0 / 0.8842 GB, free: 15.41 MB / 0.8542 GB Notification: Performance of Templates: time 0.00595/0.0201, allocations: 2.014 MB / 0.8862 GB, free: 13.42 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater.pipe ; mkfifo Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater.pipe >> ../files/Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater.sim & ./Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Antifreeze_Functions_Validation_PropyleneGlycolWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater.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.334264248027466]