Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.008252/0.008252, allocations: 104.3 kB / 15.74 MB, free: 6.016 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.002284/0.002284, allocations: 192.7 kB / 16.67 MB, free: 5.934 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.433/1.433, allocations: 222.9 MB / 240.4 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.705/2.705, allocations: 469.8 MB / 0.7425 GB, free: 3.34 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 63.91 kB / 1.065 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.015/1.017, allocations: 159.1 MB / 1.221 GB, free: 2.152 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002301/1.019, allocations: 1.268 MB / 1.222 GB, free: 0.8789 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003627/1.023, allocations: 2.935 MB / 1.225 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.669e-05/1.023, allocations: 0 / 1.225 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 1.865e-05/1.023, allocations: 3.938 kB / 1.225 GB, free: 13.92 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 4.914e-05/1.023, allocations: 3.984 kB / 1.225 GB, free: 13.92 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004888/1.023, allocations: 103.5 kB / 1.225 GB, free: 13.82 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 8.099e-05/1.023, allocations: 39.84 kB / 1.225 GB, free: 13.78 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 4.998e-05/1.023, allocations: 7.984 kB / 1.225 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004669/1.024, allocations: 151.5 kB / 1.225 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 4.583e-05/1.024, allocations: 19.97 kB / 1.225 GB, free: 13.6 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.099e-05/1.024, allocations: 0 / 1.225 GB, free: 13.6 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001482/1.024, allocations: 75.69 kB / 1.225 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.352e-05/1.024, allocations: 8 kB / 1.225 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.227e-05/1.024, allocations: 23.91 kB / 1.225 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001709/1.024, allocations: 60.42 kB / 1.225 GB, free: 13.44 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.718e-06/1.024, allocations: 0 / 1.225 GB, free: 13.44 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.513e-06/1.024, allocations: 3.938 kB / 1.225 GB, free: 13.44 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 9.628e-06/1.024, allocations: 0 / 1.225 GB, free: 13.44 MB / 0.9512 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.0004336/1.025, allocations: 343.4 kB / 1.225 GB, free: 13.05 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/1.025, allocations: 8.031 kB / 1.225 GB, free: 13.05 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.066e-05/1.025, allocations: 4.938 kB / 1.225 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001166/1.025, allocations: 172.3 kB / 1.226 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/1.025, allocations: 4.375 kB / 1.226 GB, free: 12.83 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.679e-05/1.025, allocations: 8.375 kB / 1.226 GB, free: 12.82 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001246/1.025, allocations: 53.8 kB / 1.226 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/1.025, allocations: 3.938 kB / 1.226 GB, free: 12.76 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/1.025, allocations: 0 / 1.226 GB, free: 12.76 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/1.025, allocations: 0 / 1.226 GB, free: 12.76 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.459e-05/1.025, allocations: 19.98 kB / 1.226 GB, free: 12.74 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001687/1.025, allocations: 165.7 kB / 1.226 GB, free: 12.53 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 9.303e-05/1.025, allocations: 46.56 kB / 1.226 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.242e-05/1.025, allocations: 20.84 kB / 1.226 GB, free: 12.45 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006963/1.026, allocations: 0.6026 MB / 1.227 GB, free: 11.74 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.148e-05/1.026, allocations: 30.56 kB / 1.227 GB, free: 11.7 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=5): time 1.243e-06/1.026, allocations: 4 kB / 1.227 GB, free: 11.7 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7): time 0.0005813/1.027, allocations: 306.3 kB / 1.227 GB, free: 11.35 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.412e-05/1.027, allocations: 51.41 kB / 1.227 GB, free: 11.29 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.015e-05/1.027, allocations: 101.8 kB / 1.227 GB, free: 11.18 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.655e-05/1.027, allocations: 25.7 kB / 1.227 GB, free: 11.14 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.373e-05/1.027, allocations: 92.09 kB / 1.227 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.049e-05/1.027, allocations: 27.73 kB / 1.227 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.529e-05/1.027, allocations: 25.72 kB / 1.227 GB, free: 10.99 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000114/1.027, allocations: 330.7 kB / 1.227 GB, free: 10.66 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.829e-05/1.027, allocations: 12 kB / 1.228 GB, free: 10.65 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.915e-05/1.027, allocations: 53.08 kB / 1.228 GB, free: 10.58 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.494e-05/1.027, allocations: 73.08 kB / 1.228 GB, free: 10.49 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/1.027, allocations: 0 / 1.228 GB, free: 10.49 MB / 0.9512 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001401/1.027, allocations: 97.5 kB / 1.228 GB, free: 10.39 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/1.027, allocations: 8 kB / 1.228 GB, free: 10.38 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.137e-06/1.027, allocations: 0 / 1.228 GB, free: 10.38 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/1.027, allocations: 8.125 kB / 1.228 GB, free: 10.37 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.555e-05/1.028, allocations: 16 kB / 1.228 GB, free: 10.36 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/1.028, allocations: 7.875 kB / 1.228 GB, free: 10.35 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.003e-05/1.028, allocations: 7.938 kB / 1.228 GB, free: 10.34 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.315e-06/1.028, allocations: 4 kB / 1.228 GB, free: 10.34 MB / 0.9512 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 8.086e-05/1.028, allocations: 118.4 kB / 1.228 GB, free: 10.21 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.531e-05/1.028, allocations: 0 / 1.228 GB, free: 10.21 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.07e-05/1.028, allocations: 11.97 kB / 1.228 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/1.028, allocations: 0 / 1.228 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.327e-06/1.028, allocations: 4 kB / 1.228 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/1.028, allocations: 3.938 kB / 1.228 GB, free: 10.19 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002394/1.028, allocations: 177.7 kB / 1.228 GB, free: 9.969 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/1.028, allocations: 0 / 1.228 GB, free: 9.969 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.425e-05/1.028, allocations: 15.98 kB / 1.228 GB, free: 9.953 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.175e-06/1.028, allocations: 4 kB / 1.228 GB, free: 9.949 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.294e-06/1.028, allocations: 3.938 kB / 1.228 GB, free: 9.945 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/1.028, allocations: 0 / 1.228 GB, free: 9.945 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/1.028, allocations: 0 / 1.228 GB, free: 9.945 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001775/1.028, allocations: 175.5 kB / 1.228 GB, free: 9.758 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 6.218e-05/1.028, allocations: 85.55 kB / 1.228 GB, free: 9.656 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.332e-05/1.028, allocations: 0 / 1.228 GB, free: 9.656 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001051/1.028, allocations: 4.375 kB / 1.228 GB, free: 9.652 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.622e-05/1.028, allocations: 11.92 kB / 1.228 GB, free: 9.641 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.012e-05/1.028, allocations: 7.938 kB / 1.228 GB, free: 9.633 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 3.322e-05/1.028, allocations: 87.27 kB / 1.228 GB, free: 9.547 MB / 0.9512 GB Notification: Performance of sort global known variables: time 8e-08/1.028, allocations: 0 / 1.228 GB, free: 9.547 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.000236/1.029, allocations: 8 kB / 1.228 GB, free: 9.539 MB / 0.9512 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.0001397/1.029, allocations: 119.1 kB / 1.229 GB, free: 9.41 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001146/1.029, allocations: 40.06 kB / 1.229 GB, free: 9.371 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/1.029, allocations: 0 / 1.229 GB, free: 9.371 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 2.768e-05/1.029, allocations: 19.98 kB / 1.229 GB, free: 9.352 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000274/1.029, allocations: 8 kB / 1.229 GB, free: 9.344 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000574/1.03, allocations: 330.1 kB / 1.229 GB, free: 8.996 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002625/1.03, allocations: 0.6885 MB / 1.23 GB, free: 8.281 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 4.453e-05/1.03, allocations: 7.984 kB / 1.23 GB, free: 8.273 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.341e-05/1.03, allocations: 7.438 kB / 1.23 GB, free: 8.266 MB / 0.9512 GB Notification: Performance of SimCode: time 3.41e-07/1.03, allocations: 8 kB / 1.23 GB, free: 8.258 MB / 0.9512 GB Notification: Performance of Templates: time 0.002711/1.033, allocations: 0.6292 MB / 1.23 GB, free: 7.633 MB / 0.9512 GB make -j1 -f Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.makefile (rm -f Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & ./Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches