Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008942/0.0008942, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009857/0.0009857, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8861/0.8861, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.727/1.727, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="Buildings_latest_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="Buildings_latest_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.943e-06/1.943e-06, allocations: 0 / 0.9997 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.781e-05/1.976e-05, allocations: 6.281 kB / 0.9997 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.5518/0.5518, allocations: 130 MB / 1.127 GB, free: 3.48 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.0001476/0.552, allocations: 56.84 kB / 1.127 GB, free: 3.449 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.116e-05/0.552, allocations: 0 / 1.127 GB, free: 3.449 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001612/0.5521, allocations: 9.828 kB / 1.127 GB, free: 3.441 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 7.972e-05/0.5522, allocations: 16.38 kB / 1.127 GB, free: 3.434 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.00044/0.5527, allocations: 107.6 kB / 1.127 GB, free: 3.387 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 8.982e-05/0.5528, allocations: 36.3 kB / 1.127 GB, free: 3.371 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.325e-05/0.5528, allocations: 3.578 kB / 1.127 GB, free: 3.371 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 5.463e-05/0.5529, allocations: 13.92 kB / 1.127 GB, free: 3.371 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 7.56e-05/0.5529, allocations: 21.25 kB / 1.127 GB, free: 3.359 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 1.349e-05/0.5529, allocations: 1.219 kB / 1.127 GB, free: 3.359 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002163/0.5532, allocations: 74.69 kB / 1.127 GB, free: 3.328 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 5.771e-05/0.5532, allocations: 13.59 kB / 1.127 GB, free: 3.32 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 2.342e-05/0.5532, allocations: 10.02 kB / 1.127 GB, free: 3.316 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001678/0.5534, allocations: 68.73 kB / 1.127 GB, free: 3.301 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.5534, allocations: 1.156 kB / 1.127 GB, free: 3.301 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.615e-06/0.5534, allocations: 0 / 1.127 GB, free: 3.301 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 7.755e-06/0.5534, allocations: 0.7031 kB / 1.127 GB, free: 3.301 MB / 0.9948 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.0003391/0.5538, allocations: 261.8 kB / 1.127 GB, free: 3.039 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.5538, allocations: 10.09 kB / 1.127 GB, free: 3.039 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.829e-05/0.5538, allocations: 36.55 kB / 1.127 GB, free: 2.996 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001828/0.554, allocations: 21.53 kB / 1.127 GB, free: 2.992 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.168e-05/0.5541, allocations: 109.6 kB / 1.127 GB, free: 2.863 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.115e-05/0.5541, allocations: 53.88 kB / 1.127 GB, free: 2.801 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.465e-06/0.5541, allocations: 5.062 kB / 1.127 GB, free: 2.797 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001197/0.5543, allocations: 76.19 kB / 1.128 GB, free: 2.727 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.5543, allocations: 1.438 kB / 1.128 GB, free: 2.727 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.5543, allocations: 0 / 1.128 GB, free: 2.727 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.58e-05/0.5543, allocations: 2.922 kB / 1.128 GB, free: 2.727 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.398e-05/0.5543, allocations: 26.11 kB / 1.128 GB, free: 2.715 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000272/0.5546, allocations: 227.2 kB / 1.128 GB, free: 2.477 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 3.383e-05/0.5546, allocations: 15.86 kB / 1.128 GB, free: 2.453 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.442e-05/0.5547, allocations: 7.078 kB / 1.128 GB, free: 2.445 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.372e-06/0.5547, allocations: 1.312 kB / 1.128 GB, free: 2.445 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.749e-05/0.5547, allocations: 35.88 kB / 1.128 GB, free: 2.406 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=1): time 1.433e-06/0.5547, allocations: 0 / 1.128 GB, free: 2.406 MB / 0.9948 GB Notification: Performance of matching and sorting (n=1): time 0.0001111/0.5548, allocations: 40.17 kB / 1.128 GB, free: 2.367 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.645e-05/0.5548, allocations: 56.69 kB / 1.128 GB, free: 2.301 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.341e-05/0.5549, allocations: 113.6 kB / 1.128 GB, free: 2.191 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 7.313e-06/0.5549, allocations: 25.7 kB / 1.128 GB, free: 2.16 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 2.972e-05/0.5549, allocations: 91.11 kB / 1.128 GB, free: 2.074 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 6.702e-06/0.5549, allocations: 9.172 kB / 1.128 GB, free: 2.066 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.338e-05/0.5549, allocations: 13.59 kB / 1.128 GB, free: 2.051 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 2.963e-05/0.555, allocations: 321.3 kB / 1.128 GB, free: 1.73 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.385e-05/0.555, allocations: 4.734 kB / 1.128 GB, free: 1.73 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.053e-05/0.555, allocations: 21.72 kB / 1.129 GB, free: 1.707 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.229e-05/0.555, allocations: 40.73 kB / 1.129 GB, free: 1.668 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.555, allocations: 0 / 1.129 GB, free: 1.668 MB / 0.9948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.559e-05/0.5551, allocations: 52.7 kB / 1.129 GB, free: 1.629 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.5551, allocations: 6.109 kB / 1.129 GB, free: 1.629 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.5551, allocations: 1.156 kB / 1.129 GB, free: 1.629 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.5551, allocations: 1.031 kB / 1.129 GB, free: 1.629 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.175e-05/0.5552, allocations: 6.172 kB / 1.129 GB, free: 1.629 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.144e-06/0.5552, allocations: 5.797 kB / 1.129 GB, free: 1.625 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.023e-05/0.5552, allocations: 6.281 kB / 1.129 GB, free: 1.621 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.48e-06/0.5552, allocations: 9.031 kB / 1.129 GB, free: 1.613 MB / 0.9948 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 4.118e-05/0.5552, allocations: 114.4 kB / 1.129 GB, free: 1.496 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.362e-05/0.5553, allocations: 5.016 kB / 1.129 GB, free: 1.492 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.985e-05/0.5553, allocations: 5.016 kB / 1.129 GB, free: 1.492 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.5553, allocations: 1.547 kB / 1.129 GB, free: 1.492 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.5553, allocations: 0 / 1.129 GB, free: 1.492 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.5553, allocations: 1.219 kB / 1.129 GB, free: 1.492 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001775/0.5555, allocations: 314.6 kB / 1.129 GB, free: 1.145 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.5555, allocations: 1.219 kB / 1.129 GB, free: 1.145 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.295e-05/0.5555, allocations: 5.094 kB / 1.129 GB, free: 1.141 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.5555, allocations: 1.703 kB / 1.129 GB, free: 1.141 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.612e-06/0.5555, allocations: 7.938 kB / 1.129 GB, free: 1.133 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.5555, allocations: 5.453 kB / 1.129 GB, free: 1.129 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.5555, allocations: 1.031 kB / 1.129 GB, free: 1.129 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.356e-05/0.5555, allocations: 54.34 kB / 1.129 GB, free: 1.066 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.448e-06/0.5556, allocations: 1.609 kB / 1.129 GB, free: 1.066 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.4e-05/0.5556, allocations: 1.766 kB / 1.129 GB, free: 1.066 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.102e-05/0.5556, allocations: 7.578 kB / 1.129 GB, free: 1.062 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.386e-05/0.5557, allocations: 5.797 kB / 1.129 GB, free: 1.059 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.085e-06/0.5557, allocations: 7.188 kB / 1.129 GB, free: 1.055 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 2.367e-05/0.5557, allocations: 89.8 kB / 1.129 GB, free: 0.9766 MB / 0.9948 GB Notification: Performance of sort global known variables: time 4e-08/0.5557, allocations: 0 / 1.129 GB, free: 0.9766 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0001228/0.5558, allocations: 6.406 kB / 1.129 GB, free: 0.9766 MB / 0.9948 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.0001763/0.556, allocations: 0.5974 MB / 1.13 GB, free: 388 kB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 8.093e-05/0.5561, allocations: 9.469 kB / 1.13 GB, free: 388 kB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.5561, allocations: 1.062 kB / 1.13 GB, free: 388 kB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 4.108e-06/0.5561, allocations: 13.66 kB / 1.13 GB, free: 376 kB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002309/0.5563, allocations: 13.52 kB / 1.13 GB, free: 368 kB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002832/0.5566, allocations: 134.9 kB / 1.13 GB, free: 224 kB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.229e-05/0.5566, allocations: 60.42 kB / 1.13 GB, free: 152 kB / 0.9948 GB Notification: Performance of simCode: alias equations: time 3.71e-05/0.5567, allocations: 4.875 kB / 1.13 GB, free: 152 kB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.915e-05/0.5567, allocations: 15.59 kB / 1.13 GB, free: 148 kB / 0.9948 GB Notification: Performance of SimCode: time 5.91e-07/0.5567, allocations: 0 / 1.13 GB, free: 148 kB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01586/0.5725, allocations: 2.046 MB / 1.132 GB, free: 15.3 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.292/6.864, allocations: 2.344 kB / 1.132 GB, free: 15.3 MB / 1.01 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.fmu > Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.83763197157532]