Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001485/0.001485, allocations: 80.41 kB / 20.23 MB, free: 4.203 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.001603/0.001603, allocations: 161.7 kB / 23.55 MB, free: 0.8906 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.509/1.509, allocations: 177.1 MB / 203.9 MB, free: 5.605 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 3.015/3.015, allocations: 377.8 MB / 0.6232 GB, free: 8.527 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.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_12_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_12_Buildings.Media.Examples.PropyleneGlycolWaterProperties") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 0.8108 GB, free: 2.094 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.715e-05/2.886e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.09 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.007678/0.007707, allocations: 4.234 MB / 0.815 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.003807/0.01151, allocations: 2.449 MB / 0.8173 GB, free: 11.42 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001107/0.01162, allocations: 2.125 kB / 0.8174 GB, free: 11.42 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0003436/0.01197, allocations: 47.67 kB / 0.8174 GB, free: 11.37 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0003685/0.01234, allocations: 93.53 kB / 0.8175 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.001758/0.01409, allocations: 0.522 MB / 0.818 GB, free: 10.76 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003944/0.01449, allocations: 248.4 kB / 0.8182 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 4.211e-05/0.01453, allocations: 9.219 kB / 0.8182 GB, free: 10.51 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001291/0.01582, allocations: 0.5128 MB / 0.8187 GB, free: 10 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001645/0.01599, allocations: 76.27 kB / 0.8188 GB, free: 9.93 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.239e-05/0.01602, allocations: 9.344 kB / 0.8188 GB, free: 9.922 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001123/0.01714, allocations: 496 kB / 0.8193 GB, free: 9.441 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 8.519e-05/0.01723, allocations: 43.88 kB / 0.8193 GB, free: 9.398 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 9.956e-05/0.01733, allocations: 59.84 kB / 0.8194 GB, free: 9.34 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0007729/0.0181, allocations: 362.9 kB / 0.8197 GB, free: 8.984 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.0181, allocations: 3.938 kB / 0.8197 GB, free: 8.98 MB / 0.7761 GB Notification: Performance of FrontEnd: time 8.42e-07/0.0181, allocations: 4 kB / 0.8197 GB, free: 8.977 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.522e-06/0.01811, allocations: 0 / 0.8197 GB, free: 8.977 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0009777/0.01909, allocations: 449.4 kB / 0.8202 GB, free: 8.504 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.114e-05/0.01914, allocations: 8.031 kB / 0.8202 GB, free: 8.496 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00029/0.01943, allocations: 40.72 kB / 0.8202 GB, free: 8.457 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004234/0.01985, allocations: 153.6 kB / 0.8204 GB, free: 8.281 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.491e-05/0.01988, allocations: 8.703 kB / 0.8204 GB, free: 8.273 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.515e-05/0.01992, allocations: 24.38 kB / 0.8204 GB, free: 8.25 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006929/0.02062, allocations: 467 kB / 0.8208 GB, free: 7.723 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.02063, allocations: 4.188 kB / 0.8209 GB, free: 7.719 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.357e-05/0.02067, allocations: 16.12 kB / 0.8209 GB, free: 7.703 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.345e-05/0.02071, allocations: 8 kB / 0.8209 GB, free: 7.695 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006188/0.02132, allocations: 416.3 kB / 0.8213 GB, free: 7.289 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001302/0.02263, allocations: 0.8328 MB / 0.8221 GB, free: 6.406 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003828/0.02301, allocations: 143.5 kB / 0.8222 GB, free: 6.258 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001197/0.02313, allocations: 56.88 kB / 0.8223 GB, free: 6.199 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009004/0.02403, allocations: 459.8 kB / 0.8227 GB, free: 5.73 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.555e-05/0.02406, allocations: 34.56 kB / 0.8227 GB, free: 5.688 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=15): time 3.777e-06/0.02407, allocations: 3.984 kB / 0.8228 GB, free: 5.684 MB / 0.7761 GB Notification: Performance of matching and sorting (n=15): time 0.0004172/0.02449, allocations: 157.4 kB / 0.8229 GB, free: 5.523 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.769e-05/0.02453, allocations: 51.41 kB / 0.823 GB, free: 5.461 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001962/0.02473, allocations: 161.1 kB / 0.8231 GB, free: 5.293 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.843e-05/0.02477, allocations: 25.7 kB / 0.8231 GB, free: 5.262 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001196/0.02489, allocations: 140.1 kB / 0.8233 GB, free: 5.121 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 5.843e-05/0.02495, allocations: 63.42 kB / 0.8233 GB, free: 5.059 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.233e-05/0.02504, allocations: 53.7 kB / 0.8234 GB, free: 5 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001941/0.02523, allocations: 330.8 kB / 0.8237 GB, free: 4.668 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.699e-05/0.02532, allocations: 35.97 kB / 0.8237 GB, free: 4.633 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001789/0.0255, allocations: 133.7 kB / 0.8239 GB, free: 4.453 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003134/0.02581, allocations: 198.5 kB / 0.824 GB, free: 4.211 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.02581, allocations: 0 / 0.824 GB, free: 4.211 MB / 0.7761 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004219/0.02624, allocations: 235.5 kB / 0.8243 GB, free: 3.977 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/0.02626, allocations: 8 kB / 0.8243 GB, free: 3.969 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/0.02627, allocations: 4 kB / 0.8243 GB, free: 3.965 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.527e-05/0.02629, allocations: 4 kB / 0.8243 GB, free: 3.961 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002089/0.0265, allocations: 59.91 kB / 0.8243 GB, free: 3.902 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.581e-05/0.02653, allocations: 12 kB / 0.8243 GB, free: 3.891 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001223/0.02665, allocations: 28.25 kB / 0.8244 GB, free: 3.863 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.168e-05/0.02667, allocations: 12 kB / 0.8244 GB, free: 3.852 MB / 0.7761 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.0001451/0.02682, allocations: 137.7 kB / 0.8245 GB, free: 3.707 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.005e-05/0.02688, allocations: 15.91 kB / 0.8245 GB, free: 3.691 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006587/0.02754, allocations: 162.1 kB / 0.8247 GB, free: 3.523 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.608e-06/0.02755, allocations: 0 / 0.8247 GB, free: 3.523 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.02755, allocations: 0 / 0.8247 GB, free: 3.523 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.02755, allocations: 0 / 0.8247 GB, free: 3.523 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002633/0.02782, allocations: 161.1 kB / 0.8248 GB, free: 3.336 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.02782, allocations: 0 / 0.8248 GB, free: 3.336 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001233/0.02794, allocations: 31.98 kB / 0.8249 GB, free: 3.305 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.02795, allocations: 4 kB / 0.8249 GB, free: 3.301 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.961e-05/0.02796, allocations: 8 kB / 0.8249 GB, free: 3.293 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.532e-06/0.02797, allocations: 0 / 0.8249 GB, free: 3.293 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/0.02797, allocations: 3.984 kB / 0.8249 GB, free: 3.289 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003205/0.02829, allocations: 221.9 kB / 0.8251 GB, free: 3.059 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.926e-05/0.02837, allocations: 31.81 kB / 0.8251 GB, free: 3.027 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.353e-05/0.02839, allocations: 0 / 0.8251 GB, free: 3.027 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002218/0.02862, allocations: 15.98 kB / 0.8251 GB, free: 3.012 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.067e-05/0.02865, allocations: 7.984 kB / 0.8252 GB, free: 3.004 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.591e-05/0.02867, allocations: 15.98 kB / 0.8252 GB, free: 2.988 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001063/0.02878, allocations: 111.2 kB / 0.8253 GB, free: 2.879 MB / 0.7761 GB Notification: Performance of sort global known variables: time 9e-08/0.02878, allocations: 4 kB / 0.8253 GB, free: 2.875 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0004394/0.02922, allocations: 75.81 kB / 0.8253 GB, free: 2.801 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 (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.0004304/0.02965, allocations: 194.9 kB / 0.8255 GB, free: 2.602 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002798/0.02993, allocations: 112.5 kB / 0.8256 GB, free: 2.492 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.02993, allocations: 0 / 0.8256 GB, free: 2.492 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 8.023e-05/0.03001, allocations: 39.92 kB / 0.8257 GB, free: 2.453 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000423/0.03043, allocations: 49.78 kB / 0.8257 GB, free: 2.406 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007495/0.03118, allocations: 321.7 kB / 0.826 GB, free: 2.066 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001185/0.0313, allocations: 98.92 kB / 0.8261 GB, free: 1.953 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001683/0.03147, allocations: 49.22 kB / 0.8262 GB, free: 1.906 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.01e-05/0.03153, allocations: 24.5 kB / 0.8262 GB, free: 1.883 MB / 0.7761 GB Notification: Performance of SimCode: time 9.62e-07/0.03153, allocations: 0 / 0.8262 GB, free: 1.883 MB / 0.7761 GB Notification: Performance of Templates: time 0.007953/0.03948, allocations: 3.067 MB / 0.8292 GB, free: 14.89 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterProperties.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterProperties.sim & ./Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterProperties -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_PropyleneGlycolWaterProperties.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.126560393953696]