Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001626/0.001627, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001913/0.001913, allocations: 194.6 kB / 16.25 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.458/1.458, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.535/2.535, allocations: 390.2 MB / 0.6644 GB, free: 0.5547 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001453/0.001453, allocations: 63.91 kB / 0.812 GB, free: 14.78 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7776/0.7791, allocations: 140.4 MB / 0.9491 GB, free: 9.156 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002506/0.7816, allocations: 1.328 MB / 0.9504 GB, free: 8.098 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003197/0.7848, allocations: 2.917 MB / 0.9532 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.456e-05/0.7849, allocations: 0 / 0.9532 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.278e-05/0.7849, allocations: 0 / 0.9532 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.671e-05/0.785, allocations: 7.922 kB / 0.9532 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004435/0.7855, allocations: 84.62 kB / 0.9533 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.275e-05/0.7855, allocations: 42.77 kB / 0.9534 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.664e-05/0.7856, allocations: 1.906 kB / 0.9534 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004333/0.786, allocations: 150.6 kB / 0.9535 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.995e-05/0.7861, allocations: 22.47 kB / 0.9535 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.143e-05/0.7861, allocations: 2.125 kB / 0.9535 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001506/0.7862, allocations: 68.53 kB / 0.9536 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.475e-05/0.7863, allocations: 9.953 kB / 0.9536 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.531e-05/0.7863, allocations: 11.72 kB / 0.9536 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001505/0.7864, allocations: 65.91 kB / 0.9537 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.7865, allocations: 0 / 0.9537 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.492e-06/0.7865, allocations: 1.219 kB / 0.9537 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.029e-06/0.7865, allocations: 0 / 0.9537 GB, free: 5.465 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003336/0.7868, allocations: 351.8 kB / 0.954 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.7869, allocations: 9.781 kB / 0.954 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.353e-05/0.7869, allocations: 7.656 kB / 0.954 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.086e-05/0.787, allocations: 165.7 kB / 0.9542 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.787, allocations: 1.406 kB / 0.9542 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.701e-05/0.787, allocations: 7.875 kB / 0.9542 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000123/0.7871, allocations: 54.86 kB / 0.9542 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.7872, allocations: 0 / 0.9542 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.7872, allocations: 9.062 kB / 0.9542 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.7872, allocations: 0 / 0.9542 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.827e-05/0.7872, allocations: 14.64 kB / 0.9543 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001314/0.7874, allocations: 169.4 kB / 0.9544 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 8.322e-05/0.7875, allocations: 56.25 kB / 0.9545 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.98e-05/0.7875, allocations: 19.59 kB / 0.9545 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005509/0.7881, allocations: 0.5985 MB / 0.9551 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.598e-05/0.7881, allocations: 35.84 kB / 0.9551 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.7881, allocations: 0 / 0.9551 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0005086/0.7886, allocations: 295.8 kB / 0.9554 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.464e-05/0.7886, allocations: 56.44 kB / 0.9555 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.764e-05/0.7887, allocations: 106.4 kB / 0.9556 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.009e-05/0.7887, allocations: 26.8 kB / 0.9556 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.437e-05/0.7887, allocations: 89.05 kB / 0.9557 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.682e-05/0.7888, allocations: 35.11 kB / 0.9557 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.389e-05/0.7888, allocations: 24.59 kB / 0.9557 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.893e-05/0.7889, allocations: 320.4 kB / 0.956 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.565e-05/0.7889, allocations: 11.84 kB / 0.956 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.253e-05/0.7889, allocations: 61.55 kB / 0.9561 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.957e-05/0.789, allocations: 70.23 kB / 0.9562 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.789, allocations: 1.125 kB / 0.9562 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001162/0.7891, allocations: 89.53 kB / 0.9563 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.7892, allocations: 10.27 kB / 0.9563 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.7892, allocations: 1.031 kB / 0.9563 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.7892, allocations: 2.219 kB / 0.9563 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.586e-05/0.7893, allocations: 20.47 kB / 0.9563 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.7893, allocations: 2.719 kB / 0.9563 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.8e-05/0.7893, allocations: 9.219 kB / 0.9563 GB, free: 2.68 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-06/0.7893, allocations: 4.125 kB / 0.9563 GB, free: 2.68 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (12): * Single equations (assignments): 12 * 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 5.267e-05/0.7894, allocations: 130 kB / 0.9564 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.736e-05/0.7894, allocations: 5.344 kB / 0.9564 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.602e-05/0.7895, allocations: 9.438 kB / 0.9564 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.7895, allocations: 1.219 kB / 0.9564 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.7895, allocations: 0 / 0.9564 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.7895, allocations: 3.938 kB / 0.9564 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001864/0.7897, allocations: 174.7 kB / 0.9566 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.7897, allocations: 0 / 0.9566 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.516e-05/0.7898, allocations: 16.73 kB / 0.9566 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.7898, allocations: 1.156 kB / 0.9566 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-06/0.7898, allocations: 4 kB / 0.9566 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.7898, allocations: 1.188 kB / 0.9566 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.7898, allocations: 0 / 0.9566 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001396/0.7899, allocations: 170.3 kB / 0.9568 GB, free: 2.164 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.854e-05/0.79, allocations: 94.12 kB / 0.9569 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.409e-05/0.79, allocations: 1.375 kB / 0.9569 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001101/0.7901, allocations: 6.719 kB / 0.9569 GB, free: 2.051 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.727e-05/0.7901, allocations: 14.78 kB / 0.9569 GB, free: 2.039 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.825e-06/0.7902, allocations: 9.188 kB / 0.9569 GB, free: 2.031 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.818e-05/0.7902, allocations: 77.69 kB / 0.957 GB, free: 1.957 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.7902, allocations: 1.406 kB / 0.957 GB, free: 1.957 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002417/0.7904, allocations: 13.19 kB / 0.957 GB, free: 1.953 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,cpSym,cvSym) * 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 (7): * Single equations (assignments): 7 * 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 9.901e-05/0.7905, allocations: 107.6 kB / 0.9571 GB, free: 1.859 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001075/0.7906, allocations: 42.48 kB / 0.9571 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.7907, allocations: 4.062 kB / 0.9571 GB, free: 1.84 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.349e-05/0.7907, allocations: 19.97 kB / 0.9572 GB, free: 1.832 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002854/0.791, allocations: 6.875 kB / 0.9572 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004913/0.7915, allocations: 332 kB / 0.9575 GB, free: 1.547 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000104/0.7916, allocations: 0.685 MB / 0.9582 GB, free: 0.8438 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.955e-05/0.7917, allocations: 15.95 kB / 0.9582 GB, free: 0.832 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.156e-05/0.7917, allocations: 10.34 kB / 0.9582 GB, free: 0.8242 MB / 0.7169 GB Notification: Performance of SimCode: time 2.4e-07/0.7917, allocations: 1.5 kB / 0.9582 GB, free: 0.8242 MB / 0.7169 GB Notification: Performance of Templates: time 0.002628/0.7943, allocations: 0.6181 MB / 0.9588 GB, free: 0.5039 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.makefile (rm -f Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & ./Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches