Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="Buildings_9_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="Buildings_9_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.0008502/0.0008503, allocations: 89.89 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.004868/0.004868, allocations: 171.4 kB / 16.26 MB, free: 6.613 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.217/1.217, allocations: 223.3 MB / 240.3 MB, free: 5.328 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.106/2.106, allocations: 390.9 MB / 0.6664 GB, free: 2.332 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00028/0.00028, allocations: 8 kB / 0.8161 GB, free: 13.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5439/0.5442, allocations: 142.4 MB / 0.9552 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1256/0.6698, allocations: 143.7 MB / 1.096 GB, free: 15.06 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001032/0.6699, allocations: 55.67 kB / 1.096 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.574e-05/0.67, allocations: 4 kB / 1.096 GB, free: 15 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 8.453e-05/0.6701, allocations: 3.984 kB / 1.096 GB, free: 15 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.092e-05/0.6701, allocations: 7.938 kB / 1.096 GB, free: 14.99 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003421/0.6705, allocations: 98.97 kB / 1.096 GB, free: 14.9 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.198e-05/0.6706, allocations: 71.73 kB / 1.096 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.119e-05/0.6706, allocations: 0 / 1.096 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.074e-05/0.6706, allocations: 8 kB / 1.096 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.859e-05/0.6707, allocations: 19.97 kB / 1.096 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.927e-06/0.6707, allocations: 0 / 1.096 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002013/0.6709, allocations: 87.73 kB / 1.096 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.686e-05/0.671, allocations: 11.91 kB / 1.096 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.193e-05/0.671, allocations: 33.7 kB / 1.096 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001226/0.6711, allocations: 70.09 kB / 1.096 GB, free: 14.6 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.6711, allocations: 0 / 1.096 GB, free: 14.6 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.312e-06/0.6711, allocations: 0 / 1.096 GB, free: 14.6 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.086e-06/0.6712, allocations: 4 kB / 1.096 GB, free: 14.59 MB / 0.8575 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.0002735/0.6714, allocations: 331.5 kB / 1.096 GB, free: 14.22 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.6715, allocations: 8.031 kB / 1.096 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.252e-05/0.6715, allocations: 34.75 kB / 1.096 GB, free: 14.17 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001836/0.6717, allocations: 16.92 kB / 1.096 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.259e-05/0.6718, allocations: 168.1 kB / 1.097 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.667e-05/0.6718, allocations: 29.64 kB / 1.097 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.726e-06/0.6719, allocations: 3.984 kB / 1.097 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001066/0.672, allocations: 53.67 kB / 1.097 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.851e-06/0.672, allocations: 0 / 1.097 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.407e-06/0.672, allocations: 0 / 1.097 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.541e-05/0.672, allocations: 4 kB / 1.097 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.567e-05/0.6721, allocations: 15.98 kB / 1.097 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002968/0.6724, allocations: 260.8 kB / 1.097 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 3.486e-05/0.6724, allocations: 30.5 kB / 1.097 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.335e-05/0.6724, allocations: 4.859 kB / 1.097 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 4.107e-06/0.6724, allocations: 0 / 1.097 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.712e-05/0.6725, allocations: 34.62 kB / 1.097 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 1.864e-06/0.6725, allocations: 0 / 1.097 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0001034/0.6726, allocations: 41.62 kB / 1.097 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.527e-05/0.6726, allocations: 59.28 kB / 1.097 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.354e-05/0.6727, allocations: 110 kB / 1.097 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.242e-05/0.6727, allocations: 25.7 kB / 1.097 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.723e-05/0.6727, allocations: 99.91 kB / 1.097 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.981e-06/0.6728, allocations: 7.906 kB / 1.097 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.941e-05/0.6728, allocations: 9.719 kB / 1.097 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.191e-05/0.6729, allocations: 310.8 kB / 1.098 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.174e-05/0.6729, allocations: 4 kB / 1.098 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.57e-05/0.6729, allocations: 26.56 kB / 1.098 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.266e-05/0.6729, allocations: 34.52 kB / 1.098 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.673, allocations: 4 kB / 1.098 GB, free: 12.65 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.92e-05/0.673, allocations: 53.62 kB / 1.098 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 9.659e-06/0.673, allocations: 4 kB / 1.098 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.226e-06/0.673, allocations: 0 / 1.098 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.244e-06/0.6731, allocations: 4.094 kB / 1.098 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.793e-05/0.6731, allocations: 11.94 kB / 1.098 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.6731, allocations: 3.984 kB / 1.098 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.552e-05/0.6732, allocations: 4 kB / 1.098 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.487e-06/0.6732, allocations: 0 / 1.098 GB, free: 12.57 MB / 0.8575 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 5.732e-05/0.6732, allocations: 113.8 kB / 1.098 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.223e-05/0.6733, allocations: 0 / 1.098 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.311e-05/0.6733, allocations: 3.125 kB / 1.098 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.6733, allocations: 3.938 kB / 1.098 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.455e-06/0.6733, allocations: 4 kB / 1.098 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.533e-06/0.6733, allocations: 4 kB / 1.098 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001968/0.6735, allocations: 350.6 kB / 1.098 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.6735, allocations: 0 / 1.098 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.342e-05/0.6735, allocations: 3.938 kB / 1.098 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.6735, allocations: 0 / 1.098 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.657e-06/0.6735, allocations: 0 / 1.098 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.6735, allocations: 0 / 1.098 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.6735, allocations: 4 kB / 1.098 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.122e-05/0.6736, allocations: 65.09 kB / 1.098 GB, free: 11.94 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.104e-05/0.6736, allocations: 81.05 kB / 1.098 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.252e-05/0.6737, allocations: 7.938 kB / 1.098 GB, free: 11.83 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.893e-05/0.6737, allocations: 0 / 1.098 GB, free: 11.83 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.548e-06/0.6738, allocations: 4 kB / 1.098 GB, free: 11.83 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.262e-06/0.6738, allocations: 0 / 1.098 GB, free: 11.83 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.543e-05/0.6738, allocations: 91.55 kB / 1.098 GB, free: 11.74 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6738, allocations: 0 / 1.098 GB, free: 11.74 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001732/0.674, allocations: 8 kB / 1.098 GB, free: 11.73 MB / 0.8575 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.0002379/0.6742, allocations: 0.5929 MB / 1.099 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 5.571e-05/0.6743, allocations: 15.97 kB / 1.099 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.6743, allocations: 3.938 kB / 1.099 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 7.073e-06/0.6743, allocations: 8 kB / 1.099 GB, free: 11.08 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001754/0.6745, allocations: 2.672 kB / 1.099 GB, free: 11.08 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000272/0.6748, allocations: 158.1 kB / 1.099 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001585/0.675, allocations: 0.6734 MB / 1.1 GB, free: 10.18 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.603e-05/0.675, allocations: 11.98 kB / 1.1 GB, free: 10.17 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.118e-05/0.675, allocations: 7.438 kB / 1.1 GB, free: 10.16 MB / 0.8575 GB Notification: Performance of SimCode: time 2.9e-07/0.675, allocations: 0 / 1.1 GB, free: 10.16 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4835/1.159, allocations: 1.156 MB / 1.101 GB, free: 9.191 MB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001689/1.159, allocations: 243.9 kB / 1.101 GB, free: 8.93 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.443/2.602, allocations: 0 / 1.101 GB, free: 8.93 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_9_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/Buildings_9_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_9_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.fmu > Buildings_9_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches