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.001367/0.001367, allocations: 103.8 kB / 16.4 MB, free: 6.508 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.001293/0.001293, allocations: 189.7 kB / 17.34 MB, free: 5.742 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.399/1.399, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.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.218/2.218, allocations: 390.3 MB / 0.6655 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 63.89 kB / 0.9515 GB, free: 7.695 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8996/0.901, allocations: 140.4 MB / 1.089 GB, free: 5.539 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002229/0.9032, allocations: 1.263 MB / 1.09 GB, free: 4.652 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003456/0.9067, allocations: 2.92 MB / 1.093 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.007e-05/0.9067, allocations: 0.7812 kB / 1.093 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.735e-05/0.9068, allocations: 9.188 kB / 1.093 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.935e-05/0.9068, allocations: 9.406 kB / 1.093 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005043/0.9074, allocations: 95.53 kB / 1.093 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.644e-05/0.9075, allocations: 44.09 kB / 1.093 GB, free: 2.477 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.79e-05/0.9075, allocations: 2.047 kB / 1.093 GB, free: 2.477 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004791/0.908, allocations: 156.5 kB / 1.093 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.802e-05/0.908, allocations: 14.62 kB / 1.093 GB, free: 2.414 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.327e-05/0.9081, allocations: 1.625 kB / 1.093 GB, free: 2.414 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001595/0.9082, allocations: 70.56 kB / 1.093 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.668e-05/0.9082, allocations: 8.375 kB / 1.093 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.108e-05/0.9083, allocations: 12.44 kB / 1.093 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001828/0.9085, allocations: 69.38 kB / 1.093 GB, free: 2.352 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.9085, allocations: 4.656 kB / 1.093 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of FrontEnd: time 8.62e-07/0.9085, allocations: 0.7188 kB / 1.093 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.257e-06/0.9085, allocations: 0 / 1.093 GB, free: 2.348 MB / 0.8575 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.0003384/0.9088, allocations: 343.1 kB / 1.093 GB, free: 1.988 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.9089, allocations: 8.875 kB / 1.093 GB, free: 1.988 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.953e-05/0.9089, allocations: 7.812 kB / 1.093 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.864e-05/0.909, allocations: 172.1 kB / 1.094 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.909, allocations: 3 kB / 1.094 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.609e-05/0.9091, allocations: 12.16 kB / 1.094 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001219/0.9092, allocations: 57.66 kB / 1.094 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.9092, allocations: 0 / 1.094 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.9092, allocations: 4.969 kB / 1.094 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.9092, allocations: 1.188 kB / 1.094 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.63e-05/0.9093, allocations: 16.02 kB / 1.094 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001392/0.9094, allocations: 174.9 kB / 1.094 GB, free: 1.52 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 9.668e-05/0.9095, allocations: 53.75 kB / 1.094 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.597e-05/0.9096, allocations: 29.52 kB / 1.094 GB, free: 1.461 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006229/0.9102, allocations: 0.5871 MB / 1.095 GB, free: 0.8281 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.692e-05/0.9102, allocations: 37.36 kB / 1.095 GB, free: 0.7852 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=5): time 1.032e-06/0.9102, allocations: 0 / 1.095 GB, free: 0.7852 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0005464/0.9108, allocations: 303.7 kB / 1.095 GB, free: 0.5 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.696e-05/0.9108, allocations: 53.22 kB / 1.095 GB, free: 448 kB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.889e-05/0.9109, allocations: 96.03 kB / 1.095 GB, free: 348 kB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.216e-05/0.9109, allocations: 31.25 kB / 1.095 GB, free: 312 kB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.603e-05/0.9109, allocations: 89.08 kB / 1.095 GB, free: 220 kB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.736e-05/0.911, allocations: 26.31 kB / 1.095 GB, free: 200 kB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.061e-05/0.911, allocations: 26.47 kB / 1.095 GB, free: 176 kB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.227e-05/0.9111, allocations: 318.4 kB / 1.095 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.683e-05/0.9111, allocations: 17.59 kB / 1.096 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.684e-05/0.9112, allocations: 60.56 kB / 1.096 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001136/0.9113, allocations: 72.59 kB / 1.096 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.9113, allocations: 0.9062 kB / 1.096 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001522/0.9115, allocations: 90.42 kB / 1.096 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.9115, allocations: 5.656 kB / 1.096 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.9115, allocations: 1.719 kB / 1.096 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.9116, allocations: 3.016 kB / 1.096 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.779e-05/0.9117, allocations: 22.89 kB / 1.096 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/0.9117, allocations: 6.547 kB / 1.096 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.226e-05/0.9117, allocations: 17.61 kB / 1.096 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.047e-05/0.9117, allocations: 4.469 kB / 1.096 GB, free: 15.64 MB / 0.8731 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.396e-05/0.9118, allocations: 117.8 kB / 1.096 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.448e-05/0.9119, allocations: 6.562 kB / 1.096 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.206e-05/0.9119, allocations: 9.594 kB / 1.096 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.9119, allocations: 1.344 kB / 1.096 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.9119, allocations: 0.7969 kB / 1.096 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.9119, allocations: 4.688 kB / 1.096 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002494/0.9122, allocations: 177.9 kB / 1.096 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.9122, allocations: 0 / 1.096 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.015e-05/0.9123, allocations: 22.91 kB / 1.096 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.077e-06/0.9123, allocations: 1.547 kB / 1.096 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.9123, allocations: 0.75 kB / 1.096 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.9123, allocations: 0.9375 kB / 1.096 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.9123, allocations: 0.6094 kB / 1.096 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001947/0.9125, allocations: 171.9 kB / 1.096 GB, free: 15.15 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 4.879e-05/0.9126, allocations: 93.73 kB / 1.096 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.448e-05/0.9126, allocations: 0.8125 kB / 1.096 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/0.9127, allocations: 8.297 kB / 1.096 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.776e-05/0.9127, allocations: 3.656 kB / 1.096 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.102e-05/0.9128, allocations: 6.375 kB / 1.096 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 3.879e-05/0.9128, allocations: 83.3 kB / 1.096 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9128, allocations: 0 / 1.096 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.000237/0.913, allocations: 13.47 kB / 1.096 GB, free: 14.96 MB / 0.8731 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.0001293/0.9132, allocations: 104.4 kB / 1.097 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0001304/0.9133, allocations: 42.61 kB / 1.097 GB, free: 14.85 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.9133, allocations: 0.6875 kB / 1.097 GB, free: 14.85 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 3.764e-05/0.9134, allocations: 16.92 kB / 1.097 GB, free: 14.85 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002981/0.9137, allocations: 5.109 kB / 1.097 GB, free: 14.85 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006138/0.9143, allocations: 351.2 kB / 1.097 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002323/0.9146, allocations: 0.6967 MB / 1.098 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.061e-05/0.9146, allocations: 11.16 kB / 1.098 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of SimCode: time 2.2e-07/0.9146, allocations: 1.219 kB / 1.098 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of Templates: time 0.00264/0.9173, allocations: 0.7788 MB / 1.098 GB, free: 13.78 MB / 0.8731 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches