Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0007786/0.0007786, 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.0008792/0.0008792, 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.8811/0.8811, 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 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.674/1.674, allocations: 377.8 MB / 0.6221 GB, free: 8.672 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="Buildings_12_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 0.9809 GB, free: 2.594 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.033e-05/2.209e-05, allocations: 2.281 kB / 0.9809 GB, free: 2.59 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.5521/0.5522, allocations: 130 MB / 1.108 GB, free: 25.07 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.0001247/0.5523, allocations: 57.98 kB / 1.108 GB, free: 25.04 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.584e-05/0.5523, allocations: 0 / 1.108 GB, free: 25.04 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001185/0.5524, allocations: 5.438 kB / 1.108 GB, free: 25.04 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 7.937e-05/0.5525, allocations: 13.12 kB / 1.108 GB, free: 25.03 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004425/0.5529, allocations: 112.9 kB / 1.108 GB, free: 24.98 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 8.708e-05/0.553, allocations: 33.33 kB / 1.108 GB, free: 24.97 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.067e-05/0.5531, allocations: 2.234 kB / 1.108 GB, free: 24.97 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 5.683e-05/0.5531, allocations: 26.16 kB / 1.108 GB, free: 24.96 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 7.028e-05/0.5532, allocations: 13.39 kB / 1.108 GB, free: 24.95 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 1.469e-05/0.5532, allocations: 1.156 kB / 1.108 GB, free: 24.95 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002059/0.5534, allocations: 74.5 kB / 1.108 GB, free: 24.92 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 4.757e-05/0.5535, allocations: 4.938 kB / 1.108 GB, free: 24.92 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 2.735e-05/0.5535, allocations: 10.33 kB / 1.108 GB, free: 24.92 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001531/0.5536, allocations: 76.56 kB / 1.108 GB, free: 24.9 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.5537, allocations: 0 / 1.108 GB, free: 24.9 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.724e-06/0.5537, allocations: 0 / 1.108 GB, free: 24.9 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 5.51e-06/0.5537, allocations: 1.438 kB / 1.108 GB, free: 24.9 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.0003085/0.554, allocations: 260.4 kB / 1.109 GB, free: 24.63 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.554, allocations: 11.05 kB / 1.109 GB, free: 24.63 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.26e-05/0.554, allocations: 31.36 kB / 1.109 GB, free: 24.59 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001722/0.5542, allocations: 24.77 kB / 1.109 GB, free: 24.59 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.924e-05/0.5543, allocations: 113.3 kB / 1.109 GB, free: 24.46 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.521e-05/0.5543, allocations: 53.53 kB / 1.109 GB, free: 24.4 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.528e-06/0.5543, allocations: 9.703 kB / 1.109 GB, free: 24.39 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001155/0.5544, allocations: 71.25 kB / 1.109 GB, free: 24.33 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.163e-06/0.5544, allocations: 4 kB / 1.109 GB, free: 24.32 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.5545, allocations: 1.094 kB / 1.109 GB, free: 24.32 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.537e-05/0.5545, allocations: 3.516 kB / 1.109 GB, free: 24.32 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.438e-05/0.5545, allocations: 17.98 kB / 1.109 GB, free: 24.32 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002641/0.5548, allocations: 225.5 kB / 1.109 GB, free: 24.08 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 3.407e-05/0.5548, allocations: 21.14 kB / 1.109 GB, free: 24.05 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.42e-05/0.5548, allocations: 6.328 kB / 1.109 GB, free: 24.05 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.121e-06/0.5548, allocations: 0.8438 kB / 1.109 GB, free: 24.05 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.645e-05/0.5548, allocations: 35.88 kB / 1.109 GB, free: 24 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=1): time 1.523e-06/0.5548, allocations: 0 / 1.109 GB, free: 24 MB / 0.9948 GB Notification: Performance of matching and sorting (n=1): time 0.0001104/0.555, allocations: 34.06 kB / 1.109 GB, free: 23.97 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.809e-05/0.555, allocations: 60.53 kB / 1.109 GB, free: 23.9 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.394e-05/0.555, allocations: 109.4 kB / 1.109 GB, free: 23.8 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 7.104e-06/0.555, allocations: 27.02 kB / 1.109 GB, free: 23.77 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 2.592e-05/0.5551, allocations: 90.14 kB / 1.109 GB, free: 23.68 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 5.621e-06/0.5551, allocations: 2.031 kB / 1.109 GB, free: 23.68 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.418e-05/0.5551, allocations: 20.92 kB / 1.109 GB, free: 23.65 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 3.071e-05/0.5551, allocations: 317.8 kB / 1.11 GB, free: 23.34 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.252e-05/0.5551, allocations: 4.406 kB / 1.11 GB, free: 23.34 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.145e-05/0.5552, allocations: 29.56 kB / 1.11 GB, free: 23.3 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.231e-05/0.5552, allocations: 37.12 kB / 1.11 GB, free: 23.27 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.5552, allocations: 0 / 1.11 GB, free: 23.27 MB / 0.9948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.378e-05/0.5552, allocations: 52.95 kB / 1.11 GB, free: 23.23 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.5553, allocations: 6.312 kB / 1.11 GB, free: 23.23 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.5553, allocations: 0 / 1.11 GB, free: 23.23 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.5553, allocations: 1.469 kB / 1.11 GB, free: 23.23 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.185e-05/0.5553, allocations: 11.41 kB / 1.11 GB, free: 23.23 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.5553, allocations: 1 kB / 1.11 GB, free: 23.23 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.866e-05/0.5554, allocations: 1.156 kB / 1.11 GB, free: 23.23 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.04e-06/0.5554, allocations: 6.781 kB / 1.11 GB, free: 23.22 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.5554, allocations: 116.7 kB / 1.11 GB, free: 23.1 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.461e-05/0.5554, allocations: 2.203 kB / 1.11 GB, free: 23.1 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.694e-05/0.5554, allocations: 4.594 kB / 1.11 GB, free: 23.1 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.5554, allocations: 0.6094 kB / 1.11 GB, free: 23.1 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.5554, allocations: 1.406 kB / 1.11 GB, free: 23.1 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.5554, allocations: 1.406 kB / 1.11 GB, free: 23.1 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001353/0.5556, allocations: 328.2 kB / 1.11 GB, free: 22.74 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.5556, allocations: 5.234 kB / 1.11 GB, free: 22.73 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.388e-06/0.5556, allocations: 2.016 kB / 1.11 GB, free: 22.73 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.5556, allocations: 0 / 1.11 GB, free: 22.73 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.782e-06/0.5556, allocations: 1.219 kB / 1.11 GB, free: 22.73 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.5556, allocations: 4.453 kB / 1.11 GB, free: 22.73 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.5556, allocations: 3.125 kB / 1.11 GB, free: 22.73 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.787e-05/0.5556, allocations: 63.38 kB / 1.11 GB, free: 22.66 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.645e-06/0.5557, allocations: 5.594 kB / 1.11 GB, free: 22.66 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.167e-05/0.5557, allocations: 5.875 kB / 1.11 GB, free: 22.66 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.21e-05/0.5557, allocations: 7.734 kB / 1.11 GB, free: 22.65 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.036e-05/0.5557, allocations: 0 / 1.11 GB, free: 22.65 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.384e-06/0.5557, allocations: 1.859 kB / 1.11 GB, free: 22.65 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 1.877e-05/0.5557, allocations: 88.06 kB / 1.111 GB, free: 22.57 MB / 0.9948 GB Notification: Performance of sort global known variables: time 5.1e-08/0.5557, allocations: 0 / 1.111 GB, free: 22.57 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0001236/0.5559, allocations: 6.188 kB / 1.111 GB, free: 22.57 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.0001439/0.556, allocations: 0.5904 MB / 1.111 GB, free: 21.98 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 6.663e-05/0.5561, allocations: 18.33 kB / 1.111 GB, free: 21.98 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.5561, allocations: 0 / 1.111 GB, free: 21.98 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 3.266e-06/0.5561, allocations: 2.594 kB / 1.111 GB, free: 21.98 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002102/0.5563, allocations: 15.97 kB / 1.111 GB, free: 21.96 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002876/0.5566, allocations: 138.3 kB / 1.111 GB, free: 21.82 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.996e-05/0.5566, allocations: 58.05 kB / 1.111 GB, free: 21.75 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 4.065e-05/0.5567, allocations: 11.72 kB / 1.111 GB, free: 21.75 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.917e-05/0.5567, allocations: 13.69 kB / 1.111 GB, free: 21.74 MB / 0.9948 GB Notification: Performance of SimCode: time 5.81e-07/0.5567, allocations: 0 / 1.111 GB, free: 21.74 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01449/0.5712, allocations: 2.048 MB / 1.113 GB, free: 20.86 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.313/6.884, allocations: 7.234 kB / 1.113 GB, free: 20.86 MB / 0.9948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.fmu > Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.886049844324589]