Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.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: "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="Buildings_9_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="Buildings_9_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008539/0.0008539, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.00501/0.00501, allocations: 169.6 kB / 16.26 MB, free: 6.676 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.273/1.273, allocations: 223.3 MB / 240.3 MB, free: 5.34 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.163/2.163, allocations: 390.9 MB / 0.6664 GB, free: 2.332 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003197/0.0003196, allocations: 12 kB / 0.8161 GB, free: 13.1 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5667/0.5671, allocations: 142.4 MB / 0.9552 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.00287/0.57, allocations: 2.987 MB / 0.9581 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 7.275e-05/0.5701, allocations: 59.42 kB / 0.9581 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.314e-05/0.5701, allocations: 0 / 0.9581 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 8.064e-05/0.5702, allocations: 5.672 kB / 0.9581 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.064e-05/0.5702, allocations: 5.406 kB / 0.9581 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003918/0.5706, allocations: 176.3 kB / 0.9583 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.646e-05/0.5707, allocations: 56.67 kB / 0.9584 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.133e-05/0.5708, allocations: 5.219 kB / 0.9584 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.388e-05/0.5708, allocations: 21.28 kB / 0.9584 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.744e-05/0.5709, allocations: 7.312 kB / 0.9584 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.087e-05/0.5709, allocations: 1.688 kB / 0.9584 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002526/0.5711, allocations: 175 kB / 0.9586 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.435e-05/0.5712, allocations: 9.703 kB / 0.9586 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.465e-05/0.5712, allocations: 35.11 kB / 0.9586 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002037/0.5714, allocations: 140.6 kB / 0.9587 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.287e-06/0.5714, allocations: 0 / 0.9587 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.563e-06/0.5714, allocations: 0 / 0.9587 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.953e-06/0.5715, allocations: 3.938 kB / 0.9588 GB, free: 4.867 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002464/0.5717, allocations: 339.8 kB / 0.9591 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.345e-05/0.5717, allocations: 9.625 kB / 0.9591 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.517e-05/0.5718, allocations: 36.12 kB / 0.9591 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.395e-05/0.5718, allocations: 2.312 kB / 0.9591 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.325e-05/0.5719, allocations: 161.8 kB / 0.9593 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.485e-05/0.5719, allocations: 35.62 kB / 0.9593 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.028e-05/0.5719, allocations: 5.5 kB / 0.9593 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001125/0.5721, allocations: 45.92 kB / 0.9594 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.602e-06/0.5721, allocations: 1.375 kB / 0.9594 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.5721, allocations: 3.984 kB / 0.9594 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.877e-05/0.5721, allocations: 1.375 kB / 0.9594 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.642e-05/0.5722, allocations: 13.56 kB / 0.9594 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004087/0.5726, allocations: 0.5842 MB / 0.9599 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 2.801e-05/0.5726, allocations: 25.25 kB / 0.96 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.125e-05/0.5726, allocations: 6.234 kB / 0.96 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000132/0.5728, allocations: 340.9 kB / 0.9603 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.634e-05/0.5728, allocations: 31.94 kB / 0.9603 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.5728, allocations: 0 / 0.9603 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001124/0.5729, allocations: 40.52 kB / 0.9604 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.797e-05/0.5729, allocations: 59.42 kB / 0.9604 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.938e-05/0.573, allocations: 104.7 kB / 0.9605 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.025e-06/0.573, allocations: 29.64 kB / 0.9606 GB, free: 2.77 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.467e-05/0.573, allocations: 85.42 kB / 0.9606 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.27e-06/0.573, allocations: 3.984 kB / 0.9606 GB, free: 2.68 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.756e-05/0.5731, allocations: 15.09 kB / 0.9607 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.549e-05/0.5731, allocations: 316.2 kB / 0.961 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.141e-05/0.5731, allocations: 2.75 kB / 0.961 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.612e-05/0.5731, allocations: 24.45 kB / 0.961 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.478e-05/0.5732, allocations: 20.53 kB / 0.961 GB, free: 2.297 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.5732, allocations: 0 / 0.961 GB, free: 2.297 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.832e-05/0.5732, allocations: 47.44 kB / 0.961 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.125e-05/0.5733, allocations: 9.438 kB / 0.9611 GB, free: 2.254 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.676e-06/0.5733, allocations: 0 / 0.9611 GB, free: 2.254 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.558e-06/0.5733, allocations: 5.438 kB / 0.9611 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.576e-05/0.5733, allocations: 4.125 kB / 0.9611 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.5733, allocations: 1.375 kB / 0.9611 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.627e-05/0.5733, allocations: 1.375 kB / 0.9611 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/0.5734, allocations: 1.375 kB / 0.9611 GB, free: 2.25 MB / 0.7169 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 4.207e-05/0.5734, allocations: 115.2 kB / 0.9612 GB, free: 2.129 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.338e-05/0.5734, allocations: 9.266 kB / 0.9612 GB, free: 2.121 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.882e-05/0.5735, allocations: 123.2 kB / 0.9613 GB, free: 1.996 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.838e-05/0.5735, allocations: 180.2 kB / 0.9615 GB, free: 1.812 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.955e-05/0.5736, allocations: 177.6 kB / 0.9616 GB, free: 1.633 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.116e-05/0.5736, allocations: 189.6 kB / 0.9618 GB, free: 1.441 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000114/0.5737, allocations: 403.9 kB / 0.9622 GB, free: 0.9922 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.43e-05/0.5737, allocations: 110.3 kB / 0.9623 GB, free: 0.8789 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.295e-05/0.5737, allocations: 112.9 kB / 0.9624 GB, free: 0.7617 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-05/0.5738, allocations: 177.6 kB / 0.9626 GB, free: 0.582 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.182e-05/0.5738, allocations: 181.6 kB / 0.9628 GB, free: 408 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-05/0.5738, allocations: 181.6 kB / 0.9629 GB, free: 220 kB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.006e-05/0.5738, allocations: 180.5 kB / 0.9631 GB, free: 32 kB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001232/0.574, allocations: 309.3 kB / 0.9634 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.231e-05/0.574, allocations: 191.4 kB / 0.9636 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.678e-05/0.5741, allocations: 177.6 kB / 0.9638 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001415/0.5742, allocations: 113 kB / 0.9639 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.358e-05/0.5743, allocations: 184.2 kB / 0.964 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-05/0.5743, allocations: 102.4 kB / 0.9641 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.707e-05/0.5744, allocations: 80.78 kB / 0.9642 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5744, allocations: 0 / 0.9642 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002609/0.5746, allocations: 43.23 kB / 0.9643 GB, free: 14.82 MB / 0.7325 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.0004227/0.5751, allocations: 0.8625 MB / 0.9651 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 5.456e-05/0.5751, allocations: 13.89 kB / 0.9651 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.5752, allocations: 4.125 kB / 0.9651 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.352e-06/0.5752, allocations: 5.844 kB / 0.9651 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003865/0.5755, allocations: 0.5223 MB / 0.9656 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008728/0.5764, allocations: 1.343 MB / 0.9669 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001925/0.5766, allocations: 0.6727 MB / 0.9676 GB, free: 11.38 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 4.01e-05/0.5767, allocations: 9.75 kB / 0.9676 GB, free: 11.38 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.973e-05/0.5767, allocations: 9.531 kB / 0.9676 GB, free: 11.37 MB / 0.7325 GB Notification: Performance of SimCode: time 2.51e-07/0.5767, allocations: 0 / 0.9676 GB, free: 11.37 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9212/1.498, allocations: 1.956 MB / 0.9695 GB, free: 10.45 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002084/1.498, allocations: 262.4 kB / 0.9698 GB, free: 10.19 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.56/3.058, allocations: 0 / 0.9698 GB, free: 10.19 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_9_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.fmu > Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches