Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001543/0.001543, allocations: 104 kB / 16.35 MB, free: 5.824 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.001718/0.001718, allocations: 191.2 kB / 17.29 MB, free: 5.48 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.329/1.329, allocations: 222.9 MB / 241 MB, free: 15.14 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.25/2.25, allocations: 390.3 MB / 0.6655 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 60.27 kB / 0.814 GB, free: 32.62 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.249/0.2503, allocations: 140.4 MB / 0.9511 GB, free: 8.039 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.005294/0.2557, allocations: 3.735 MB / 0.9547 GB, free: 4.285 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0001962/0.2559, allocations: 159.5 kB / 0.9549 GB, free: 4.129 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.867e-05/0.2559, allocations: 3.938 kB / 0.9549 GB, free: 4.125 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 8.714e-05/0.256, allocations: 3.984 kB / 0.9549 GB, free: 4.121 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.27e-05/0.2561, allocations: 7.922 kB / 0.9549 GB, free: 4.113 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003273/0.2564, allocations: 86.75 kB / 0.955 GB, free: 4.031 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 7.734e-05/0.2565, allocations: 31.86 kB / 0.955 GB, free: 4 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 3.865e-05/0.2566, allocations: 7.984 kB / 0.955 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 3.721e-05/0.2566, allocations: 15.98 kB / 0.955 GB, free: 3.977 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.966e-05/0.2567, allocations: 23.8 kB / 0.9551 GB, free: 3.953 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.048e-05/0.2567, allocations: 0 / 0.9551 GB, free: 3.953 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005129/0.2572, allocations: 183.4 kB / 0.9552 GB, free: 3.773 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 4.196e-05/0.2573, allocations: 11.98 kB / 0.9553 GB, free: 3.762 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.661e-05/0.2573, allocations: 11.92 kB / 0.9553 GB, free: 3.75 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001268/0.2574, allocations: 43.91 kB / 0.9553 GB, free: 3.707 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.2574, allocations: 0 / 0.9553 GB, free: 3.707 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.874e-06/0.2575, allocations: 4 kB / 0.9553 GB, free: 3.703 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.2575, allocations: 0 / 0.9553 GB, free: 3.703 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003758/0.2578, allocations: 327.6 kB / 0.9556 GB, free: 3.336 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.032e-05/0.2579, allocations: 8.031 kB / 0.9556 GB, free: 3.328 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.54e-05/0.2579, allocations: 4.938 kB / 0.9556 GB, free: 3.324 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000117/0.258, allocations: 168.3 kB / 0.9558 GB, free: 3.121 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.302e-05/0.2581, allocations: 26.27 kB / 0.9558 GB, free: 3.09 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.23e-05/0.2581, allocations: 8.359 kB / 0.9558 GB, free: 3.082 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001182/0.2583, allocations: 49.62 kB / 0.9559 GB, free: 3.027 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.2583, allocations: 3.938 kB / 0.9559 GB, free: 3.023 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.2583, allocations: 0 / 0.9559 GB, free: 3.023 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.904e-05/0.2583, allocations: 4 kB / 0.9559 GB, free: 3.02 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.091e-05/0.2584, allocations: 15.92 kB / 0.9559 GB, free: 3.004 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004048/0.2588, allocations: 338 kB / 0.9562 GB, free: 2.605 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 3.335e-05/0.2588, allocations: 22.58 kB / 0.9562 GB, free: 2.574 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.561e-05/0.2588, allocations: 12.86 kB / 0.9563 GB, free: 2.559 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 8.768e-05/0.2589, allocations: 85.17 kB / 0.9563 GB, free: 2.457 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.268e-05/0.259, allocations: 38.48 kB / 0.9564 GB, free: 2.41 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.259, allocations: 0 / 0.9564 GB, free: 2.41 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1): time 0.0001301/0.2591, allocations: 33.7 kB / 0.9564 GB, free: 2.371 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.002e-05/0.2591, allocations: 51.41 kB / 0.9565 GB, free: 2.309 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.782e-05/0.2592, allocations: 101.8 kB / 0.9566 GB, free: 2.199 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.314e-05/0.2592, allocations: 29.83 kB / 0.9566 GB, free: 2.164 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.538e-05/0.2593, allocations: 92.05 kB / 0.9567 GB, free: 2.07 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.178e-06/0.2593, allocations: 0 / 0.9567 GB, free: 2.07 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.05e-05/0.2593, allocations: 17.62 kB / 0.9567 GB, free: 2.047 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001092/0.2595, allocations: 322.8 kB / 0.957 GB, free: 1.723 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.554e-05/0.2595, allocations: 4 kB / 0.957 GB, free: 1.719 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.307e-05/0.2595, allocations: 17.66 kB / 0.957 GB, free: 1.695 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.669e-05/0.2595, allocations: 25.7 kB / 0.957 GB, free: 1.664 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.2595, allocations: 0 / 0.957 GB, free: 1.664 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.485e-05/0.2596, allocations: 49.64 kB / 0.9571 GB, free: 1.609 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.2596, allocations: 4 kB / 0.9571 GB, free: 1.605 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.2597, allocations: 0 / 0.9571 GB, free: 1.605 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.007e-05/0.2597, allocations: 3.938 kB / 0.9571 GB, free: 1.602 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.483e-05/0.2597, allocations: 11.98 kB / 0.9571 GB, free: 1.59 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.2597, allocations: 0 / 0.9571 GB, free: 1.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.731e-05/0.2598, allocations: 4.062 kB / 0.9571 GB, free: 1.586 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.061e-05/0.2598, allocations: 4 kB / 0.9571 GB, free: 1.582 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (3): * Single equations (assignments): 3 * 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 6.859e-05/0.2598, allocations: 111.8 kB / 0.9572 GB, free: 1.465 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.783e-05/0.2599, allocations: 0 / 0.9572 GB, free: 1.465 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001016/0.26, allocations: 125.2 kB / 0.9573 GB, free: 1.332 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.378e-05/0.26, allocations: 176.3 kB / 0.9575 GB, free: 1.152 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.708e-05/0.2601, allocations: 188.2 kB / 0.9577 GB, free: 0.9609 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.052e-05/0.2602, allocations: 180.2 kB / 0.9579 GB, free: 0.7773 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002027/0.2604, allocations: 409.2 kB / 0.9583 GB, free: 328 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.243e-05/0.2604, allocations: 104.9 kB / 0.9584 GB, free: 216 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.064e-05/0.2605, allocations: 105 kB / 0.9585 GB, free: 104 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.153e-05/0.2606, allocations: 188.1 kB / 0.9586 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.469e-05/0.2606, allocations: 180.3 kB / 0.9588 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.285e-05/0.2607, allocations: 180.3 kB / 0.959 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.064e-05/0.2607, allocations: 180.2 kB / 0.9591 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001163/0.2609, allocations: 311.7 kB / 0.9594 GB, free: 15.03 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 7.224e-05/0.2609, allocations: 194 kB / 0.9596 GB, free: 14.82 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.884e-05/0.261, allocations: 176.3 kB / 0.9598 GB, free: 14.64 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001453/0.2612, allocations: 112.9 kB / 0.9599 GB, free: 14.52 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.135e-05/0.2612, allocations: 176.3 kB / 0.9601 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.906e-05/0.2613, allocations: 104.9 kB / 0.9602 GB, free: 14.23 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 5.04e-05/0.2613, allocations: 95.27 kB / 0.9603 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.81e-07/0.2613, allocations: 0 / 0.9603 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002413/0.2616, allocations: 15.94 kB / 0.9603 GB, free: 14.12 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (0): * Single equations (assignments): 0 * 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.0002186/0.2618, allocations: 202.4 kB / 0.9605 GB, free: 13.91 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 6.473e-05/0.2619, allocations: 8 kB / 0.9605 GB, free: 13.9 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.2619, allocations: 0 / 0.9605 GB, free: 13.9 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 2.975e-06/0.2619, allocations: 8.125 kB / 0.9605 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003784/0.2623, allocations: 463.6 kB / 0.9609 GB, free: 13.44 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002169/0.2625, allocations: 178 kB / 0.9611 GB, free: 13.24 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002233/0.2627, allocations: 0.6729 MB / 0.9618 GB, free: 12.54 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 3.934e-05/0.2628, allocations: 12 kB / 0.9618 GB, free: 12.53 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.684e-05/0.2628, allocations: 7.438 kB / 0.9618 GB, free: 12.52 MB / 0.7481 GB Notification: Performance of SimCode: time 2.61e-07/0.2628, allocations: 0 / 0.9618 GB, free: 12.52 MB / 0.7481 GB Notification: Performance of Templates: time 0.002734/0.2655, allocations: 0.651 MB / 0.9624 GB, free: 11.88 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile (rm -f Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches