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.001239/0.001239, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001207/0.001207, allocations: 193.2 kB / 16.14 MB, free: 6.645 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.246/1.246, allocations: 222.9 MB / 239.8 MB, free: 4.574 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.251/2.251, allocations: 390.2 MB / 0.6643 GB, free: 0.5664 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 67.89 kB / 0.812 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5051/0.5064, allocations: 140.4 MB / 0.949 GB, free: 9.141 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1379/0.6443, allocations: 145.6 MB / 1.091 GB, free: 15.97 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001255/0.6445, allocations: 59.78 kB / 1.091 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.749e-05/0.6445, allocations: 0 / 1.091 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 8.998e-05/0.6446, allocations: 0 / 1.091 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.2e-05/0.6447, allocations: 11.92 kB / 1.091 GB, free: 15.9 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003928/0.6451, allocations: 99.48 kB / 1.091 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.763e-05/0.6452, allocations: 67.73 kB / 1.091 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 2.9e-05/0.6453, allocations: 0 / 1.091 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.458e-05/0.6453, allocations: 12 kB / 1.091 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.373e-05/0.6454, allocations: 19.97 kB / 1.091 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.262e-05/0.6454, allocations: 0 / 1.091 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002383/0.6456, allocations: 75.73 kB / 1.092 GB, free: 15.63 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.717e-05/0.6457, allocations: 15.91 kB / 1.092 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.897e-05/0.6457, allocations: 12 kB / 1.092 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001536/0.6459, allocations: 70.09 kB / 1.092 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.6459, allocations: 4 kB / 1.092 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of FrontEnd: time 9.72e-07/0.6459, allocations: 0 / 1.092 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.236e-06/0.6459, allocations: 0 / 1.092 GB, free: 15.54 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.0003317/0.6463, allocations: 335.5 kB / 1.092 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.6463, allocations: 12.03 kB / 1.092 GB, free: 15.15 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.686e-05/0.6463, allocations: 34.75 kB / 1.092 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002172/0.6466, allocations: 20.91 kB / 1.092 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.687e-05/0.6467, allocations: 172.1 kB / 1.092 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.606e-05/0.6467, allocations: 29.7 kB / 1.092 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.168e-05/0.6468, allocations: 4 kB / 1.092 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001187/0.6469, allocations: 49.66 kB / 1.092 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.911e-06/0.6469, allocations: 0 / 1.092 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.6469, allocations: 4 kB / 1.092 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.773e-05/0.6469, allocations: 0 / 1.092 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.271e-05/0.647, allocations: 23.98 kB / 1.092 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003424/0.6473, allocations: 264.8 kB / 1.093 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 3.36e-05/0.6474, allocations: 18.52 kB / 1.093 GB, free: 14.42 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.592e-05/0.6474, allocations: 4.922 kB / 1.093 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 4.909e-06/0.6474, allocations: 7.938 kB / 1.093 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.436e-05/0.6474, allocations: 30.56 kB / 1.093 GB, free: 14.37 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.6475, allocations: 0 / 1.093 GB, free: 14.37 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0001164/0.6476, allocations: 37.7 kB / 1.093 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.882e-05/0.6476, allocations: 59.28 kB / 1.093 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.503e-05/0.6477, allocations: 105.8 kB / 1.093 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.359e-05/0.6477, allocations: 29.7 kB / 1.093 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.901e-05/0.6478, allocations: 87.98 kB / 1.093 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.671e-06/0.6478, allocations: 3.906 kB / 1.093 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.371e-05/0.6478, allocations: 25.64 kB / 1.093 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.954e-05/0.6479, allocations: 315 kB / 1.093 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.673e-05/0.6479, allocations: 8 kB / 1.093 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.611e-05/0.648, allocations: 22.56 kB / 1.093 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.903e-05/0.648, allocations: 30.52 kB / 1.093 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.648, allocations: 0 / 1.093 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.933e-05/0.6481, allocations: 61.62 kB / 1.093 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.6481, allocations: 4 kB / 1.093 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.848e-06/0.6481, allocations: 0 / 1.093 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.003e-05/0.6481, allocations: 0 / 1.093 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.836e-05/0.6482, allocations: 11.94 kB / 1.093 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.6482, allocations: 0 / 1.093 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.721e-05/0.6483, allocations: 0 / 1.093 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.358e-06/0.6483, allocations: 4 kB / 1.093 GB, free: 13.5 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 7.247e-05/0.6484, allocations: 121.9 kB / 1.094 GB, free: 13.37 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.748e-05/0.6484, allocations: 3.906 kB / 1.094 GB, free: 13.37 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.545e-05/0.6484, allocations: 3.125 kB / 1.094 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.6484, allocations: 3.938 kB / 1.094 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.6484, allocations: 0 / 1.094 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.663e-06/0.6484, allocations: 0 / 1.094 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002257/0.6487, allocations: 342.7 kB / 1.094 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.6487, allocations: 7.984 kB / 1.094 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.498e-05/0.6487, allocations: 7.969 kB / 1.094 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.6487, allocations: 0 / 1.094 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.398e-06/0.6487, allocations: 0 / 1.094 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.6487, allocations: 0 / 1.094 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.6487, allocations: 4.188 kB / 1.094 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.037e-05/0.6488, allocations: 61.08 kB / 1.094 GB, free: 12.87 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.363e-05/0.6488, allocations: 81.05 kB / 1.094 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.97e-05/0.6489, allocations: 11.98 kB / 1.094 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.062e-05/0.6489, allocations: 4.031 kB / 1.094 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.165e-06/0.649, allocations: 0 / 1.094 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.573e-06/0.649, allocations: 0 / 1.094 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.217e-05/0.649, allocations: 91.27 kB / 1.094 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.649, allocations: 0 / 1.094 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001928/0.6492, allocations: 4 kB / 1.094 GB, free: 12.66 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.0002753/0.6495, allocations: 0.6006 MB / 1.095 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 6.411e-05/0.6496, allocations: 19.92 kB / 1.095 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.6496, allocations: 0 / 1.095 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 4.889e-06/0.6496, allocations: 0 / 1.095 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002162/0.6498, allocations: 8.797 kB / 1.095 GB, free: 12 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003225/0.6501, allocations: 150.2 kB / 1.095 GB, free: 11.81 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001999/0.6504, allocations: 0.677 MB / 1.096 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 5.615e-05/0.6504, allocations: 12.06 kB / 1.096 GB, free: 11.1 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.453e-05/0.6504, allocations: 7.438 kB / 1.096 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of SimCode: time 2.3e-07/0.6505, allocations: 0 / 1.096 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.401/2.052, allocations: 1.21 MB / 1.097 GB, free: 10.03 MB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002224/2.052, allocations: 239.8 kB / 1.097 GB, free: 9.773 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.591/3.643, allocations: 0 / 1.097 GB, free: 9.773 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