Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="Buildings_10_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.001507/0.001507, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001701/0.001701, allocations: 192.2 kB / 16.25 MB, free: 6.637 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.249/1.249, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.242/2.242, allocations: 437 MB / 0.7101 GB, free: 5.238 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 59.91 kB / 0.8689 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5096/0.5109, allocations: 151.6 MB / 1.017 GB, free: 2.68 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.135/0.6459, allocations: 145.8 MB / 1.159 GB, free: 376 kB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.0001386/0.6461, allocations: 47.86 kB / 1.159 GB, free: 328 kB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.308e-05/0.6461, allocations: 0 / 1.159 GB, free: 328 kB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0001046/0.6463, allocations: 7.938 kB / 1.159 GB, free: 320 kB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 7.493e-05/0.6464, allocations: 15.91 kB / 1.159 GB, free: 304 kB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.000449/0.6468, allocations: 91.73 kB / 1.159 GB, free: 212 kB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 8.025e-05/0.6469, allocations: 39.84 kB / 1.159 GB, free: 172 kB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 3.242e-05/0.647, allocations: 0 / 1.159 GB, free: 172 kB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 4.052e-05/0.647, allocations: 23.97 kB / 1.159 GB, free: 148 kB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 6.089e-05/0.6471, allocations: 7.938 kB / 1.159 GB, free: 140 kB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.287e-05/0.6471, allocations: 4 kB / 1.159 GB, free: 136 kB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002412/0.6473, allocations: 91.7 kB / 1.16 GB, free: 44 kB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 4.122e-05/0.6474, allocations: 8 kB / 1.16 GB, free: 36 kB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 2.865e-05/0.6474, allocations: 11.92 kB / 1.16 GB, free: 24 kB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0001606/0.6476, allocations: 70.16 kB / 1.16 GB, free: 15.96 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.6476, allocations: 0 / 1.16 GB, free: 15.96 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.573e-06/0.6476, allocations: 0 / 1.16 GB, free: 15.96 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.92e-06/0.6476, allocations: 0 / 1.16 GB, free: 15.96 MB / 0.92 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.000375/0.648, allocations: 343.4 kB / 1.16 GB, free: 15.57 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.6481, allocations: 12.03 kB / 1.16 GB, free: 15.56 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.252e-05/0.6481, allocations: 34.75 kB / 1.16 GB, free: 15.52 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002165/0.6483, allocations: 16.92 kB / 1.16 GB, free: 15.5 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.867e-05/0.6484, allocations: 164.1 kB / 1.16 GB, free: 15.3 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.273e-05/0.6485, allocations: 25.7 kB / 1.16 GB, free: 15.27 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.239e-05/0.6485, allocations: 7.938 kB / 1.16 GB, free: 15.27 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001182/0.6486, allocations: 49.61 kB / 1.16 GB, free: 15.21 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.582e-06/0.6486, allocations: 0 / 1.16 GB, free: 15.21 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.6487, allocations: 8 kB / 1.16 GB, free: 15.2 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.51e-05/0.6487, allocations: 0 / 1.16 GB, free: 15.2 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.555e-05/0.6487, allocations: 19.98 kB / 1.16 GB, free: 15.18 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003367/0.6491, allocations: 260.8 kB / 1.161 GB, free: 14.88 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 3.499e-05/0.6491, allocations: 18.52 kB / 1.161 GB, free: 14.85 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.833e-05/0.6492, allocations: 12.86 kB / 1.161 GB, free: 14.84 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 7.474e-06/0.6492, allocations: 4.062 kB / 1.161 GB, free: 14.83 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.625e-05/0.6492, allocations: 30.56 kB / 1.161 GB, free: 14.79 MB / 0.92 GB Notification: Performance of pre-optimization done (n=1): time 3.316e-06/0.6492, allocations: 3.984 kB / 1.161 GB, free: 14.79 MB / 0.92 GB Notification: Performance of matching and sorting (n=1): time 0.000117/0.6493, allocations: 33.69 kB / 1.161 GB, free: 14.75 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.047e-05/0.6494, allocations: 55.34 kB / 1.161 GB, free: 14.68 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.679e-05/0.6494, allocations: 101.9 kB / 1.161 GB, free: 14.57 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.385e-05/0.6495, allocations: 29.83 kB / 1.161 GB, free: 14.54 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.873e-05/0.6495, allocations: 104 kB / 1.161 GB, free: 14.43 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 6.282e-06/0.6495, allocations: 11.78 kB / 1.161 GB, free: 14.42 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.968e-05/0.6496, allocations: 13.72 kB / 1.161 GB, free: 14.4 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 8.465e-05/0.6496, allocations: 314.8 kB / 1.161 GB, free: 14.09 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.651e-05/0.6497, allocations: 7.984 kB / 1.161 GB, free: 14.08 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.214e-05/0.6497, allocations: 18.58 kB / 1.161 GB, free: 14.05 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.727e-05/0.6497, allocations: 30.58 kB / 1.161 GB, free: 14.01 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.6497, allocations: 0 / 1.161 GB, free: 14.01 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.984e-05/0.6498, allocations: 65.56 kB / 1.161 GB, free: 13.94 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/0.6498, allocations: 4 kB / 1.161 GB, free: 13.94 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.6499, allocations: 0 / 1.161 GB, free: 13.94 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.024e-05/0.6499, allocations: 0 / 1.161 GB, free: 13.94 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.879e-05/0.6499, allocations: 20.02 kB / 1.161 GB, free: 13.92 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.6499, allocations: 0 / 1.161 GB, free: 13.92 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.707e-05/0.65, allocations: 3.906 kB / 1.161 GB, free: 13.91 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.068e-06/0.65, allocations: 4 kB / 1.161 GB, free: 13.91 MB / 0.92 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.347e-05/0.6501, allocations: 105.8 kB / 1.162 GB, free: 13.8 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.563e-05/0.6501, allocations: 4 kB / 1.162 GB, free: 13.79 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.593e-05/0.6501, allocations: 11.06 kB / 1.162 GB, free: 13.78 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.6501, allocations: 3.938 kB / 1.162 GB, free: 13.78 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.267e-06/0.6501, allocations: 0 / 1.162 GB, free: 13.78 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.643e-06/0.6501, allocations: 4 kB / 1.162 GB, free: 13.77 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002199/0.6504, allocations: 350.7 kB / 1.162 GB, free: 13.38 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.6504, allocations: 4 kB / 1.162 GB, free: 13.37 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.423e-05/0.6504, allocations: 3.938 kB / 1.162 GB, free: 13.37 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-06/0.6504, allocations: 0 / 1.162 GB, free: 13.37 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.34e-06/0.6504, allocations: 0 / 1.162 GB, free: 13.37 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.6504, allocations: 0 / 1.162 GB, free: 13.37 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.6504, allocations: 0 / 1.162 GB, free: 13.37 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.321e-05/0.6505, allocations: 65.16 kB / 1.162 GB, free: 13.29 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.091e-05/0.6505, allocations: 81.05 kB / 1.162 GB, free: 13.19 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.647e-05/0.6506, allocations: 4 kB / 1.162 GB, free: 13.18 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.818e-05/0.6506, allocations: 0 / 1.162 GB, free: 13.18 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.396e-05/0.6507, allocations: 3.938 kB / 1.162 GB, free: 13.18 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-06/0.6507, allocations: 3.984 kB / 1.162 GB, free: 13.18 MB / 0.92 GB Notification: Performance of sorting global known variables: time 3.748e-05/0.6507, allocations: 83.28 kB / 1.162 GB, free: 13.09 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6507, allocations: 4.031 kB / 1.162 GB, free: 13.09 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001873/0.6509, allocations: 8 kB / 1.162 GB, free: 13.08 MB / 0.92 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.0002779/0.6512, allocations: 0.6045 MB / 1.163 GB, free: 12.45 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 7.02e-05/0.6513, allocations: 11.94 kB / 1.163 GB, free: 12.44 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.6513, allocations: 4.219 kB / 1.163 GB, free: 12.43 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 4.889e-06/0.6513, allocations: 3.938 kB / 1.163 GB, free: 12.43 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002196/0.6515, allocations: 14.98 kB / 1.163 GB, free: 12.42 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003114/0.6518, allocations: 142.6 kB / 1.163 GB, free: 12.24 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002051/0.6521, allocations: 0.6768 MB / 1.164 GB, free: 11.54 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 5.306e-05/0.6521, allocations: 8.062 kB / 1.164 GB, free: 11.53 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.78e-05/0.6521, allocations: 11.44 kB / 1.164 GB, free: 11.52 MB / 0.92 GB Notification: Performance of SimCode: time 2.21e-07/0.6522, allocations: 3.938 kB / 1.164 GB, free: 11.52 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3105/0.9626, allocations: 1.258 MB / 1.165 GB, free: 10.43 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001862/0.9629, allocations: 234.8 kB / 1.165 GB, free: 10.18 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.533/2.496, allocations: 2.672 kB / 1.165 GB, free: 10.18 MB / 0.92 GB (rm -f Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_10_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.fmu > Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches