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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001262/0.001262, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001272/0.001272, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.256/1.256, allocations: 222.9 MB / 239.8 MB, free: 4.637 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.522/2.522, allocations: 461.8 MB / 0.7342 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 61.23 kB / 0.8985 GB, free: 37.03 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2309/0.2321, allocations: 157.4 MB / 1.052 GB, free: 8.238 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1312/0.3633, allocations: 145.6 MB / 1.194 GB, free: 6.094 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0001213/0.3635, allocations: 51.73 kB / 1.194 GB, free: 6.047 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.735e-05/0.3635, allocations: 0 / 1.194 GB, free: 6.047 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 9.504e-05/0.3636, allocations: 3.938 kB / 1.194 GB, free: 6.043 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 6.769e-05/0.3637, allocations: 11.98 kB / 1.194 GB, free: 6.031 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004009/0.3641, allocations: 106.9 kB / 1.195 GB, free: 5.93 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 8.599e-05/0.3642, allocations: 55.88 kB / 1.195 GB, free: 5.875 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 2.959e-05/0.3643, allocations: 0 / 1.195 GB, free: 5.875 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 3.951e-05/0.3643, allocations: 23.92 kB / 1.195 GB, free: 5.852 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 6.343e-05/0.3644, allocations: 15.92 kB / 1.195 GB, free: 5.836 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.246e-05/0.3644, allocations: 0 / 1.195 GB, free: 5.836 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002449/0.3646, allocations: 79.72 kB / 1.195 GB, free: 5.758 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 4.1e-05/0.3647, allocations: 7.984 kB / 1.195 GB, free: 5.75 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.482e-05/0.3647, allocations: 15.94 kB / 1.195 GB, free: 5.734 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001569/0.3649, allocations: 80.05 kB / 1.195 GB, free: 5.656 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.3649, allocations: 3.938 kB / 1.195 GB, free: 5.652 MB / 0.9512 GB Notification: Performance of FrontEnd: time 7.12e-07/0.3649, allocations: 0 / 1.195 GB, free: 5.652 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.482e-06/0.3649, allocations: 0 / 1.195 GB, free: 5.652 MB / 0.9512 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.00033/0.3653, allocations: 327.6 kB / 1.195 GB, free: 5.285 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.3653, allocations: 12.03 kB / 1.195 GB, free: 5.273 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.05e-05/0.3653, allocations: 34.75 kB / 1.195 GB, free: 5.23 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002225/0.3656, allocations: 28.89 kB / 1.195 GB, free: 5.203 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001019/0.3657, allocations: 172 kB / 1.195 GB, free: 4.996 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.154e-05/0.3657, allocations: 25.7 kB / 1.195 GB, free: 4.965 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.826e-06/0.3658, allocations: 4 kB / 1.195 GB, free: 4.961 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001172/0.3659, allocations: 41.69 kB / 1.195 GB, free: 4.914 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.3659, allocations: 0 / 1.195 GB, free: 4.914 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/0.3659, allocations: 11.92 kB / 1.195 GB, free: 4.902 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.497e-05/0.3659, allocations: 0 / 1.195 GB, free: 4.902 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.345e-05/0.366, allocations: 23.98 kB / 1.195 GB, free: 4.879 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003412/0.3663, allocations: 252.9 kB / 1.196 GB, free: 4.582 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 3.551e-05/0.3664, allocations: 18.61 kB / 1.196 GB, free: 4.555 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.845e-05/0.3664, allocations: 8.922 kB / 1.196 GB, free: 4.543 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 6.933e-06/0.3664, allocations: 0 / 1.196 GB, free: 4.543 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.808e-05/0.3664, allocations: 38.5 kB / 1.196 GB, free: 4.496 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=1): time 7.61e-07/0.3665, allocations: 0 / 1.196 GB, free: 4.496 MB / 0.9512 GB Notification: Performance of matching and sorting (n=1): time 0.0001211/0.3666, allocations: 33.7 kB / 1.196 GB, free: 4.457 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.264e-05/0.3666, allocations: 55.34 kB / 1.196 GB, free: 4.391 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.262e-05/0.3667, allocations: 105.8 kB / 1.196 GB, free: 4.277 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.196e-05/0.3667, allocations: 29.7 kB / 1.196 GB, free: 4.242 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.116e-05/0.3668, allocations: 91.94 kB / 1.196 GB, free: 4.148 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.027e-06/0.3668, allocations: 128 / 1.196 GB, free: 4.148 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.234e-05/0.3668, allocations: 25.7 kB / 1.196 GB, free: 4.117 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 8.516e-05/0.3669, allocations: 310.8 kB / 1.196 GB, free: 3.805 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.692e-05/0.3669, allocations: 8 kB / 1.196 GB, free: 3.797 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.635e-05/0.367, allocations: 26.5 kB / 1.196 GB, free: 3.762 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.971e-05/0.367, allocations: 30.58 kB / 1.196 GB, free: 3.723 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.367, allocations: 4.188 kB / 1.196 GB, free: 3.719 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.27e-05/0.3671, allocations: 57.62 kB / 1.197 GB, free: 3.656 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.3671, allocations: 4 kB / 1.197 GB, free: 3.652 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.3671, allocations: 4 kB / 1.197 GB, free: 3.648 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.828e-06/0.3672, allocations: 0 / 1.197 GB, free: 3.648 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.888e-05/0.3672, allocations: 15.88 kB / 1.197 GB, free: 3.633 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.9e-06/0.3672, allocations: 3.938 kB / 1.197 GB, free: 3.629 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.986e-05/0.3673, allocations: 4 kB / 1.197 GB, free: 3.625 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.048e-06/0.3673, allocations: 8 kB / 1.197 GB, free: 3.617 MB / 0.9512 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 6.506e-05/0.3674, allocations: 121.8 kB / 1.197 GB, free: 3.488 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.629e-05/0.3674, allocations: 0 / 1.197 GB, free: 3.488 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.367e-05/0.3674, allocations: 3.125 kB / 1.197 GB, free: 3.488 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.3674, allocations: 3.938 kB / 1.197 GB, free: 3.484 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.3674, allocations: 0 / 1.197 GB, free: 3.484 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.633e-06/0.3674, allocations: 0 / 1.197 GB, free: 3.484 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002338/0.3677, allocations: 346.8 kB / 1.197 GB, free: 3.086 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.3677, allocations: 0 / 1.197 GB, free: 3.086 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.645e-05/0.3677, allocations: 11.86 kB / 1.197 GB, free: 3.074 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.3677, allocations: 0 / 1.197 GB, free: 3.074 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.689e-06/0.3677, allocations: 0 / 1.197 GB, free: 3.074 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-06/0.3677, allocations: 0 / 1.197 GB, free: 3.074 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3677, allocations: 0 / 1.197 GB, free: 3.074 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.803e-05/0.3678, allocations: 61.17 kB / 1.197 GB, free: 2.996 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.629e-05/0.3678, allocations: 84.95 kB / 1.197 GB, free: 2.895 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.828e-05/0.3679, allocations: 8.078 kB / 1.197 GB, free: 2.887 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.134e-05/0.368, allocations: 0 / 1.197 GB, free: 2.887 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.313e-05/0.368, allocations: 3.984 kB / 1.197 GB, free: 2.883 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.673e-06/0.368, allocations: 0 / 1.197 GB, free: 2.883 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 3.948e-05/0.368, allocations: 87.28 kB / 1.197 GB, free: 2.797 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/0.368, allocations: 0 / 1.197 GB, free: 2.797 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0001909/0.3682, allocations: 4 kB / 1.197 GB, free: 2.793 MB / 0.9512 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.0002795/0.3685, allocations: 0.6007 MB / 1.198 GB, free: 2.164 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 6.44e-05/0.3686, allocations: 19.98 kB / 1.198 GB, free: 2.145 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3686, allocations: 3.938 kB / 1.198 GB, free: 2.141 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 4.679e-06/0.3686, allocations: 0 / 1.198 GB, free: 2.141 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002271/0.3688, allocations: 8.281 kB / 1.198 GB, free: 2.133 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000321/0.3692, allocations: 142 kB / 1.198 GB, free: 1.953 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000192/0.3694, allocations: 0.6809 MB / 1.199 GB, free: 1.246 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 5.466e-05/0.3694, allocations: 4 kB / 1.199 GB, free: 1.242 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.836e-05/0.3695, allocations: 15.42 kB / 1.199 GB, free: 1.227 MB / 0.9512 GB Notification: Performance of SimCode: time 2.3e-07/0.3695, allocations: 0 / 1.199 GB, free: 1.227 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1134/0.4829, allocations: 1.222 MB / 1.2 GB, free: 184 kB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001953/0.4831, allocations: 243.1 kB / 1.2 GB, free: 15.93 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.647/2.13, allocations: 6.25 kB / 1.2 GB, free: 15.92 MB / 0.9669 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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