Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="Buildings_11_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="Buildings_11_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.001556/0.001556, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001749/0.001749, allocations: 194.5 kB / 16.53 MB, free: 6.391 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.377/1.377, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.485/2.485, allocations: 469.8 MB / 0.7424 GB, free: 7.492 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001732/0.001732, allocations: 63.05 kB / 0.9086 GB, free: 34.31 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2383/0.24, allocations: 159.2 MB / 1.064 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1446/0.3847, allocations: 147.8 MB / 1.208 GB, free: 9.867 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001176/0.3848, allocations: 51.8 kB / 1.208 GB, free: 9.816 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.881e-05/0.3849, allocations: 0 / 1.208 GB, free: 9.816 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 8.449e-05/0.385, allocations: 3.984 kB / 1.208 GB, free: 9.812 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.083e-05/0.3851, allocations: 11.94 kB / 1.209 GB, free: 9.801 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003943/0.3855, allocations: 108.5 kB / 1.209 GB, free: 9.695 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.764e-05/0.3855, allocations: 35.91 kB / 1.209 GB, free: 9.66 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.062e-05/0.3856, allocations: 0 / 1.209 GB, free: 9.66 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.681e-05/0.3856, allocations: 15.92 kB / 1.209 GB, free: 9.645 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.446e-05/0.3857, allocations: 15.92 kB / 1.209 GB, free: 9.629 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.02e-05/0.3857, allocations: 4 kB / 1.209 GB, free: 9.625 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002323/0.3859, allocations: 87.72 kB / 1.209 GB, free: 9.539 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.689e-05/0.386, allocations: 7.984 kB / 1.209 GB, free: 9.531 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.035e-05/0.386, allocations: 19.92 kB / 1.209 GB, free: 9.512 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001434/0.3862, allocations: 60.14 kB / 1.209 GB, free: 9.453 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.3862, allocations: 3.938 kB / 1.209 GB, free: 9.449 MB / 0.9669 GB Notification: Performance of FrontEnd: time 9.02e-07/0.3862, allocations: 0 / 1.209 GB, free: 9.449 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.037e-06/0.3862, allocations: 0 / 1.209 GB, free: 9.449 MB / 0.9669 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.0003569/0.3866, allocations: 335.6 kB / 1.209 GB, free: 9.074 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.168e-05/0.3866, allocations: 12.03 kB / 1.209 GB, free: 9.062 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.583e-05/0.3866, allocations: 38.69 kB / 1.209 GB, free: 9.016 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001913/0.3868, allocations: 20.83 kB / 1.209 GB, free: 8.996 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001236/0.387, allocations: 176.1 kB / 1.209 GB, free: 8.785 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.582e-05/0.387, allocations: 25.7 kB / 1.209 GB, free: 8.754 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.312e-06/0.387, allocations: 3.938 kB / 1.209 GB, free: 8.75 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001157/0.3872, allocations: 49.67 kB / 1.209 GB, free: 8.695 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.412e-06/0.3872, allocations: 4 kB / 1.209 GB, free: 8.691 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.3872, allocations: 3.984 kB / 1.209 GB, free: 8.688 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.46e-05/0.3872, allocations: 4 kB / 1.209 GB, free: 8.684 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.657e-05/0.3873, allocations: 15.98 kB / 1.21 GB, free: 8.668 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003442/0.3876, allocations: 256.9 kB / 1.21 GB, free: 8.367 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 3.354e-05/0.3877, allocations: 22.52 kB / 1.21 GB, free: 8.336 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.416e-05/0.3877, allocations: 8.859 kB / 1.21 GB, free: 8.324 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 4.418e-06/0.3877, allocations: 0 / 1.21 GB, free: 8.324 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.398e-05/0.3877, allocations: 30.56 kB / 1.21 GB, free: 8.285 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 7.41e-07/0.3877, allocations: 0 / 1.21 GB, free: 8.285 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0001202/0.3878, allocations: 41.75 kB / 1.21 GB, free: 8.238 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.431e-05/0.3879, allocations: 55.34 kB / 1.21 GB, free: 8.172 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.919e-05/0.388, allocations: 105.8 kB / 1.21 GB, free: 8.059 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.001e-05/0.388, allocations: 33.81 kB / 1.21 GB, free: 8.02 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.611e-05/0.388, allocations: 87.95 kB / 1.21 GB, free: 7.93 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.017e-06/0.3881, allocations: 4 kB / 1.21 GB, free: 7.926 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.172e-05/0.3881, allocations: 17.72 kB / 1.21 GB, free: 7.902 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001132/0.3882, allocations: 310.8 kB / 1.21 GB, free: 7.59 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.947e-05/0.3882, allocations: 11.98 kB / 1.21 GB, free: 7.578 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.763e-05/0.3883, allocations: 18.59 kB / 1.21 GB, free: 7.551 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.521e-05/0.3883, allocations: 34.52 kB / 1.211 GB, free: 7.508 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.3883, allocations: 0 / 1.211 GB, free: 7.508 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.041e-05/0.3884, allocations: 57.53 kB / 1.211 GB, free: 7.445 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/0.3884, allocations: 5.406 kB / 1.211 GB, free: 7.441 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.3884, allocations: 4 kB / 1.211 GB, free: 7.438 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.046e-05/0.3884, allocations: 0 / 1.211 GB, free: 7.438 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.216e-05/0.3885, allocations: 16.02 kB / 1.211 GB, free: 7.422 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.3885, allocations: 4 kB / 1.211 GB, free: 7.418 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.452e-05/0.3886, allocations: 4.188 kB / 1.211 GB, free: 7.414 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.346e-06/0.3886, allocations: 0 / 1.211 GB, free: 7.414 MB / 0.9669 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 9.226e-05/0.3887, allocations: 117.8 kB / 1.211 GB, free: 7.289 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.514e-05/0.3887, allocations: 7.938 kB / 1.211 GB, free: 7.281 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.368e-05/0.3887, allocations: 7.125 kB / 1.211 GB, free: 7.277 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.3887, allocations: 3.938 kB / 1.211 GB, free: 7.273 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.3887, allocations: 0 / 1.211 GB, free: 7.273 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.663e-06/0.3887, allocations: 4 kB / 1.211 GB, free: 7.27 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002516/0.389, allocations: 346.7 kB / 1.211 GB, free: 6.871 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.389, allocations: 0 / 1.211 GB, free: 6.871 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.435e-05/0.389, allocations: 3.938 kB / 1.211 GB, free: 6.867 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/0.389, allocations: 4 kB / 1.211 GB, free: 6.863 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.917e-06/0.389, allocations: 0 / 1.211 GB, free: 6.863 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.91e-07/0.389, allocations: 0 / 1.211 GB, free: 6.863 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.389, allocations: 0 / 1.211 GB, free: 6.863 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.231e-05/0.3891, allocations: 73.08 kB / 1.211 GB, free: 6.773 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.039e-05/0.3892, allocations: 81.05 kB / 1.211 GB, free: 6.676 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.363e-05/0.3892, allocations: 3.938 kB / 1.211 GB, free: 6.672 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.583e-05/0.3893, allocations: 4 kB / 1.211 GB, free: 6.668 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.838e-06/0.3893, allocations: 3.984 kB / 1.211 GB, free: 6.664 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.412e-06/0.3893, allocations: 0 / 1.211 GB, free: 6.664 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.659e-05/0.3893, allocations: 83.28 kB / 1.211 GB, free: 6.582 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3893, allocations: 4.031 kB / 1.211 GB, free: 6.578 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001737/0.3895, allocations: 8 kB / 1.211 GB, free: 6.57 MB / 0.9669 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.0003178/0.3898, allocations: 0.5951 MB / 1.212 GB, free: 5.949 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 7.364e-05/0.3899, allocations: 20.09 kB / 1.212 GB, free: 5.93 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.3899, allocations: 4.062 kB / 1.212 GB, free: 5.926 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 7.605e-06/0.3899, allocations: 4 kB / 1.212 GB, free: 5.922 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001921/0.3901, allocations: 7.984 kB / 1.212 GB, free: 5.914 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003037/0.3905, allocations: 132.2 kB / 1.212 GB, free: 5.742 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002594/0.3907, allocations: 0.6806 MB / 1.213 GB, free: 5.035 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 4.97e-05/0.3908, allocations: 12.14 kB / 1.213 GB, free: 5.023 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.273e-05/0.3908, allocations: 7.438 kB / 1.213 GB, free: 5.016 MB / 0.9669 GB Notification: Performance of SimCode: time 2.7e-07/0.3908, allocations: 0 / 1.213 GB, free: 5.016 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7238/1.115, allocations: 1.336 MB / 1.214 GB, free: 3.805 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.5/12.62, allocations: 6.812 kB / 1.214 GB, free: 3.801 MB / 0.9669 GB (rm -f Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_11_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.fmu > Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches