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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001614/0.001614, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002062/0.002062, allocations: 200.5 kB / 16.79 MB, free: 6.809 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.345/1.345, allocations: 222.9 MB / 240.5 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.396/2.396, allocations: 390.2 MB / 0.6649 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001419/0.001419, allocations: 63.91 kB / 0.8125 GB, free: 14.93 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7154/0.7168, allocations: 140.4 MB / 0.9496 GB, free: 9.16 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002169/0.719, allocations: 1.328 MB / 0.9509 GB, free: 8.102 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003073/0.7221, allocations: 2.927 MB / 0.9537 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.09e-05/0.7221, allocations: 0 / 0.9537 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.41e-05/0.7222, allocations: 0 / 0.9537 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.127e-05/0.7222, allocations: 12.86 kB / 0.9537 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004537/0.7227, allocations: 94.23 kB / 0.9538 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.669e-05/0.7228, allocations: 38.67 kB / 0.9539 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.078e-05/0.7228, allocations: 1.469 kB / 0.9539 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004616/0.7233, allocations: 146.6 kB / 0.954 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.888e-05/0.7233, allocations: 14.77 kB / 0.954 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.39e-05/0.7234, allocations: 5.969 kB / 0.954 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001581/0.7235, allocations: 68.5 kB / 0.9541 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.851e-05/0.7236, allocations: 11.11 kB / 0.9541 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.263e-05/0.7236, allocations: 10.59 kB / 0.9541 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001388/0.7237, allocations: 44.69 kB / 0.9542 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.7237, allocations: 1.281 kB / 0.9542 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.032e-06/0.7238, allocations: 0 / 0.9542 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.7238, allocations: 0 / 0.9542 GB, free: 5.473 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.0003778/0.7241, allocations: 340.8 kB / 0.9545 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.7242, allocations: 8.688 kB / 0.9545 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.446e-05/0.7242, allocations: 11.5 kB / 0.9545 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.788e-05/0.7243, allocations: 173.6 kB / 0.9547 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.7243, allocations: 2 kB / 0.9547 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.727e-05/0.7244, allocations: 7.656 kB / 0.9547 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001302/0.7245, allocations: 54.48 kB / 0.9547 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.7245, allocations: 0 / 0.9547 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/0.7245, allocations: 5.438 kB / 0.9547 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.7246, allocations: 1.375 kB / 0.9547 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.43e-05/0.7246, allocations: 14.23 kB / 0.9547 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000147/0.7248, allocations: 165.5 kB / 0.9549 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 9.268e-05/0.7249, allocations: 55.98 kB / 0.955 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.835e-05/0.7249, allocations: 15.36 kB / 0.955 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005896/0.7255, allocations: 0.6063 MB / 0.9556 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.831e-05/0.7255, allocations: 39.94 kB / 0.9556 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/0.7255, allocations: 0 / 0.9556 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0005377/0.7261, allocations: 291.5 kB / 0.9559 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.528e-05/0.7261, allocations: 53.06 kB / 0.9559 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.213e-05/0.7262, allocations: 97.42 kB / 0.956 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.489e-05/0.7262, allocations: 35.12 kB / 0.9561 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.943e-05/0.7262, allocations: 87.98 kB / 0.9561 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.431e-05/0.7262, allocations: 27.12 kB / 0.9562 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.738e-05/0.7263, allocations: 29.39 kB / 0.9562 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.776e-05/0.7263, allocations: 316.5 kB / 0.9565 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.846e-05/0.7264, allocations: 16.11 kB / 0.9565 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.258e-05/0.7264, allocations: 48.7 kB / 0.9566 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.958e-05/0.7265, allocations: 82.7 kB / 0.9566 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.7265, allocations: 1.25 kB / 0.9566 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001255/0.7266, allocations: 89.64 kB / 0.9567 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.7267, allocations: 6.25 kB / 0.9567 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.7267, allocations: 5.094 kB / 0.9567 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.7267, allocations: 2.344 kB / 0.9567 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.933e-05/0.7268, allocations: 24.14 kB / 0.9568 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.148e-06/0.7268, allocations: 6.688 kB / 0.9568 GB, free: 2.699 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.127e-05/0.7268, allocations: 9.719 kB / 0.9568 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.304e-06/0.7269, allocations: 3.969 kB / 0.9568 GB, free: 2.691 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.462e-05/0.7269, allocations: 122.1 kB / 0.9569 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.667e-05/0.727, allocations: 6.719 kB / 0.9569 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.184e-05/0.727, allocations: 11.97 kB / 0.9569 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.727, allocations: 9.484 kB / 0.9569 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.727, allocations: 3.938 kB / 0.9569 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.727, allocations: 3.938 kB / 0.9569 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002/0.7272, allocations: 174.5 kB / 0.9571 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.7272, allocations: 0 / 0.9571 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.902e-05/0.7273, allocations: 16.94 kB / 0.9571 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.7273, allocations: 1.188 kB / 0.9571 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.7274, allocations: 0 / 0.9571 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.7274, allocations: 1.156 kB / 0.9571 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.7274, allocations: 0 / 0.9571 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001512/0.7275, allocations: 177.8 kB / 0.9573 GB, free: 2.164 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.522e-05/0.7276, allocations: 86.52 kB / 0.9574 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.395e-05/0.7276, allocations: 1.188 kB / 0.9574 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001079/0.7277, allocations: 2.844 kB / 0.9574 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.286e-05/0.7277, allocations: 6.469 kB / 0.9574 GB, free: 2.059 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.677e-06/0.7277, allocations: 10.45 kB / 0.9574 GB, free: 2.051 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.271e-05/0.7278, allocations: 77.72 kB / 0.9575 GB, free: 1.977 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7278, allocations: 4 kB / 0.9575 GB, free: 1.973 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002409/0.728, allocations: 14.62 kB / 0.9575 GB, free: 1.969 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 0.0001167/0.7281, allocations: 98.12 kB / 0.9576 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001176/0.7283, allocations: 46.28 kB / 0.9576 GB, free: 1.863 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.7283, allocations: 0 / 0.9576 GB, free: 1.863 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.674e-05/0.7283, allocations: 18.52 kB / 0.9576 GB, free: 1.855 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003049/0.7286, allocations: 15.88 kB / 0.9576 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005275/0.7291, allocations: 360.2 kB / 0.958 GB, free: 1.527 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001286/0.7293, allocations: 0.6812 MB / 0.9587 GB, free: 0.8281 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.714e-05/0.7293, allocations: 17.16 kB / 0.9587 GB, free: 0.8164 MB / 0.7169 GB Notification: Performance of SimCode: time 4e-07/0.7293, allocations: 0 / 0.9587 GB, free: 0.8164 MB / 0.7169 GB Notification: Performance of Templates: time 0.002093/0.7314, allocations: 0.7674 MB / 0.9594 GB, free: 436 kB / 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches