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.007295/0.007295, allocations: 99.72 kB / 15.73 MB, free: 6.496 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.002186/0.002186, allocations: 204.4 kB / 16.68 MB, free: 6.367 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.257/1.257, allocations: 222.9 MB / 240.4 MB, free: 4.32 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.442/2.442, allocations: 469.8 MB / 0.7425 GB, free: 7.324 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001638/0.001638, allocations: 67.89 kB / 1.065 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2471/0.2487, allocations: 159.1 MB / 1.22 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.5928/0.8416, allocations: 147.8 MB / 1.365 GB, free: 0.8203 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0001163/0.8417, allocations: 59.38 kB / 1.365 GB, free: 0.7852 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.908e-05/0.8417, allocations: 0 / 1.365 GB, free: 0.7852 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 9.008e-05/0.8418, allocations: 1.406 kB / 1.365 GB, free: 0.7852 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.612e-05/0.8419, allocations: 17.7 kB / 1.365 GB, free: 0.7734 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003865/0.8423, allocations: 102.4 kB / 1.365 GB, free: 0.7266 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.569e-05/0.8424, allocations: 41.97 kB / 1.365 GB, free: 0.707 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 3.132e-05/0.8425, allocations: 3 kB / 1.365 GB, free: 0.707 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 3.324e-05/0.8425, allocations: 15.28 kB / 1.365 GB, free: 0.7031 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.722e-05/0.8426, allocations: 11.84 kB / 1.365 GB, free: 0.6992 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.142e-05/0.8426, allocations: 1.062 kB / 1.365 GB, free: 0.6992 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002279/0.8428, allocations: 89.09 kB / 1.365 GB, free: 0.6602 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.621e-05/0.8429, allocations: 11.16 kB / 1.365 GB, free: 0.6562 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.549e-05/0.8429, allocations: 10.66 kB / 1.365 GB, free: 0.6523 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001444/0.843, allocations: 71.75 kB / 1.365 GB, free: 0.6367 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 2.706e-06/0.843, allocations: 1.125 kB / 1.365 GB, free: 0.6367 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.132e-06/0.8431, allocations: 4 kB / 1.365 GB, free: 0.6328 MB / 1.061 GB Notification: Performance of Transformations before backend: time 3.607e-06/0.8431, allocations: 0 / 1.365 GB, free: 0.6328 MB / 1.061 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.0003505/0.8434, allocations: 333.8 kB / 1.365 GB, free: 284 kB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 2.877e-05/0.8434, allocations: 10.47 kB / 1.365 GB, free: 284 kB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.45e-05/0.8435, allocations: 36.86 kB / 1.365 GB, free: 240 kB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001782/0.8437, allocations: 17.02 kB / 1.365 GB, free: 240 kB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001107/0.8438, allocations: 166.8 kB / 1.365 GB, free: 36 kB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.174e-05/0.8439, allocations: 38.27 kB / 1.366 GB, free: 15.99 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.843e-06/0.8439, allocations: 0 / 1.366 GB, free: 15.99 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001111/0.844, allocations: 50.44 kB / 1.366 GB, free: 15.95 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.844, allocations: 0 / 1.366 GB, free: 15.95 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.467e-06/0.844, allocations: 1.906 kB / 1.366 GB, free: 15.95 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.443e-05/0.844, allocations: 2.812 kB / 1.366 GB, free: 15.95 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.684e-05/0.8441, allocations: 18.58 kB / 1.366 GB, free: 15.95 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003328/0.8444, allocations: 263.3 kB / 1.366 GB, free: 15.67 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 3.548e-05/0.8445, allocations: 20.16 kB / 1.366 GB, free: 15.64 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.356e-05/0.8445, allocations: 6.203 kB / 1.366 GB, free: 15.63 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 4.489e-06/0.8445, allocations: 1.25 kB / 1.366 GB, free: 15.63 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.736e-05/0.8445, allocations: 32.69 kB / 1.366 GB, free: 15.59 MB / 1.076 GB Notification: Performance of pre-optimization done (n=1): time 2.575e-06/0.8445, allocations: 0 / 1.366 GB, free: 15.59 MB / 1.076 GB Notification: Performance of matching and sorting (n=1): time 0.0001264/0.8447, allocations: 44.78 kB / 1.366 GB, free: 15.55 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.367e-05/0.8447, allocations: 51.41 kB / 1.366 GB, free: 15.49 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.764e-05/0.8448, allocations: 109.1 kB / 1.366 GB, free: 15.38 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.847e-05/0.8448, allocations: 25.7 kB / 1.366 GB, free: 15.35 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 4.903e-05/0.8449, allocations: 92.52 kB / 1.366 GB, free: 15.26 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 8.015e-06/0.8449, allocations: 3.984 kB / 1.366 GB, free: 15.26 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.128e-05/0.8449, allocations: 26.95 kB / 1.366 GB, free: 15.23 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.000111/0.845, allocations: 313.2 kB / 1.367 GB, free: 14.92 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.557e-05/0.8451, allocations: 11.75 kB / 1.367 GB, free: 14.91 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.522e-05/0.8451, allocations: 21.95 kB / 1.367 GB, free: 14.89 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.28e-05/0.8451, allocations: 32.23 kB / 1.367 GB, free: 14.86 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.8451, allocations: 0 / 1.367 GB, free: 14.86 MB / 1.076 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.934e-05/0.8452, allocations: 57.44 kB / 1.367 GB, free: 14.81 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/0.8452, allocations: 9.25 kB / 1.367 GB, free: 14.81 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.8452, allocations: 1.906 kB / 1.367 GB, free: 14.81 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.709e-06/0.8453, allocations: 1.125 kB / 1.367 GB, free: 14.81 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.772e-05/0.8453, allocations: 6.547 kB / 1.367 GB, free: 14.81 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.8453, allocations: 5.281 kB / 1.367 GB, free: 14.8 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.37e-05/0.8454, allocations: 1.219 kB / 1.367 GB, free: 14.8 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.689e-06/0.8454, allocations: 2.156 kB / 1.367 GB, free: 14.8 MB / 1.076 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 7.241e-05/0.8454, allocations: 121.9 kB / 1.367 GB, free: 14.68 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.29e-05/0.8455, allocations: 2.109 kB / 1.367 GB, free: 14.68 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.396e-05/0.8455, allocations: 5.188 kB / 1.367 GB, free: 14.68 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.8455, allocations: 0 / 1.367 GB, free: 14.68 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.8455, allocations: 6.094 kB / 1.367 GB, free: 14.67 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.8455, allocations: 4.594 kB / 1.367 GB, free: 14.67 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002489/0.8458, allocations: 347.8 kB / 1.367 GB, free: 14.28 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.8458, allocations: 1.312 kB / 1.367 GB, free: 14.28 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.301e-05/0.8458, allocations: 3.188 kB / 1.367 GB, free: 14.28 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.8458, allocations: 8.062 kB / 1.367 GB, free: 14.27 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.278e-06/0.8458, allocations: 1.469 kB / 1.367 GB, free: 14.27 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.8458, allocations: 0.6094 kB / 1.367 GB, free: 14.27 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.8458, allocations: 3.984 kB / 1.367 GB, free: 14.27 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.352e-05/0.8459, allocations: 58.19 kB / 1.367 GB, free: 14.2 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 4.389e-05/0.8459, allocations: 79.2 kB / 1.367 GB, free: 14.11 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.5e-05/0.846, allocations: 8.672 kB / 1.367 GB, free: 14.1 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.156e-05/0.846, allocations: 8.188 kB / 1.367 GB, free: 14.1 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.528e-06/0.8461, allocations: 3.938 kB / 1.367 GB, free: 14.09 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.284e-06/0.8461, allocations: 3.047 kB / 1.367 GB, free: 14.09 MB / 1.076 GB Notification: Performance of sorting global known variables: time 4.425e-05/0.8461, allocations: 85.55 kB / 1.367 GB, free: 14.02 MB / 1.076 GB Notification: Performance of sort global known variables: time 1e-07/0.8461, allocations: 0 / 1.367 GB, free: 14.02 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0001667/0.8463, allocations: 6.656 kB / 1.367 GB, free: 14.02 MB / 1.076 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.000316/0.8466, allocations: 0.5979 MB / 1.368 GB, free: 13.42 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 6.421e-05/0.8467, allocations: 18.06 kB / 1.368 GB, free: 13.41 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.8467, allocations: 0 / 1.368 GB, free: 13.41 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 4.569e-06/0.8467, allocations: 2.438 kB / 1.368 GB, free: 13.41 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001874/0.8469, allocations: 5.719 kB / 1.368 GB, free: 13.41 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000289/0.8472, allocations: 141.7 kB / 1.368 GB, free: 13.26 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002514/0.8474, allocations: 0.676 MB / 1.369 GB, free: 12.57 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 3.968e-05/0.8475, allocations: 5.578 kB / 1.369 GB, free: 12.57 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.349e-05/0.8475, allocations: 9.688 kB / 1.369 GB, free: 12.56 MB / 1.076 GB Notification: Performance of SimCode: time 2.044e-06/0.8475, allocations: 0 / 1.369 GB, free: 12.56 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.892/5.739, allocations: 1.37 MB / 1.37 GB, free: 12.23 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.349/15.09, allocations: 13.45 kB / 1.37 GB, free: 12.22 MB / 1.076 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