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.001666/0.001666, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.002042/0.002042, allocations: 209.1 kB / 22.24 MB, free: 5.262 MB / 14.72 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.57/1.57, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.297/3.297, allocations: 0.4892 GB / 0.7943 GB, free: 35.52 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002241/0.002241, allocations: 75.64 kB / 1.154 GB, free: 25.4 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3991/0.4014, allocations: 176.1 MB / 1.326 GB, free: 1.832 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.006714/0.4081, allocations: 4.224 MB / 1.33 GB, free: 13.58 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003319/0.4114, allocations: 2.449 MB / 1.332 GB, free: 11.12 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.183e-05/0.4115, allocations: 3.938 kB / 1.332 GB, free: 11.12 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0003125/0.4118, allocations: 43.69 kB / 1.332 GB, free: 11.07 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003243/0.4121, allocations: 99.42 kB / 1.332 GB, free: 10.98 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.00138/0.4135, allocations: 0.5155 MB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002815/0.4138, allocations: 232 kB / 1.333 GB, free: 10.24 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.183e-05/0.4138, allocations: 9.75 kB / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001137/0.415, allocations: 486.6 kB / 1.333 GB, free: 9.754 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001425/0.4151, allocations: 95.64 kB / 1.334 GB, free: 9.66 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.296e-05/0.4151, allocations: 4 kB / 1.334 GB, free: 9.656 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001028/0.4162, allocations: 483.1 kB / 1.334 GB, free: 9.184 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.736e-05/0.4162, allocations: 39.77 kB / 1.334 GB, free: 9.145 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.307e-05/0.4163, allocations: 71.72 kB / 1.334 GB, free: 9.074 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005733/0.4169, allocations: 343 kB / 1.334 GB, free: 8.738 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.4169, allocations: 0 / 1.334 GB, free: 8.738 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.684e-06/0.4169, allocations: 0 / 1.334 GB, free: 8.738 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.4169, allocations: 0 / 1.334 GB, free: 8.738 MB / 1.029 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.000835/0.4177, allocations: 445.4 kB / 1.335 GB, free: 8.27 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.4178, allocations: 12.03 kB / 1.335 GB, free: 8.258 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001708/0.4179, allocations: 24.83 kB / 1.335 GB, free: 8.234 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000307/0.4183, allocations: 150.3 kB / 1.335 GB, free: 8.062 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.657e-05/0.4183, allocations: 20.7 kB / 1.335 GB, free: 8.043 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.802e-05/0.4183, allocations: 20.3 kB / 1.335 GB, free: 8.023 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000538/0.4188, allocations: 462.7 kB / 1.335 GB, free: 7.5 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.806e-05/0.4189, allocations: 0 / 1.335 GB, free: 7.5 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.958e-05/0.4189, allocations: 12 kB / 1.336 GB, free: 7.488 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.027e-05/0.4189, allocations: 11.92 kB / 1.336 GB, free: 7.477 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005452/0.4195, allocations: 424 kB / 1.336 GB, free: 7.062 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001123/0.4206, allocations: 0.829 MB / 1.337 GB, free: 6.184 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003698/0.421, allocations: 150.3 kB / 1.337 GB, free: 6.027 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001087/0.4211, allocations: 60.77 kB / 1.337 GB, free: 5.965 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007572/0.4218, allocations: 440 kB / 1.337 GB, free: 5.516 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.793e-05/0.4219, allocations: 38.56 kB / 1.337 GB, free: 5.469 MB / 1.029 GB Notification: Performance of pre-optimization done (n=15): time 1.483e-06/0.4219, allocations: 4 kB / 1.337 GB, free: 5.465 MB / 1.029 GB Notification: Performance of matching and sorting (n=15): time 0.0003503/0.4222, allocations: 143.8 kB / 1.338 GB, free: 5.32 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.125e-05/0.4223, allocations: 55.41 kB / 1.338 GB, free: 5.254 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001587/0.4224, allocations: 172 kB / 1.338 GB, free: 5.074 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.801e-05/0.4224, allocations: 29.7 kB / 1.338 GB, free: 5.039 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.824e-05/0.4225, allocations: 156 kB / 1.338 GB, free: 4.883 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.734e-05/0.4226, allocations: 55.53 kB / 1.338 GB, free: 4.828 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.471e-05/0.4227, allocations: 49.7 kB / 1.338 GB, free: 4.773 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001401/0.4228, allocations: 322.8 kB / 1.338 GB, free: 4.449 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.277e-05/0.4229, allocations: 31.98 kB / 1.338 GB, free: 4.418 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001632/0.423, allocations: 145.7 kB / 1.339 GB, free: 4.227 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002588/0.4233, allocations: 197.4 kB / 1.339 GB, free: 3.984 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.4233, allocations: 0 / 1.339 GB, free: 3.984 MB / 1.029 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003499/0.4237, allocations: 215.7 kB / 1.339 GB, free: 3.77 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.4237, allocations: 4 kB / 1.339 GB, free: 3.766 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/0.4237, allocations: 7.984 kB / 1.339 GB, free: 3.758 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.775e-05/0.4237, allocations: 7.984 kB / 1.339 GB, free: 3.75 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001972/0.4239, allocations: 55.92 kB / 1.339 GB, free: 3.695 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.035e-05/0.4239, allocations: 15.86 kB / 1.339 GB, free: 3.68 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001192/0.424, allocations: 27.78 kB / 1.339 GB, free: 3.652 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.073e-05/0.4241, allocations: 16 kB / 1.339 GB, free: 3.637 MB / 1.029 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.000145/0.4242, allocations: 129.7 kB / 1.339 GB, free: 3.5 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.172e-05/0.4243, allocations: 20 kB / 1.339 GB, free: 3.48 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003688/0.4246, allocations: 150.3 kB / 1.339 GB, free: 3.332 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.455e-05/0.4247, allocations: 4 kB / 1.339 GB, free: 3.328 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.094e-05/0.4247, allocations: 7.922 kB / 1.339 GB, free: 3.32 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.4247, allocations: 0 / 1.339 GB, free: 3.32 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002515/0.4249, allocations: 153.1 kB / 1.339 GB, free: 3.141 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.4249, allocations: 0 / 1.339 GB, free: 3.141 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001231/0.425, allocations: 31.92 kB / 1.34 GB, free: 3.109 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.48e-06/0.4251, allocations: 4 kB / 1.34 GB, free: 3.105 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.433e-05/0.4251, allocations: 4 kB / 1.34 GB, free: 3.102 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.4251, allocations: 0 / 1.34 GB, free: 3.102 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.4251, allocations: 8 kB / 1.34 GB, free: 3.094 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003094/0.4254, allocations: 225.9 kB / 1.34 GB, free: 2.859 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.41e-05/0.4255, allocations: 27.88 kB / 1.34 GB, free: 2.832 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.787e-05/0.4255, allocations: 4 kB / 1.34 GB, free: 2.828 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002052/0.4257, allocations: 11.98 kB / 1.34 GB, free: 2.816 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.157e-05/0.4257, allocations: 11.98 kB / 1.34 GB, free: 2.805 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.704e-05/0.4257, allocations: 19.88 kB / 1.34 GB, free: 2.785 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001019/0.4259, allocations: 117.5 kB / 1.34 GB, free: 2.672 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.4259, allocations: 0 / 1.34 GB, free: 2.672 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004304/0.4263, allocations: 83.8 kB / 1.34 GB, free: 2.59 MB / 1.029 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.0003675/0.4266, allocations: 179 kB / 1.34 GB, free: 2.402 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002817/0.4269, allocations: 116.6 kB / 1.34 GB, free: 2.289 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.4269, allocations: 0 / 1.34 GB, free: 2.289 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 7.548e-05/0.427, allocations: 39.86 kB / 1.34 GB, free: 2.25 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000412/0.4274, allocations: 51.95 kB / 1.34 GB, free: 2.199 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008123/0.4282, allocations: 344.1 kB / 1.341 GB, free: 1.832 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001189/0.4284, allocations: 102.9 kB / 1.341 GB, free: 1.715 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001581/0.4285, allocations: 41.28 kB / 1.341 GB, free: 1.676 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.756e-05/0.4286, allocations: 19.44 kB / 1.341 GB, free: 1.656 MB / 1.029 GB Notification: Performance of SimCode: time 4.01e-07/0.4286, allocations: 0 / 1.341 GB, free: 1.656 MB / 1.029 GB Notification: Performance of Templates: time 0.007682/0.4362, allocations: 3.236 MB / 1.344 GB, free: 14.48 MB / 1.045 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: 9.676298839971423]