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.002067/0.002066, allocations: 113 kB / 16.37 MB, free: 6.012 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.001936/0.001936, allocations: 188.2 kB / 17.3 MB, free: 5.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.377/1.377, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.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.268/2.268, allocations: 390.3 MB / 0.6655 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 60.97 kB / 0.814 GB, free: 32.64 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2871/0.2884, allocations: 140.4 MB / 0.9511 GB, free: 8.094 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002477/0.291, allocations: 1.256 MB / 0.9523 GB, free: 6.828 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.003687/0.2947, allocations: 2.944 MB / 0.9552 GB, free: 3.871 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.088e-05/0.2947, allocations: 0 / 0.9552 GB, free: 3.871 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.273e-05/0.2948, allocations: 3.938 kB / 0.9552 GB, free: 3.867 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.505e-05/0.2949, allocations: 4 kB / 0.9552 GB, free: 3.863 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006156/0.2955, allocations: 107.5 kB / 0.9553 GB, free: 3.758 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 9.944e-05/0.2956, allocations: 35.86 kB / 0.9554 GB, free: 3.723 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 5.16e-05/0.2957, allocations: 4 kB / 0.9554 GB, free: 3.719 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000549/0.2962, allocations: 159.5 kB / 0.9555 GB, free: 3.562 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.673e-05/0.2963, allocations: 19.91 kB / 0.9555 GB, free: 3.543 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.421e-05/0.2963, allocations: 4 kB / 0.9555 GB, free: 3.539 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001649/0.2965, allocations: 59.89 kB / 0.9556 GB, free: 3.48 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.551e-05/0.2965, allocations: 7.984 kB / 0.9556 GB, free: 3.473 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.692e-05/0.2966, allocations: 19.92 kB / 0.9556 GB, free: 3.453 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002165/0.2968, allocations: 67.75 kB / 0.9557 GB, free: 3.387 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.2968, allocations: 3.984 kB / 0.9557 GB, free: 3.383 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.412e-06/0.2968, allocations: 0 / 0.9557 GB, free: 3.383 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.031e-06/0.2968, allocations: 0 / 0.9557 GB, free: 3.383 MB / 0.7325 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.0004428/0.2973, allocations: 339.6 kB / 0.956 GB, free: 3.004 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.2973, allocations: 8.031 kB / 0.956 GB, free: 2.996 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.675e-05/0.2973, allocations: 12.84 kB / 0.956 GB, free: 2.984 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00011/0.2975, allocations: 172.3 kB / 0.9562 GB, free: 2.777 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.249e-05/0.2975, allocations: 384 / 0.9562 GB, free: 2.777 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.115e-05/0.2975, allocations: 8.375 kB / 0.9562 GB, free: 2.77 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001517/0.2977, allocations: 57.78 kB / 0.9563 GB, free: 2.707 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.2977, allocations: 0 / 0.9563 GB, free: 2.707 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.384e-05/0.2977, allocations: 4 kB / 0.9563 GB, free: 2.703 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.2977, allocations: 0 / 0.9563 GB, free: 2.703 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.714e-05/0.2978, allocations: 19.92 kB / 0.9563 GB, free: 2.684 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002026/0.298, allocations: 161.7 kB / 0.9564 GB, free: 2.477 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001176/0.2981, allocations: 58.55 kB / 0.9565 GB, free: 2.41 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.205e-05/0.2982, allocations: 12.86 kB / 0.9565 GB, free: 2.395 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007387/0.2989, allocations: 0.5948 MB / 0.9571 GB, free: 1.691 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.193e-05/0.2989, allocations: 38.5 kB / 0.9571 GB, free: 1.645 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.299, allocations: 0 / 0.9571 GB, free: 1.645 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.0006525/0.2996, allocations: 298.2 kB / 0.9574 GB, free: 1.301 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.908e-05/0.2997, allocations: 55.34 kB / 0.9575 GB, free: 1.234 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.684e-05/0.2997, allocations: 101.8 kB / 0.9576 GB, free: 1.125 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.108e-05/0.2998, allocations: 33.7 kB / 0.9576 GB, free: 1.086 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.859e-05/0.2998, allocations: 88.03 kB / 0.9577 GB, free: 0.9961 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.034e-05/0.2999, allocations: 27.56 kB / 0.9577 GB, free: 0.9688 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.096e-05/0.2999, allocations: 33.7 kB / 0.9577 GB, free: 0.9297 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001068/0.3, allocations: 314.8 kB / 0.958 GB, free: 0.6133 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.742e-05/0.3001, allocations: 15.98 kB / 0.958 GB, free: 0.5977 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.978e-05/0.3001, allocations: 53.08 kB / 0.9581 GB, free: 0.5273 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.366e-05/0.3002, allocations: 77.03 kB / 0.9582 GB, free: 444 kB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.3002, allocations: 3.938 kB / 0.9582 GB, free: 440 kB / 0.7325 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001842/0.3004, allocations: 93.55 kB / 0.9583 GB, free: 340 kB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.3004, allocations: 4 kB / 0.9583 GB, free: 336 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.994e-06/0.3005, allocations: 4 kB / 0.9583 GB, free: 332 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.3005, allocations: 4.125 kB / 0.9583 GB, free: 328 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.464e-05/0.3006, allocations: 19.98 kB / 0.9583 GB, free: 308 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.3006, allocations: 4 kB / 0.9583 GB, free: 304 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.91e-05/0.3006, allocations: 7.938 kB / 0.9583 GB, free: 296 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.665e-06/0.3006, allocations: 7.938 kB / 0.9583 GB, free: 288 kB / 0.7325 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 7.746e-05/0.3007, allocations: 115.8 kB / 0.9584 GB, free: 164 kB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.867e-05/0.3007, allocations: 7.906 kB / 0.9584 GB, free: 156 kB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.094e-05/0.3008, allocations: 8.406 kB / 0.9584 GB, free: 144 kB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.3008, allocations: 0 / 0.9584 GB, free: 144 kB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.3008, allocations: 7.984 kB / 0.9584 GB, free: 136 kB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.187e-06/0.3008, allocations: 3.938 kB / 0.9585 GB, free: 132 kB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002555/0.3011, allocations: 177.7 kB / 0.9586 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.3011, allocations: 0 / 0.9586 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.27e-05/0.3012, allocations: 16 kB / 0.9586 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.055e-06/0.3012, allocations: 0 / 0.9586 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.3012, allocations: 7.938 kB / 0.9586 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.3012, allocations: 0 / 0.9586 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.3012, allocations: 0 / 0.9586 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001717/0.3014, allocations: 179.4 kB / 0.9588 GB, free: 15.69 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001269/0.3015, allocations: 85.05 kB / 0.9589 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.592e-05/0.3015, allocations: 4 kB / 0.9589 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.918e-05/0.3017, allocations: 0 / 0.9589 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.064e-05/0.3017, allocations: 4 kB / 0.9589 GB, free: 15.58 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.858e-06/0.3017, allocations: 11.92 kB / 0.9589 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 3.29e-05/0.3017, allocations: 79.66 kB / 0.959 GB, free: 15.49 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3017, allocations: 0 / 0.959 GB, free: 15.49 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002406/0.302, allocations: 16 kB / 0.959 GB, free: 15.48 MB / 0.7481 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.0001358/0.3021, allocations: 99.39 kB / 0.9591 GB, free: 15.37 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0001191/0.3023, allocations: 51.84 kB / 0.9592 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.3023, allocations: 0 / 0.9592 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 2.618e-05/0.3023, allocations: 20.12 kB / 0.9592 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002877/0.3026, allocations: 11.22 kB / 0.9592 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005626/0.3032, allocations: 318.6 kB / 0.9595 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002828/0.3035, allocations: 0.6846 MB / 0.9602 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 4.701e-05/0.3035, allocations: 7.984 kB / 0.9602 GB, free: 14.24 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.455e-05/0.3035, allocations: 15.38 kB / 0.9602 GB, free: 14.22 MB / 0.7481 GB Notification: Performance of SimCode: time 4.21e-07/0.3035, allocations: 4 kB / 0.9602 GB, free: 14.22 MB / 0.7481 GB Notification: Performance of Templates: time 0.003402/0.307, allocations: 0.6174 MB / 0.9608 GB, free: 13.6 MB / 0.7481 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 -s cvode -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