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.01482/0.01482, allocations: 98.64 kB / 15.73 MB, free: 6.449 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.002476/0.002476, allocations: 197.5 kB / 16.68 MB, free: 6.348 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.449/1.449, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.448/2.448, allocations: 390.2 MB / 0.6648 GB, free: 132 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 66.75 kB / 0.9508 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3222/0.3234, allocations: 140.4 MB / 1.088 GB, free: 1.508 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002304/0.3258, allocations: 1.268 MB / 1.089 GB, free: 236 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.003729/0.3295, allocations: 2.92 MB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.798e-05/0.3296, allocations: 0 / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.824e-05/0.3296, allocations: 7.938 kB / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.907e-05/0.3297, allocations: 11.97 kB / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005319/0.3302, allocations: 91.56 kB / 1.092 GB, free: 13.19 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.618e-05/0.3303, allocations: 51.77 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.143e-05/0.3304, allocations: 0 / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005288/0.3309, allocations: 155.5 kB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.498e-05/0.331, allocations: 15.92 kB / 1.092 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.371e-05/0.331, allocations: 8 kB / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001655/0.3312, allocations: 71.81 kB / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.695e-05/0.3312, allocations: 7.984 kB / 1.092 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.482e-05/0.3312, allocations: 15.92 kB / 1.092 GB, free: 12.87 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001903/0.3314, allocations: 67.73 kB / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.3314, allocations: 0 / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3314, allocations: 0 / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.3314, allocations: 4 kB / 1.092 GB, free: 12.8 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.0004676/0.3319, allocations: 351.4 kB / 1.093 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.332, allocations: 8.031 kB / 1.093 GB, free: 12.4 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.385e-05/0.332, allocations: 8.891 kB / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001174/0.3321, allocations: 160.4 kB / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.3322, allocations: 384 / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.935e-05/0.3322, allocations: 8.375 kB / 1.093 GB, free: 12.19 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000138/0.3323, allocations: 53.8 kB / 1.093 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.3323, allocations: 0 / 1.093 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/0.3324, allocations: 4 kB / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.3324, allocations: 0 / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.805e-05/0.3324, allocations: 31.91 kB / 1.093 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001732/0.3326, allocations: 157.7 kB / 1.093 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 9.524e-05/0.3327, allocations: 54.62 kB / 1.093 GB, free: 11.83 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.486e-05/0.3328, allocations: 16.84 kB / 1.093 GB, free: 11.81 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007469/0.3335, allocations: 0.5946 MB / 1.094 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.522e-05/0.3336, allocations: 42.44 kB / 1.094 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.3336, allocations: 0 / 1.094 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0006335/0.3342, allocations: 298.9 kB / 1.094 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.254e-05/0.3342, allocations: 51.41 kB / 1.094 GB, free: 10.65 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.197e-05/0.3343, allocations: 113.8 kB / 1.094 GB, free: 10.53 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.597e-05/0.3343, allocations: 29.7 kB / 1.094 GB, free: 10.49 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.542e-05/0.3344, allocations: 88.09 kB / 1.094 GB, free: 10.4 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.13e-05/0.3344, allocations: 27.78 kB / 1.094 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.164e-05/0.3345, allocations: 29.67 kB / 1.095 GB, free: 10.34 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001158/0.3346, allocations: 318.8 kB / 1.095 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.11e-05/0.3346, allocations: 12 kB / 1.095 GB, free: 10.01 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.219e-05/0.3347, allocations: 49.14 kB / 1.095 GB, free: 9.941 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.559e-05/0.3348, allocations: 85.02 kB / 1.095 GB, free: 9.84 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.3348, allocations: 0 / 1.095 GB, free: 9.84 MB / 0.8575 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001349/0.3349, allocations: 97.81 kB / 1.095 GB, free: 9.738 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.335, allocations: 4 kB / 1.095 GB, free: 9.734 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.335, allocations: 4 kB / 1.095 GB, free: 9.73 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.335, allocations: 0 / 1.095 GB, free: 9.73 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.384e-05/0.3351, allocations: 16 kB / 1.095 GB, free: 9.715 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.485e-06/0.3351, allocations: 7.938 kB / 1.095 GB, free: 9.707 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.005e-05/0.3351, allocations: 11.92 kB / 1.095 GB, free: 9.695 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.3351, allocations: 4 kB / 1.095 GB, free: 9.691 MB / 0.8575 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.171e-05/0.3352, allocations: 117.8 kB / 1.095 GB, free: 9.566 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.931e-05/0.3353, allocations: 11.98 kB / 1.095 GB, free: 9.555 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.214e-05/0.3353, allocations: 7.969 kB / 1.095 GB, free: 9.547 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.3353, allocations: 0 / 1.095 GB, free: 9.547 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.3353, allocations: 0 / 1.095 GB, free: 9.547 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.974e-06/0.3353, allocations: 7.938 kB / 1.095 GB, free: 9.539 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002191/0.3356, allocations: 169.7 kB / 1.095 GB, free: 9.324 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.3356, allocations: 3.938 kB / 1.095 GB, free: 9.32 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.584e-05/0.3357, allocations: 15.98 kB / 1.095 GB, free: 9.305 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.3357, allocations: 0 / 1.095 GB, free: 9.305 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.898e-06/0.3357, allocations: 4 kB / 1.095 GB, free: 9.301 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.3357, allocations: 0 / 1.095 GB, free: 9.301 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.3357, allocations: 8 kB / 1.095 GB, free: 9.293 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001801/0.3359, allocations: 179.5 kB / 1.096 GB, free: 9.102 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.477e-05/0.3359, allocations: 85.06 kB / 1.096 GB, free: 9 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.431e-05/0.336, allocations: 0 / 1.096 GB, free: 9 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/0.3361, allocations: 4.031 kB / 1.096 GB, free: 8.996 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.12e-05/0.3361, allocations: 4 kB / 1.096 GB, free: 8.992 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.418e-06/0.3361, allocations: 12 kB / 1.096 GB, free: 8.98 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.396e-05/0.3361, allocations: 83.28 kB / 1.096 GB, free: 8.898 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3362, allocations: 0 / 1.096 GB, free: 8.898 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002329/0.3364, allocations: 16 kB / 1.096 GB, free: 8.883 MB / 0.8575 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.0001372/0.3365, allocations: 103.2 kB / 1.096 GB, free: 8.77 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001199/0.3367, allocations: 43.86 kB / 1.096 GB, free: 8.727 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/0.3367, allocations: 0 / 1.096 GB, free: 8.727 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 2.262e-05/0.3367, allocations: 12.25 kB / 1.096 GB, free: 8.715 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003075/0.337, allocations: 13.41 kB / 1.096 GB, free: 8.703 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005731/0.3376, allocations: 322.1 kB / 1.096 GB, free: 8.363 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002348/0.3378, allocations: 0.6885 MB / 1.097 GB, free: 7.648 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.273e-05/0.3379, allocations: 4 kB / 1.097 GB, free: 7.645 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.551e-05/0.3379, allocations: 11.44 kB / 1.097 GB, free: 7.633 MB / 0.8575 GB Notification: Performance of SimCode: time 2e-07/0.3379, allocations: 0 / 1.097 GB, free: 7.633 MB / 0.8575 GB Notification: Performance of Templates: time 0.002976/0.3409, allocations: 0.6311 MB / 1.098 GB, free: 7.004 MB / 0.8575 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