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.002663/0.002663, allocations: 85.48 kB / 19.44 MB, free: 344 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.00345/0.00345, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.563/1.563, allocations: 177.1 MB / 203.1 MB, free: 5.621 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.403/3.403, allocations: 429.5 MB / 0.6729 GB, free: 4.012 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.633e-06/1.633e-06, allocations: 0 / 0.8774 GB, free: 6.684 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.167e-05/3.33e-05, allocations: 2.312 kB / 0.8774 GB, free: 6.68 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater): time 0.002514/0.002547, allocations: 1.326 MB / 0.8787 GB, free: 5.367 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002912/0.005459, allocations: 1.62 MB / 0.8803 GB, free: 3.762 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.474e-05/0.005484, allocations: 0 / 0.8803 GB, free: 3.762 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 1.945e-05/0.005504, allocations: 3.938 kB / 0.8803 GB, free: 3.758 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001019/0.005605, allocations: 11.91 kB / 0.8803 GB, free: 3.746 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.000725/0.00633, allocations: 214.9 kB / 0.8805 GB, free: 3.535 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 9.16e-05/0.006422, allocations: 51.78 kB / 0.8806 GB, free: 3.484 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.058e-05/0.006463, allocations: 4 kB / 0.8806 GB, free: 3.48 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 6.347e-05/0.006526, allocations: 27.86 kB / 0.8806 GB, free: 3.453 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.637e-05/0.006572, allocations: 7.984 kB / 0.8806 GB, free: 3.445 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.981e-05/0.006592, allocations: 7.984 kB / 0.8806 GB, free: 3.438 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005742/0.007166, allocations: 215.5 kB / 0.8808 GB, free: 3.227 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.958e-05/0.007186, allocations: 11.92 kB / 0.8808 GB, free: 3.215 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.813e-05/0.007214, allocations: 11.98 kB / 0.8808 GB, free: 3.203 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003743/0.007588, allocations: 183.5 kB / 0.881 GB, free: 3.023 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/0.007594, allocations: 4 kB / 0.881 GB, free: 3.02 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.92e-07/0.007595, allocations: 4 kB / 0.881 GB, free: 3.016 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.993e-06/0.007602, allocations: 4 kB / 0.881 GB, free: 3.012 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.0005171/0.008119, allocations: 403.8 kB / 0.8814 GB, free: 2.582 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.008156, allocations: 8.031 kB / 0.8814 GB, free: 2.574 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.347e-05/0.008209, allocations: 8.891 kB / 0.8814 GB, free: 2.566 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001287/0.008338, allocations: 116.6 kB / 0.8815 GB, free: 2.426 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.00835, allocations: 384 / 0.8815 GB, free: 2.426 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.16e-05/0.008362, allocations: 8.359 kB / 0.8816 GB, free: 2.418 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000166/0.008528, allocations: 77.5 kB / 0.8816 GB, free: 2.328 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.008536, allocations: 192 / 0.8816 GB, free: 2.328 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.008546, allocations: 384 / 0.8816 GB, free: 2.328 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.008553, allocations: 7.938 kB / 0.8816 GB, free: 2.32 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.953e-05/0.008652, allocations: 47.94 kB / 0.8817 GB, free: 2.273 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002001/0.008852, allocations: 128.3 kB / 0.8818 GB, free: 2.109 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001497/0.009002, allocations: 86.08 kB / 0.8819 GB, free: 2 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.188e-05/0.009064, allocations: 39.36 kB / 0.8819 GB, free: 1.953 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008925/0.009956, allocations: 247.8 kB / 0.8822 GB, free: 1.711 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.316e-05/0.01001, allocations: 37.39 kB / 0.8822 GB, free: 1.664 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=9): time 1.182e-06/0.01001, allocations: 0 / 0.8822 GB, free: 1.664 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9): time 0.0002956/0.01031, allocations: 93.8 kB / 0.8823 GB, free: 1.566 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.633e-05/0.0104, allocations: 84.98 kB / 0.8824 GB, free: 1.465 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001597/0.01056, allocations: 157.9 kB / 0.8825 GB, free: 1.293 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.945e-05/0.01059, allocations: 25.7 kB / 0.8825 GB, free: 1.262 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.561e-05/0.01068, allocations: 134.9 kB / 0.8827 GB, free: 1.125 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 5.912e-05/0.01074, allocations: 31.73 kB / 0.8827 GB, free: 1.094 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.361e-05/0.01079, allocations: 23.38 kB / 0.8827 GB, free: 1.062 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0003212/0.01111, allocations: 0.4963 MB / 0.8832 GB, free: 0.5547 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.321e-05/0.01114, allocations: 8 kB / 0.8832 GB, free: 0.5469 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.223e-05/0.0112, allocations: 31.36 kB / 0.8832 GB, free: 0.5078 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001032/0.0113, allocations: 59.61 kB / 0.8833 GB, free: 452 kB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.0113, allocations: 0 / 0.8833 GB, free: 452 kB / 0.8386 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000159/0.01146, allocations: 77.62 kB / 0.8834 GB, free: 368 kB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.01148, allocations: 4 kB / 0.8834 GB, free: 364 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.01148, allocations: 0 / 0.8834 GB, free: 364 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.052e-05/0.0115, allocations: 4 kB / 0.8834 GB, free: 360 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.984e-05/0.01159, allocations: 15.97 kB / 0.8834 GB, free: 344 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048e-05/0.0116, allocations: 7.938 kB / 0.8834 GB, free: 336 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.573e-05/0.01163, allocations: 4 kB / 0.8834 GB, free: 332 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.26e-05/0.01164, allocations: 7.984 kB / 0.8834 GB, free: 324 kB / 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 0.0001465/0.01179, allocations: 160.6 kB / 0.8836 GB, free: 152 kB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.82e-05/0.01181, allocations: 4 kB / 0.8836 GB, free: 148 kB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002426/0.01205, allocations: 101.8 kB / 0.8837 GB, free: 44 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.054e-05/0.01206, allocations: 7.984 kB / 0.8837 GB, free: 36 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.109e-05/0.01207, allocations: 7.922 kB / 0.8837 GB, free: 28 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.01208, allocations: 0 / 0.8837 GB, free: 28 kB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001765/0.01225, allocations: 124.6 kB / 0.8838 GB, free: 15.87 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/0.01226, allocations: 4 kB / 0.8838 GB, free: 15.87 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.647e-05/0.01231, allocations: 19.98 kB / 0.8838 GB, free: 15.85 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.01232, allocations: 0 / 0.8838 GB, free: 15.85 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.01233, allocations: 0 / 0.8838 GB, free: 15.85 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.01233, allocations: 0 / 0.8838 GB, free: 15.85 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.01233, allocations: 11.88 kB / 0.8838 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001941/0.01252, allocations: 124 kB / 0.884 GB, free: 15.69 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.095e-05/0.01256, allocations: 15.92 kB / 0.884 GB, free: 15.67 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.565e-05/0.01257, allocations: 4 kB / 0.884 GB, free: 15.67 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.222e-05/0.01259, allocations: 4 kB / 0.884 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.421e-05/0.01263, allocations: 15.92 kB / 0.884 GB, free: 15.65 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.428e-06/0.01263, allocations: 0 / 0.884 GB, free: 15.65 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 7.385e-05/0.01271, allocations: 123.2 kB / 0.8841 GB, free: 15.53 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.01271, allocations: 0 / 0.8841 GB, free: 15.53 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000307/0.01301, allocations: 79.67 kB / 0.8842 GB, free: 15.45 MB / 0.8542 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.0004624/0.01348, allocations: 214.9 kB / 0.8844 GB, free: 15.23 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001522/0.01363, allocations: 51.61 kB / 0.8844 GB, free: 15.17 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.01363, allocations: 0 / 0.8844 GB, free: 15.17 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 5.738e-05/0.01369, allocations: 35.61 kB / 0.8845 GB, free: 15.13 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002309/0.01392, allocations: 19.45 kB / 0.8845 GB, free: 15.12 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004172/0.01434, allocations: 185.6 kB / 0.8847 GB, free: 14.9 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.807e-05/0.0144, allocations: 63.47 kB / 0.8847 GB, free: 14.82 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.18e-05/0.01445, allocations: 15.98 kB / 0.8847 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.85e-05/0.01447, allocations: 12.5 kB / 0.8848 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of SimCode: time 3.91e-07/0.01447, allocations: 0 / 0.8848 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of Templates: time 0.006211/0.02069, allocations: 2.018 MB / 0.8867 GB, free: 12.8 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater.pipe 2>&1) [Timeout 240] 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.636048477957956]