Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.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.0008036/0.0008036, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0007663/0.0007663, allocations: 177.9 kB / 23.21 MB, free: 1.348 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 0.8896/0.8896, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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 1.779/1.779, allocations: 389 MB / 0.6338 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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.Examples.PropyleneGlycolWaterProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|p|X.1.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.1.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|p|X.1.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.1.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 0 / 1.001 GB, free: 12.99 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.751e-05/2.96e-05, allocations: 6.281 kB / 1.001 GB, free: 12.98 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.0063/0.006329, allocations: 4.272 MB / 1.005 GB, free: 8.68 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.002825/0.009154, allocations: 2.457 MB / 1.007 GB, free: 6.215 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.661e-05/0.009231, allocations: 0 / 1.007 GB, free: 6.215 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0003245/0.009556, allocations: 51.67 kB / 1.008 GB, free: 6.164 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0003164/0.009872, allocations: 99.25 kB / 1.008 GB, free: 6.066 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.001187/0.01106, allocations: 0.519 MB / 1.008 GB, free: 5.547 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0002634/0.01132, allocations: 243.8 kB / 1.008 GB, free: 5.309 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.876e-05/0.01137, allocations: 13.8 kB / 1.008 GB, free: 5.297 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001063/0.01243, allocations: 0.5021 MB / 1.009 GB, free: 4.797 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001224/0.01256, allocations: 79.77 kB / 1.009 GB, free: 4.719 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.706e-05/0.01258, allocations: 4 kB / 1.009 GB, free: 4.715 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000934/0.01352, allocations: 498.7 kB / 1.009 GB, free: 4.227 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 7.731e-05/0.01359, allocations: 39.88 kB / 1.009 GB, free: 4.188 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 7.271e-05/0.01367, allocations: 67.83 kB / 1.01 GB, free: 4.121 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0005511/0.01422, allocations: 362.9 kB / 1.01 GB, free: 3.766 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.01422, allocations: 4 kB / 1.01 GB, free: 3.762 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.673e-06/0.01423, allocations: 0 / 1.01 GB, free: 3.762 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.01423, allocations: 0 / 1.01 GB, free: 3.762 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007449/0.01498, allocations: 437.4 kB / 1.01 GB, free: 3.301 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.01501, allocations: 12.75 kB / 1.01 GB, free: 3.289 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001521/0.01517, allocations: 20.84 kB / 1.01 GB, free: 3.27 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002799/0.01545, allocations: 161.5 kB / 1.01 GB, free: 3.086 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.954e-05/0.01547, allocations: 16.7 kB / 1.01 GB, free: 3.07 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.227e-05/0.01549, allocations: 16.38 kB / 1.011 GB, free: 3.055 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004614/0.01595, allocations: 463.1 kB / 1.011 GB, free: 2.531 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.01596, allocations: 4.125 kB / 1.011 GB, free: 2.527 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.907e-05/0.01599, allocations: 12.12 kB / 1.011 GB, free: 2.516 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.929e-05/0.01602, allocations: 4 kB / 1.011 GB, free: 2.512 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004867/0.01651, allocations: 419.5 kB / 1.011 GB, free: 2.102 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001005/0.01751, allocations: 0.8328 MB / 1.012 GB, free: 1.219 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003398/0.01785, allocations: 151.5 kB / 1.012 GB, free: 1.062 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.848e-05/0.01795, allocations: 52.88 kB / 1.012 GB, free: 1.008 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006623/0.01861, allocations: 447.9 kB / 1.013 GB, free: 0.5508 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.742e-05/0.01864, allocations: 42.48 kB / 1.013 GB, free: 0.5 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=15): time 1.703e-06/0.01864, allocations: 0 / 1.013 GB, free: 0.5 MB / 0.9636 GB Notification: Performance of matching and sorting (n=15): time 0.0003513/0.01899, allocations: 147.9 kB / 1.013 GB, free: 360 kB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.4e-05/0.01903, allocations: 51.41 kB / 1.013 GB, free: 296 kB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001365/0.01916, allocations: 160.9 kB / 1.013 GB, free: 124 kB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.164e-05/0.01919, allocations: 29.7 kB / 1.013 GB, free: 88 kB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 9.764e-05/0.01928, allocations: 148.1 kB / 1.013 GB, free: 15.93 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 4.164e-05/0.01933, allocations: 59.48 kB / 1.013 GB, free: 15.88 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.382e-05/0.0194, allocations: 49.7 kB / 1.013 GB, free: 15.82 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001023/0.0195, allocations: 330.8 kB / 1.014 GB, free: 15.49 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.489e-05/0.01958, allocations: 31.98 kB / 1.014 GB, free: 15.46 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001356/0.01971, allocations: 141.6 kB / 1.014 GB, free: 15.27 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002308/0.01994, allocations: 189.5 kB / 1.014 GB, free: 15.04 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.01995, allocations: 0 / 1.014 GB, free: 15.04 MB / 0.9792 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006086/0.02056, allocations: 227.8 kB / 1.014 GB, free: 14.81 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.02057, allocations: 4 kB / 1.014 GB, free: 14.8 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.02058, allocations: 4 kB / 1.014 GB, free: 14.8 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.965e-05/0.0206, allocations: 8.469 kB / 1.014 GB, free: 14.79 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001891/0.02079, allocations: 59.92 kB / 1.014 GB, free: 14.73 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/0.0208, allocations: 7.984 kB / 1.014 GB, free: 14.73 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001032/0.02091, allocations: 23.84 kB / 1.014 GB, free: 14.7 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.351e-05/0.02093, allocations: 16 kB / 1.014 GB, free: 14.69 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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.0001045/0.02103, allocations: 137.6 kB / 1.015 GB, free: 14.55 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.551e-05/0.02108, allocations: 11.95 kB / 1.015 GB, free: 14.54 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003155/0.02139, allocations: 154.3 kB / 1.015 GB, free: 14.38 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.456e-05/0.02141, allocations: 7.984 kB / 1.015 GB, free: 14.37 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.02141, allocations: 0 / 1.015 GB, free: 14.37 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.02142, allocations: 0 / 1.015 GB, free: 14.37 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002042/0.02162, allocations: 161.2 kB / 1.015 GB, free: 14.18 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.02163, allocations: 4 kB / 1.015 GB, free: 14.18 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001083/0.02173, allocations: 31.98 kB / 1.015 GB, free: 14.15 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.02174, allocations: 0 / 1.015 GB, free: 14.15 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.879e-06/0.02175, allocations: 0 / 1.015 GB, free: 14.15 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.02175, allocations: 0 / 1.015 GB, free: 14.15 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.02175, allocations: 4 kB / 1.015 GB, free: 14.14 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000258/0.02201, allocations: 227.2 kB / 1.015 GB, free: 13.91 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 6.581e-05/0.02207, allocations: 31.81 kB / 1.015 GB, free: 13.88 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.97e-05/0.02209, allocations: 0 / 1.015 GB, free: 13.88 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001874/0.02228, allocations: 19.98 kB / 1.015 GB, free: 13.86 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.522e-05/0.02231, allocations: 7.984 kB / 1.015 GB, free: 13.85 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.205e-05/0.02233, allocations: 15.98 kB / 1.015 GB, free: 13.83 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 7.367e-05/0.0224, allocations: 105.5 kB / 1.015 GB, free: 13.73 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1e-07/0.0224, allocations: 7.938 kB / 1.015 GB, free: 13.72 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0004212/0.02282, allocations: 75.86 kB / 1.015 GB, free: 13.65 MB / 0.9792 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0003311/0.02316, allocations: 191 kB / 1.016 GB, free: 13.45 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0003222/0.02348, allocations: 118.1 kB / 1.016 GB, free: 13.34 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.02348, allocations: 4 kB / 1.016 GB, free: 13.34 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 4.112e-05/0.02352, allocations: 39.92 kB / 1.016 GB, free: 13.3 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003221/0.02384, allocations: 40.78 kB / 1.016 GB, free: 13.26 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005638/0.02441, allocations: 340 kB / 1.016 GB, free: 12.89 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.817e-05/0.02448, allocations: 102.9 kB / 1.016 GB, free: 12.77 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.323e-05/0.02452, allocations: 28.5 kB / 1.016 GB, free: 12.74 MB / 0.9792 GB Notification: Performance of SimCode: time 1.022e-06/0.02452, allocations: 0 / 1.016 GB, free: 12.74 MB / 0.9792 GB Notification: Performance of Templates: time 0.003385/0.02791, allocations: 3.141 MB / 1.019 GB, free: 9.613 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.sim & ./Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_PropyleneGlycolWaterProperties.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.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: 6.831571665592492]