Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001082/0.001082, allocations: 91.38 kB / 15.36 MB, free: 0.7383 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.009174/0.009175, allocations: 171.4 kB / 16.26 MB, free: 6.613 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.522/1.522, allocations: 223.3 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.675/2.675, allocations: 437.8 MB / 0.7121 GB, free: 6.938 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004037/0.0004039, allocations: 11.98 kB / 0.8728 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8789/0.8793, allocations: 153.8 MB / 1.023 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002279/0.8816, allocations: 0.9914 MB / 1.024 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.005064/0.8868, allocations: 2.888 MB / 1.027 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.604e-05/0.8868, allocations: 4 kB / 1.027 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.704e-05/0.8869, allocations: 0 / 1.027 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.895e-05/0.8869, allocations: 3.938 kB / 1.027 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006492/0.8876, allocations: 91.61 kB / 1.027 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 9.035e-05/0.8877, allocations: 39.91 kB / 1.027 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.749e-05/0.8877, allocations: 0 / 1.027 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006393/0.8884, allocations: 143.5 kB / 1.027 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.523e-05/0.8885, allocations: 15.98 kB / 1.027 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.259e-05/0.8885, allocations: 3.938 kB / 1.027 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002211/0.8887, allocations: 67.88 kB / 1.027 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.908e-05/0.8888, allocations: 7.984 kB / 1.027 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.035e-05/0.8888, allocations: 45.56 kB / 1.027 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002118/0.889, allocations: 62.03 kB / 1.027 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.8891, allocations: 3.938 kB / 1.027 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.415e-06/0.8891, allocations: 0 / 1.027 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.8891, allocations: 0 / 1.027 GB, free: 11.6 MB / 0.7794 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.0004577/0.8895, allocations: 339.5 kB / 1.028 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/0.8896, allocations: 8.031 kB / 1.028 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.917e-05/0.8897, allocations: 8.844 kB / 1.028 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001268/0.8898, allocations: 160.4 kB / 1.028 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.141e-05/0.8898, allocations: 12.31 kB / 1.028 GB, free: 11 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.653e-05/0.8899, allocations: 8.375 kB / 1.028 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001685/0.89, allocations: 53.8 kB / 1.028 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.8901, allocations: 3.938 kB / 1.028 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.841e-05/0.8901, allocations: 4 kB / 1.028 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.457e-06/0.8901, allocations: 0 / 1.028 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.635e-05/0.8902, allocations: 19.97 kB / 1.028 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002202/0.8904, allocations: 161.7 kB / 1.028 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001118/0.8905, allocations: 58.56 kB / 1.028 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.728e-05/0.8906, allocations: 20.84 kB / 1.028 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009158/0.8915, allocations: 0.6025 MB / 1.029 GB, free: 9.898 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.271e-05/0.8915, allocations: 34.56 kB / 1.029 GB, free: 9.855 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=5): time 1.954e-06/0.8915, allocations: 0 / 1.029 GB, free: 9.855 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0007098/0.8922, allocations: 298.3 kB / 1.029 GB, free: 9.512 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.192e-05/0.8923, allocations: 51.41 kB / 1.029 GB, free: 9.449 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.19e-05/0.8924, allocations: 97.84 kB / 1.029 GB, free: 9.344 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.571e-05/0.8924, allocations: 29.7 kB / 1.029 GB, free: 9.309 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.246e-05/0.8925, allocations: 88.05 kB / 1.029 GB, free: 9.219 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.324e-05/0.8925, allocations: 27.55 kB / 1.029 GB, free: 9.191 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.645e-05/0.8925, allocations: 17.72 kB / 1.029 GB, free: 9.168 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001323/0.8927, allocations: 330.7 kB / 1.03 GB, free: 8.836 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.665e-05/0.8927, allocations: 12 kB / 1.03 GB, free: 8.824 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.151e-05/0.8928, allocations: 57.08 kB / 1.03 GB, free: 8.75 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001045/0.8929, allocations: 73.08 kB / 1.03 GB, free: 8.66 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.41e-07/0.8929, allocations: 0 / 1.03 GB, free: 8.66 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.00015/0.8931, allocations: 89.55 kB / 1.03 GB, free: 8.566 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.341e-05/0.8931, allocations: 8 kB / 1.03 GB, free: 8.559 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.8931, allocations: 0 / 1.03 GB, free: 8.559 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.8931, allocations: 4 kB / 1.03 GB, free: 8.555 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.344e-05/0.8932, allocations: 16 kB / 1.03 GB, free: 8.539 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/0.8932, allocations: 8.062 kB / 1.03 GB, free: 8.531 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.422e-05/0.8933, allocations: 11.94 kB / 1.03 GB, free: 8.52 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.006e-05/0.8933, allocations: 4 kB / 1.03 GB, free: 8.516 MB / 0.7794 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 0.0001206/0.8934, allocations: 118.4 kB / 1.03 GB, free: 8.391 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.228e-05/0.8934, allocations: 3.906 kB / 1.03 GB, free: 8.387 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.378e-05/0.8935, allocations: 7.969 kB / 1.03 GB, free: 8.379 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.04e-05/0.8935, allocations: 4 kB / 1.03 GB, free: 8.375 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.998e-06/0.8935, allocations: 0 / 1.03 GB, free: 8.375 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.116e-06/0.8935, allocations: 3.938 kB / 1.03 GB, free: 8.371 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003029/0.8939, allocations: 181.7 kB / 1.03 GB, free: 8.145 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.8939, allocations: 0 / 1.03 GB, free: 8.145 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.811e-05/0.894, allocations: 19.92 kB / 1.03 GB, free: 8.125 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.824e-06/0.894, allocations: 0 / 1.03 GB, free: 8.125 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.355e-05/0.894, allocations: 7.938 kB / 1.03 GB, free: 8.117 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.894, allocations: 0 / 1.03 GB, free: 8.117 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.894, allocations: 448 / 1.03 GB, free: 8.117 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002515/0.8943, allocations: 167.8 kB / 1.03 GB, free: 7.938 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.124e-05/0.8944, allocations: 89.02 kB / 1.03 GB, free: 7.832 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.802e-05/0.8944, allocations: 0 / 1.03 GB, free: 7.832 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001181/0.8945, allocations: 12 kB / 1.03 GB, free: 7.82 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.561e-05/0.8945, allocations: 12 kB / 1.03 GB, free: 7.809 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.175e-05/0.8946, allocations: 7.938 kB / 1.03 GB, free: 7.801 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.896e-05/0.8946, allocations: 75.28 kB / 1.031 GB, free: 7.727 MB / 0.7794 GB Notification: Performance of sort global known variables: time 9.12e-07/0.8946, allocations: 4 kB / 1.031 GB, free: 7.723 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002559/0.8949, allocations: 12 kB / 1.031 GB, free: 7.711 MB / 0.7794 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 0.0002243/0.8951, allocations: 115.1 kB / 1.031 GB, free: 7.59 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001581/0.8953, allocations: 44.06 kB / 1.031 GB, free: 7.547 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/0.8953, allocations: 4 kB / 1.031 GB, free: 7.543 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.947e-05/0.8953, allocations: 15.98 kB / 1.031 GB, free: 7.527 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003613/0.8957, allocations: 4 kB / 1.031 GB, free: 7.523 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008226/0.8965, allocations: 387.1 kB / 1.031 GB, free: 7.117 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003616/0.8969, allocations: 0.6848 MB / 1.032 GB, free: 6.406 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.398e-05/0.897, allocations: 7.984 kB / 1.032 GB, free: 6.398 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.396e-05/0.897, allocations: 11.44 kB / 1.032 GB, free: 6.387 MB / 0.7794 GB Notification: Performance of SimCode: time 5.21e-07/0.897, allocations: 0 / 1.032 GB, free: 6.387 MB / 0.7794 GB Notification: Performance of Templates: time 0.004254/0.9013, allocations: 0.5916 MB / 1.032 GB, free: 5.797 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.makefile (rm -f Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & ./Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches