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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.008578/0.008578, allocations: 100.7 kB / 15.73 MB, free: 6.469 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.002932/0.002932, allocations: 193.2 kB / 16.67 MB, free: 6.379 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.362/1.362, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.486/2.486, allocations: 390.3 MB / 0.6648 GB, free: 212 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001442/0.001442, allocations: 62.53 kB / 0.9504 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2978/0.2992, allocations: 140.4 MB / 1.087 GB, free: 2.113 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1728/0.4721, allocations: 147.8 MB / 1.232 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.000242/0.4724, allocations: 47.86 kB / 1.232 GB, free: 13.65 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.935e-05/0.4725, allocations: 0 / 1.232 GB, free: 13.65 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001747/0.4727, allocations: 3.938 kB / 1.232 GB, free: 13.65 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.000163/0.4729, allocations: 23.91 kB / 1.232 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007691/0.4737, allocations: 99.64 kB / 1.232 GB, free: 13.53 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001486/0.4738, allocations: 39.84 kB / 1.232 GB, free: 13.49 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.758e-05/0.4739, allocations: 0 / 1.232 GB, free: 13.49 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.129e-05/0.474, allocations: 11.98 kB / 1.232 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001247/0.4741, allocations: 15.92 kB / 1.232 GB, free: 13.46 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/0.4741, allocations: 0 / 1.232 GB, free: 13.46 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003899/0.4745, allocations: 87.72 kB / 1.232 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 5.961e-05/0.4746, allocations: 7.984 kB / 1.232 GB, free: 13.37 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.272e-05/0.4746, allocations: 19.92 kB / 1.232 GB, free: 13.35 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002061/0.4749, allocations: 62.73 kB / 1.232 GB, free: 13.29 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.4749, allocations: 0 / 1.232 GB, free: 13.29 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.904e-06/0.4749, allocations: 3.938 kB / 1.232 GB, free: 13.29 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.424e-06/0.4749, allocations: 0 / 1.232 GB, free: 13.29 MB / 0.9981 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.0004738/0.4754, allocations: 340.3 kB / 1.233 GB, free: 12.91 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.618e-05/0.4754, allocations: 11.97 kB / 1.233 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.716e-05/0.4755, allocations: 38.75 kB / 1.233 GB, free: 12.85 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002555/0.4758, allocations: 20.83 kB / 1.233 GB, free: 12.83 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001392/0.4759, allocations: 176.1 kB / 1.233 GB, free: 12.62 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.63e-05/0.476, allocations: 25.7 kB / 1.233 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.077e-06/0.476, allocations: 0 / 1.233 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001466/0.4761, allocations: 49.67 kB / 1.233 GB, free: 12.53 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.4762, allocations: 0 / 1.233 GB, free: 12.53 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.4762, allocations: 4 kB / 1.233 GB, free: 12.53 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.931e-05/0.4762, allocations: 4 kB / 1.233 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.153e-05/0.4763, allocations: 19.92 kB / 1.233 GB, free: 12.5 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004162/0.4767, allocations: 256.9 kB / 1.233 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.638e-05/0.4768, allocations: 22.58 kB / 1.233 GB, free: 12.17 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.925e-05/0.4768, allocations: 8.859 kB / 1.233 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.515e-06/0.4768, allocations: 0 / 1.233 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.4768, allocations: 30.56 kB / 1.233 GB, free: 12.12 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=1): time 1.212e-06/0.4769, allocations: 0 / 1.233 GB, free: 12.12 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1): time 0.0001888/0.4771, allocations: 45.69 kB / 1.233 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.89e-05/0.4771, allocations: 55.34 kB / 1.233 GB, free: 12 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.147e-05/0.4772, allocations: 101.9 kB / 1.233 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.9e-05/0.4772, allocations: 29.69 kB / 1.233 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.8e-05/0.4773, allocations: 96.08 kB / 1.234 GB, free: 11.76 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.779e-06/0.4773, allocations: 0 / 1.234 GB, free: 11.76 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.465e-05/0.4773, allocations: 17.72 kB / 1.234 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001298/0.4775, allocations: 310.8 kB / 1.234 GB, free: 11.43 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.095e-05/0.4775, allocations: 11.98 kB / 1.234 GB, free: 11.41 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.931e-05/0.4775, allocations: 18.58 kB / 1.234 GB, free: 11.39 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.49e-05/0.4776, allocations: 34.52 kB / 1.234 GB, free: 11.34 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.4776, allocations: 0 / 1.234 GB, free: 11.34 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.488e-05/0.4777, allocations: 57.78 kB / 1.234 GB, free: 11.28 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.4777, allocations: 5.562 kB / 1.234 GB, free: 11.28 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.4777, allocations: 7.938 kB / 1.234 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.4777, allocations: 4 kB / 1.234 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.737e-05/0.4778, allocations: 12.02 kB / 1.234 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.4778, allocations: 8 kB / 1.234 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.138e-05/0.4779, allocations: 3.938 kB / 1.234 GB, free: 11.24 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.418e-06/0.4779, allocations: 96 / 1.234 GB, free: 11.24 MB / 0.9981 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 8.428e-05/0.478, allocations: 117.8 kB / 1.234 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.102e-05/0.478, allocations: 3.984 kB / 1.234 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.878e-05/0.4781, allocations: 11.06 kB / 1.234 GB, free: 11.1 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.4781, allocations: 3.938 kB / 1.234 GB, free: 11.1 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.4781, allocations: 0 / 1.234 GB, free: 11.1 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.4781, allocations: 0 / 1.234 GB, free: 11.1 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002866/0.4784, allocations: 346.8 kB / 1.234 GB, free: 10.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.4784, allocations: 0 / 1.234 GB, free: 10.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.909e-05/0.4784, allocations: 7.938 kB / 1.234 GB, free: 10.69 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.4784, allocations: 0 / 1.234 GB, free: 10.69 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.809e-06/0.4784, allocations: 0 / 1.234 GB, free: 10.69 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.4784, allocations: 0 / 1.234 GB, free: 10.69 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.4785, allocations: 0 / 1.234 GB, free: 10.69 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.431e-05/0.4785, allocations: 69.09 kB / 1.235 GB, free: 10.61 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.128e-05/0.4786, allocations: 84.95 kB / 1.235 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.491e-05/0.4786, allocations: 0 / 1.235 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.224e-05/0.4787, allocations: 4 kB / 1.235 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.402e-05/0.4787, allocations: 3.984 kB / 1.235 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.733e-06/0.4787, allocations: 0 / 1.235 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.651e-05/0.4788, allocations: 83.28 kB / 1.235 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4788, allocations: 0 / 1.235 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002026/0.479, allocations: 12.03 kB / 1.235 GB, free: 10.4 MB / 0.9981 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.0003613/0.4794, allocations: 0.5973 MB / 1.235 GB, free: 9.777 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 8.745e-05/0.4795, allocations: 12 kB / 1.235 GB, free: 9.766 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.4795, allocations: 224 / 1.235 GB, free: 9.766 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 7.434e-06/0.4795, allocations: 8 kB / 1.235 GB, free: 9.758 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002626/0.4798, allocations: 11.92 kB / 1.235 GB, free: 9.746 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004224/0.4802, allocations: 140.2 kB / 1.235 GB, free: 9.57 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002657/0.4805, allocations: 0.6768 MB / 1.236 GB, free: 8.867 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 5.51e-05/0.4805, allocations: 8.062 kB / 1.236 GB, free: 8.859 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.284e-05/0.4806, allocations: 11.38 kB / 1.236 GB, free: 8.848 MB / 0.9981 GB Notification: Performance of SimCode: time 2.41e-07/0.4806, allocations: 0 / 1.236 GB, free: 8.848 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01833/0.4989, allocations: 1.373 MB / 1.237 GB, free: 7.625 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.822/8.321, allocations: 17.72 kB / 1.238 GB, free: 7.609 MB / 0.9981 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