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.001377/0.001383, allocations: 116.4 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.00146/0.00146, allocations: 192.6 kB / 17.31 MB, free: 5.609 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.19 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.3/2.3, allocations: 390.3 MB / 0.6655 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001591/0.001591, allocations: 62.39 kB / 0.814 GB, free: 32.73 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3066/0.3083, allocations: 140.4 MB / 0.9511 GB, free: 8.07 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.00565/0.3139, allocations: 3.745 MB / 0.9548 GB, free: 4.309 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0002033/0.3142, allocations: 159.4 kB / 0.9549 GB, free: 4.152 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.59e-05/0.3142, allocations: 0 / 0.9549 GB, free: 4.152 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001083/0.3143, allocations: 3.984 kB / 0.9549 GB, free: 4.148 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.216e-05/0.3145, allocations: 11.92 kB / 0.9549 GB, free: 4.137 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003308/0.3148, allocations: 91.69 kB / 0.955 GB, free: 4.047 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 8.091e-05/0.3149, allocations: 23.92 kB / 0.955 GB, free: 4.023 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.913e-05/0.3149, allocations: 3.984 kB / 0.955 GB, free: 4.02 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 4.255e-05/0.315, allocations: 27.86 kB / 0.9551 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.791e-05/0.3151, allocations: 7.984 kB / 0.9551 GB, free: 3.984 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.488e-05/0.3151, allocations: 4 kB / 0.9551 GB, free: 3.98 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005068/0.3156, allocations: 183.4 kB / 0.9553 GB, free: 3.801 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.915e-05/0.3156, allocations: 11.98 kB / 0.9553 GB, free: 3.789 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.72e-05/0.3157, allocations: 11.94 kB / 0.9553 GB, free: 3.777 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000123/0.3158, allocations: 43.89 kB / 0.9553 GB, free: 3.734 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.3158, allocations: 0 / 0.9553 GB, free: 3.734 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.813e-06/0.3158, allocations: 0 / 0.9553 GB, free: 3.734 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.3158, allocations: 0 / 0.9553 GB, free: 3.734 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.0003792/0.3162, allocations: 331.6 kB / 0.9556 GB, free: 3.363 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.3163, allocations: 8.031 kB / 0.9556 GB, free: 3.355 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.464e-05/0.3163, allocations: 4.875 kB / 0.9556 GB, free: 3.352 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001153/0.3164, allocations: 176.3 kB / 0.9558 GB, free: 3.141 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.622e-05/0.3165, allocations: 26.27 kB / 0.9558 GB, free: 3.109 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.027e-05/0.3165, allocations: 384 / 0.9558 GB, free: 3.109 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001253/0.3166, allocations: 57.55 kB / 0.9559 GB, free: 3.047 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.714e-06/0.3167, allocations: 0 / 0.9559 GB, free: 3.047 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.3167, allocations: 0 / 0.9559 GB, free: 3.047 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.9e-05/0.3167, allocations: 0 / 0.9559 GB, free: 3.047 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.273e-05/0.3167, allocations: 11.98 kB / 0.9559 GB, free: 3.035 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004209/0.3172, allocations: 342 kB / 0.9562 GB, free: 2.633 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 3.484e-05/0.3172, allocations: 26.58 kB / 0.9563 GB, free: 2.598 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.345e-05/0.3172, allocations: 8.797 kB / 0.9563 GB, free: 2.586 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 8.75e-05/0.3173, allocations: 85.16 kB / 0.9563 GB, free: 2.484 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.198e-05/0.3174, allocations: 34.56 kB / 0.9564 GB, free: 2.441 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=1): time 1.162e-06/0.3174, allocations: 0 / 0.9564 GB, free: 2.441 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1): time 0.0001341/0.3175, allocations: 37.64 kB / 0.9564 GB, free: 2.398 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.96e-05/0.3175, allocations: 51.41 kB / 0.9565 GB, free: 2.336 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.21e-05/0.3176, allocations: 105.8 kB / 0.9566 GB, free: 2.223 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.465e-05/0.3177, allocations: 25.7 kB / 0.9566 GB, free: 2.191 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.186e-05/0.3177, allocations: 84.05 kB / 0.9567 GB, free: 2.105 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.611e-06/0.3177, allocations: 4 kB / 0.9567 GB, free: 2.102 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.356e-05/0.3178, allocations: 21.61 kB / 0.9567 GB, free: 2.074 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.942e-05/0.3179, allocations: 322.8 kB / 0.957 GB, free: 1.75 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.49e-05/0.3179, allocations: 8 kB / 0.957 GB, free: 1.742 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.164e-05/0.3179, allocations: 13.91 kB / 0.957 GB, free: 1.723 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.576e-05/0.318, allocations: 25.7 kB / 0.957 GB, free: 1.691 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.318, allocations: 0 / 0.957 GB, free: 1.691 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.891e-05/0.318, allocations: 41.64 kB / 0.9571 GB, free: 1.645 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.3181, allocations: 16.05 kB / 0.9571 GB, free: 1.629 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.3181, allocations: 0 / 0.9571 GB, free: 1.629 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.3181, allocations: 96 / 0.9571 GB, free: 1.629 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.719e-05/0.3181, allocations: 11.98 kB / 0.9571 GB, free: 1.617 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.3181, allocations: 0 / 0.9571 GB, free: 1.617 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.9e-05/0.3182, allocations: 4 kB / 0.9571 GB, free: 1.613 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-06/0.3182, allocations: 0 / 0.9571 GB, free: 1.613 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 7.253e-05/0.3183, allocations: 115.8 kB / 0.9572 GB, free: 1.492 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.54e-05/0.3183, allocations: 3.938 kB / 0.9572 GB, free: 1.488 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001086/0.3184, allocations: 128.9 kB / 0.9574 GB, free: 1.352 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.528e-05/0.3185, allocations: 176.3 kB / 0.9575 GB, free: 1.172 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.907e-05/0.3185, allocations: 180.2 kB / 0.9577 GB, free: 0.9883 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.609e-05/0.3186, allocations: 176.3 kB / 0.9579 GB, free: 0.8086 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002135/0.3188, allocations: 413.1 kB / 0.9583 GB, free: 356 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.008e-05/0.3188, allocations: 109 kB / 0.9584 GB, free: 240 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.261e-05/0.3189, allocations: 105 kB / 0.9585 GB, free: 128 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.868e-05/0.319, allocations: 180.2 kB / 0.9586 GB, free: 15.94 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.021e-05/0.319, allocations: 176.3 kB / 0.9588 GB, free: 15.76 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.662e-05/0.3191, allocations: 184.2 kB / 0.959 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.969e-05/0.3192, allocations: 188.2 kB / 0.9592 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001269/0.3193, allocations: 307.7 kB / 0.9594 GB, free: 15.06 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 6.297e-05/0.3194, allocations: 186 kB / 0.9596 GB, free: 14.85 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.843e-05/0.3194, allocations: 188.2 kB / 0.9598 GB, free: 14.66 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000141/0.3196, allocations: 105 kB / 0.9599 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.212e-05/0.3197, allocations: 180.3 kB / 0.9601 GB, free: 14.37 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.31e-05/0.3197, allocations: 108.9 kB / 0.9602 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 4.721e-05/0.3197, allocations: 87.27 kB / 0.9603 GB, free: 14.17 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3198, allocations: 0 / 0.9603 GB, free: 14.17 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002379/0.32, allocations: 15.94 kB / 0.9603 GB, free: 14.15 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.0002355/0.3202, allocations: 210.4 kB / 0.9605 GB, free: 13.93 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 6.477e-05/0.3203, allocations: 4 kB / 0.9605 GB, free: 13.93 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3203, allocations: 0 / 0.9605 GB, free: 13.93 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 4.108e-06/0.3203, allocations: 3.938 kB / 0.9605 GB, free: 13.93 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003582/0.3207, allocations: 462.7 kB / 0.9609 GB, free: 13.47 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002364/0.3209, allocations: 182.1 kB / 0.9611 GB, free: 13.27 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002231/0.3212, allocations: 0.6768 MB / 0.9618 GB, free: 12.57 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 3.446e-05/0.3212, allocations: 4 kB / 0.9618 GB, free: 12.56 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.577e-05/0.3212, allocations: 7.438 kB / 0.9618 GB, free: 12.55 MB / 0.7481 GB Notification: Performance of SimCode: time 2.6e-07/0.3212, allocations: 4 kB / 0.9618 GB, free: 12.55 MB / 0.7481 GB Notification: Performance of Templates: time 0.002706/0.324, allocations: 0.6506 MB / 0.9624 GB, free: 11.91 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 cvode -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