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.0008928/0.0008928, 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.0008842/0.0008842, allocations: 169.9 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.8756/0.8756, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.707/1.707, allocations: 389 MB / 0.633 GB, free: 12.67 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 2.023e-06/2.023e-06, allocations: 0 / 0.9997 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.842e-05/2.045e-05, allocations: 9.234 kB / 0.9997 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.5371/0.5371, allocations: 130 MB / 1.127 GB, free: 3.453 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.000113/0.5373, allocations: 46.23 kB / 1.127 GB, free: 3.43 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.398e-05/0.5373, allocations: 5.125 kB / 1.127 GB, free: 3.426 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001182/0.5374, allocations: 4.5 kB / 1.127 GB, free: 3.422 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 7.342e-05/0.5375, allocations: 17.53 kB / 1.127 GB, free: 3.41 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003926/0.5379, allocations: 106.9 kB / 1.127 GB, free: 3.367 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 7.71e-05/0.5379, allocations: 37.56 kB / 1.127 GB, free: 3.352 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.663e-05/0.538, allocations: 2.25 kB / 1.127 GB, free: 3.352 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 5.012e-05/0.538, allocations: 23.38 kB / 1.127 GB, free: 3.344 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 6.359e-05/0.5381, allocations: 12.92 kB / 1.127 GB, free: 3.34 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 1.318e-05/0.5381, allocations: 1.188 kB / 1.127 GB, free: 3.34 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001717/0.5383, allocations: 73.17 kB / 1.127 GB, free: 3.309 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 4.947e-05/0.5383, allocations: 9.609 kB / 1.127 GB, free: 3.305 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 2.367e-05/0.5383, allocations: 10.47 kB / 1.127 GB, free: 3.301 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001436/0.5385, allocations: 76.2 kB / 1.127 GB, free: 3.281 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.5385, allocations: 0.75 kB / 1.127 GB, free: 3.281 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.653e-06/0.5385, allocations: 1.094 kB / 1.127 GB, free: 3.281 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.5385, allocations: 0 / 1.127 GB, free: 3.281 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.0002774/0.5388, allocations: 265.6 kB / 1.127 GB, free: 3.02 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.5388, allocations: 14.09 kB / 1.127 GB, free: 3.016 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.314e-05/0.5388, allocations: 32.67 kB / 1.127 GB, free: 2.977 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001607/0.539, allocations: 17.3 kB / 1.127 GB, free: 2.977 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.537e-05/0.5391, allocations: 104.6 kB / 1.127 GB, free: 2.852 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.684e-05/0.5391, allocations: 54.05 kB / 1.127 GB, free: 2.789 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.834e-06/0.5391, allocations: 5.094 kB / 1.127 GB, free: 2.785 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001024/0.5392, allocations: 73.61 kB / 1.128 GB, free: 2.719 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.5392, allocations: 0 / 1.128 GB, free: 2.719 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.316e-06/0.5392, allocations: 7.938 kB / 1.128 GB, free: 2.711 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.089e-05/0.5392, allocations: 6.828 kB / 1.128 GB, free: 2.707 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.422e-05/0.5393, allocations: 19.17 kB / 1.128 GB, free: 2.703 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002379/0.5395, allocations: 226.4 kB / 1.128 GB, free: 2.465 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 2.861e-05/0.5396, allocations: 16.56 kB / 1.128 GB, free: 2.441 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.254e-05/0.5396, allocations: 10.05 kB / 1.128 GB, free: 2.43 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.581e-06/0.5396, allocations: 1.859 kB / 1.128 GB, free: 2.43 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.323e-05/0.5396, allocations: 31.66 kB / 1.128 GB, free: 2.391 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=1): time 5.91e-07/0.5396, allocations: 7.938 kB / 1.128 GB, free: 2.383 MB / 0.9948 GB Notification: Performance of matching and sorting (n=1): time 9.81e-05/0.5397, allocations: 33.38 kB / 1.128 GB, free: 2.352 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.484e-05/0.5397, allocations: 52.53 kB / 1.128 GB, free: 2.289 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.902e-05/0.5398, allocations: 116.4 kB / 1.128 GB, free: 2.18 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 5.12e-06/0.5398, allocations: 26.83 kB / 1.128 GB, free: 2.148 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 2.329e-05/0.5398, allocations: 94.05 kB / 1.128 GB, free: 2.059 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 4.869e-06/0.5398, allocations: 5.078 kB / 1.128 GB, free: 2.055 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.146e-05/0.5398, allocations: 13.88 kB / 1.128 GB, free: 2.039 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 2.53e-05/0.5398, allocations: 322.5 kB / 1.128 GB, free: 1.719 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.135e-05/0.5398, allocations: 3.125 kB / 1.128 GB, free: 1.719 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.867e-05/0.5399, allocations: 27.03 kB / 1.129 GB, free: 1.691 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.584e-05/0.5399, allocations: 31.47 kB / 1.129 GB, free: 1.66 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.5399, allocations: 1.188 kB / 1.129 GB, free: 1.66 MB / 0.9948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 4.478e-05/0.5399, allocations: 52.58 kB / 1.129 GB, free: 1.621 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.5399, allocations: 6.469 kB / 1.129 GB, free: 1.621 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.54, allocations: 0 / 1.129 GB, free: 1.621 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.07e-05/0.54, allocations: 1.375 kB / 1.129 GB, free: 1.621 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.359e-05/0.54, allocations: 15.3 kB / 1.129 GB, free: 1.613 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.54, allocations: 5.094 kB / 1.129 GB, free: 1.609 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.898e-05/0.54, allocations: 1.219 kB / 1.129 GB, free: 1.609 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.508e-06/0.54, allocations: 6.906 kB / 1.129 GB, free: 1.605 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 3.214e-05/0.5401, allocations: 113 kB / 1.129 GB, free: 1.488 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.337e-05/0.5401, allocations: 6.328 kB / 1.129 GB, free: 1.484 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.573e-05/0.5401, allocations: 3.812 kB / 1.129 GB, free: 1.484 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/0.5401, allocations: 2.109 kB / 1.129 GB, free: 1.484 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.5401, allocations: 3.984 kB / 1.129 GB, free: 1.48 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.843e-06/0.5401, allocations: 3.938 kB / 1.129 GB, free: 1.477 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001119/0.5402, allocations: 324 kB / 1.129 GB, free: 1.121 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-07/0.5402, allocations: 0 / 1.129 GB, free: 1.121 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.681e-06/0.5402, allocations: 2.906 kB / 1.129 GB, free: 1.121 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.12e-07/0.5402, allocations: 3.938 kB / 1.129 GB, free: 1.117 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.942e-06/0.5402, allocations: 1.797 kB / 1.129 GB, free: 1.117 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.81e-07/0.5402, allocations: 3.938 kB / 1.129 GB, free: 1.113 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-07/0.5402, allocations: 0 / 1.129 GB, free: 1.113 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.161e-05/0.5403, allocations: 55.69 kB / 1.129 GB, free: 1.051 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.791e-06/0.5403, allocations: 1.781 kB / 1.129 GB, free: 1.051 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.196e-05/0.5403, allocations: 3.281 kB / 1.129 GB, free: 1.051 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.602e-05/0.5403, allocations: 15.73 kB / 1.129 GB, free: 1.039 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.137e-06/0.5403, allocations: 0 / 1.129 GB, free: 1.039 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.213e-06/0.5403, allocations: 1.062 kB / 1.129 GB, free: 1.039 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 1.86e-05/0.5404, allocations: 85.41 kB / 1.129 GB, free: 0.9648 MB / 0.9948 GB Notification: Performance of sort global known variables: time 5e-08/0.5404, allocations: 1.125 kB / 1.129 GB, free: 0.9648 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0001207/0.5405, allocations: 5.375 kB / 1.129 GB, free: 0.9648 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.0001215/0.5406, allocations: 0.6002 MB / 1.13 GB, free: 376 kB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 5.537e-05/0.5406, allocations: 18.5 kB / 1.13 GB, free: 368 kB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.5407, allocations: 0 / 1.13 GB, free: 368 kB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 3.577e-06/0.5407, allocations: 6.25 kB / 1.13 GB, free: 364 kB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001725/0.5408, allocations: 7.938 kB / 1.13 GB, free: 360 kB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002374/0.5411, allocations: 137.9 kB / 1.13 GB, free: 212 kB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.599e-05/0.5411, allocations: 59.67 kB / 1.13 GB, free: 140 kB / 0.9948 GB Notification: Performance of simCode: alias equations: time 3.86e-05/0.5411, allocations: 10.69 kB / 1.13 GB, free: 136 kB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.292e-05/0.5412, allocations: 9.594 kB / 1.13 GB, free: 136 kB / 0.9948 GB Notification: Performance of SimCode: time 2.41e-07/0.5412, allocations: 0 / 1.13 GB, free: 136 kB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01315/0.5543, allocations: 2.043 MB / 1.132 GB, free: 15.29 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.346/6.9, allocations: 10.38 kB / 1.132 GB, free: 15.28 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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.896841374225914]