Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="Buildings_latest_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="Buildings_latest_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",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.005128/0.005128, allocations: 99.05 kB / 15.73 MB, free: 6.055 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.001526/0.001526, allocations: 202 kB / 16.68 MB, free: 5.977 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.42/1.42, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.916/2.916, allocations: 482.4 MB / 0.7548 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001942/0.001943, allocations: 59.91 kB / 1.083 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2737/0.2756, allocations: 162.2 MB / 1.241 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.6503/0.926, allocations: 147.8 MB / 1.386 GB, free: 8.191 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.0001374/0.9262, allocations: 54.86 kB / 1.386 GB, free: 8.16 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.173e-05/0.9262, allocations: 0 / 1.386 GB, free: 8.16 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 9.343e-05/0.9263, allocations: 9.391 kB / 1.386 GB, free: 8.152 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 6.923e-05/0.9264, allocations: 10.45 kB / 1.386 GB, free: 8.148 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004396/0.9269, allocations: 111.5 kB / 1.386 GB, free: 8.094 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 8.249e-05/0.9269, allocations: 34.12 kB / 1.386 GB, free: 8.082 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 3.248e-05/0.927, allocations: 5.531 kB / 1.386 GB, free: 8.078 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 3.562e-05/0.927, allocations: 12.44 kB / 1.386 GB, free: 8.078 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 6.251e-05/0.9271, allocations: 15.55 kB / 1.386 GB, free: 8.07 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 1.953e-05/0.9271, allocations: 1.188 kB / 1.386 GB, free: 8.07 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002624/0.9274, allocations: 93.58 kB / 1.386 GB, free: 8.027 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 4.056e-05/0.9274, allocations: 5.625 kB / 1.386 GB, free: 8.027 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 3.136e-05/0.9275, allocations: 6.438 kB / 1.386 GB, free: 8.027 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.0001718/0.9277, allocations: 79.34 kB / 1.386 GB, free: 8.004 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.9277, allocations: 0 / 1.386 GB, free: 8.004 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.102e-06/0.9277, allocations: 0 / 1.386 GB, free: 8.004 MB / 1.092 GB Notification: Performance of Transformations before backend: time 3.878e-06/0.9277, allocations: 1.219 kB / 1.386 GB, free: 8.004 MB / 1.092 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003986/0.9281, allocations: 338.8 kB / 1.387 GB, free: 7.645 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.33e-05/0.9281, allocations: 9.812 kB / 1.387 GB, free: 7.645 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.746e-05/0.9282, allocations: 33.28 kB / 1.387 GB, free: 7.605 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002034/0.9284, allocations: 21.12 kB / 1.387 GB, free: 7.602 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001374/0.9285, allocations: 165.6 kB / 1.387 GB, free: 7.402 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.973e-05/0.9286, allocations: 38.77 kB / 1.387 GB, free: 7.363 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.126e-05/0.9286, allocations: 1.125 kB / 1.387 GB, free: 7.363 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001185/0.9287, allocations: 45.97 kB / 1.387 GB, free: 7.328 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.9288, allocations: 3.938 kB / 1.387 GB, free: 7.324 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/0.9288, allocations: 5.344 kB / 1.387 GB, free: 7.32 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.563e-05/0.9288, allocations: 1.375 kB / 1.387 GB, free: 7.32 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.151e-05/0.9288, allocations: 17.05 kB / 1.387 GB, free: 7.316 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003768/0.9292, allocations: 261.3 kB / 1.387 GB, free: 7.039 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 4.249e-05/0.9293, allocations: 23.67 kB / 1.387 GB, free: 7.008 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.706e-05/0.9293, allocations: 6.203 kB / 1.387 GB, free: 7 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 8.566e-06/0.9293, allocations: 1.312 kB / 1.387 GB, free: 7 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.136e-05/0.9294, allocations: 37.64 kB / 1.387 GB, free: 6.957 MB / 1.092 GB Notification: Performance of pre-optimization done (n=1): time 1.172e-06/0.9294, allocations: 1.281 kB / 1.387 GB, free: 6.957 MB / 1.092 GB Notification: Performance of matching and sorting (n=1): time 0.0001256/0.9295, allocations: 30.77 kB / 1.387 GB, free: 6.926 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.842e-05/0.9295, allocations: 56.78 kB / 1.387 GB, free: 6.859 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.349e-05/0.9296, allocations: 108.9 kB / 1.387 GB, free: 6.754 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 1.82e-05/0.9297, allocations: 29.7 kB / 1.387 GB, free: 6.719 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 5.306e-05/0.9297, allocations: 92.95 kB / 1.388 GB, free: 6.629 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 4.419e-06/0.9297, allocations: 1.531 kB / 1.388 GB, free: 6.629 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.607e-05/0.9298, allocations: 19.59 kB / 1.388 GB, free: 6.609 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001317/0.9299, allocations: 312.5 kB / 1.388 GB, free: 6.297 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.797e-05/0.9299, allocations: 6.969 kB / 1.388 GB, free: 6.293 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.426e-05/0.93, allocations: 33.7 kB / 1.388 GB, free: 6.258 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.33e-05/0.93, allocations: 29.59 kB / 1.388 GB, free: 6.23 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.93, allocations: 0 / 1.388 GB, free: 6.23 MB / 1.092 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.865e-05/0.9301, allocations: 57.11 kB / 1.388 GB, free: 6.188 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/0.9301, allocations: 5.312 kB / 1.388 GB, free: 6.188 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.9301, allocations: 1.25 kB / 1.388 GB, free: 6.188 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.9302, allocations: 5.156 kB / 1.388 GB, free: 6.184 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.884e-05/0.9302, allocations: 9.125 kB / 1.388 GB, free: 6.18 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.9302, allocations: 5.344 kB / 1.388 GB, free: 6.176 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.896e-05/0.9303, allocations: 1.406 kB / 1.388 GB, free: 6.176 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.681e-06/0.9303, allocations: 7.438 kB / 1.388 GB, free: 6.176 MB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (4): * Single equations (assignments): 4 * 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.287e-05/0.9304, allocations: 112.3 kB / 1.388 GB, free: 6.059 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.593e-05/0.9304, allocations: 1.406 kB / 1.388 GB, free: 6.059 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.086e-05/0.9304, allocations: 12.33 kB / 1.388 GB, free: 6.051 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.9305, allocations: 4 kB / 1.388 GB, free: 6.047 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.9305, allocations: 3.938 kB / 1.388 GB, free: 6.043 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.9305, allocations: 2.938 kB / 1.388 GB, free: 6.043 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002839/0.9308, allocations: 342 kB / 1.388 GB, free: 5.664 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.9308, allocations: 3.938 kB / 1.388 GB, free: 5.66 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.669e-05/0.9308, allocations: 1.156 kB / 1.388 GB, free: 5.66 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.9308, allocations: 9.156 kB / 1.388 GB, free: 5.652 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.468e-06/0.9308, allocations: 0 / 1.388 GB, free: 5.652 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.9308, allocations: 0 / 1.388 GB, free: 5.652 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.9308, allocations: 5.281 kB / 1.388 GB, free: 5.648 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.445e-05/0.9309, allocations: 62.83 kB / 1.389 GB, free: 5.578 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 4.838e-05/0.931, allocations: 82.33 kB / 1.389 GB, free: 5.48 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.598e-05/0.931, allocations: 96 / 1.389 GB, free: 5.48 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.309e-05/0.9311, allocations: 5.891 kB / 1.389 GB, free: 5.48 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.686e-05/0.9311, allocations: 5.359 kB / 1.389 GB, free: 5.477 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.345e-06/0.9311, allocations: 2.062 kB / 1.389 GB, free: 5.477 MB / 1.092 GB Notification: Performance of sorting global known variables: time 5.067e-05/0.9312, allocations: 91.48 kB / 1.389 GB, free: 5.395 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9312, allocations: 0 / 1.389 GB, free: 5.395 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0001976/0.9314, allocations: 6.375 kB / 1.389 GB, free: 5.395 MB / 1.092 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 (1): * Single equations (assignments): 1 * 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.0003626/0.9317, allocations: 0.6018 MB / 1.389 GB, free: 4.789 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 7.567e-05/0.9318, allocations: 18.97 kB / 1.389 GB, free: 4.781 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.9318, allocations: 1.281 kB / 1.389 GB, free: 4.781 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 5.33e-06/0.9318, allocations: 1.312 kB / 1.389 GB, free: 4.781 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002225/0.9321, allocations: 8.828 kB / 1.389 GB, free: 4.777 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003378/0.9324, allocations: 136.2 kB / 1.389 GB, free: 4.629 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002864/0.9327, allocations: 0.676 MB / 1.39 GB, free: 3.934 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 4.642e-05/0.9328, allocations: 10.66 kB / 1.39 GB, free: 3.93 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.636e-05/0.9328, allocations: 9 kB / 1.39 GB, free: 3.922 MB / 1.092 GB Notification: Performance of SimCode: time 2.7e-07/0.9328, allocations: 0 / 1.39 GB, free: 3.922 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02085/0.9537, allocations: 1.382 MB / 1.391 GB, free: 3.25 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.503/8.457, allocations: 7.656 kB / 1.391 GB, free: 3.246 MB / 1.092 GB (rm -f Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.fmu > Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches