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.001674/0.001674, allocations: 78.8 kB / 19.76 MB, free: 2.031 MB / 14.72 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.002033/0.002033, allocations: 157.8 kB / 23.01 MB, free: 4.945 MB / 14.72 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 1.566/1.566, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.819/2.819, allocations: 377.9 MB / 0.6228 GB, free: 12.54 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0028/0.0028, allocations: 63.89 kB / 0.9819 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.041/1.044, allocations: 176.1 MB / 1.154 GB, free: 33.3 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.177/1.221, allocations: 130 MB / 1.281 GB, free: 9.691 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.0001751/1.221, allocations: 46.09 kB / 1.281 GB, free: 9.664 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.175e-05/1.221, allocations: 1.156 kB / 1.281 GB, free: 9.664 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0001186/1.221, allocations: 5.016 kB / 1.281 GB, free: 9.66 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 8.628e-05/1.221, allocations: 21.98 kB / 1.281 GB, free: 9.645 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005261/1.221, allocations: 105.6 kB / 1.281 GB, free: 9.598 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 9.673e-05/1.222, allocations: 32.91 kB / 1.281 GB, free: 9.586 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 4.499e-05/1.222, allocations: 2.219 kB / 1.281 GB, free: 9.586 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 4.17e-05/1.222, allocations: 15.44 kB / 1.281 GB, free: 9.582 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 8.365e-05/1.222, allocations: 16.61 kB / 1.281 GB, free: 9.574 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 1.396e-05/1.222, allocations: 2.156 kB / 1.281 GB, free: 9.574 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002626/1.222, allocations: 73.06 kB / 1.281 GB, free: 9.543 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 6.943e-05/1.222, allocations: 10.67 kB / 1.281 GB, free: 9.539 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 2.94e-05/1.222, allocations: 10.45 kB / 1.281 GB, free: 9.535 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.0001911/1.222, allocations: 68.08 kB / 1.281 GB, free: 9.523 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/1.222, allocations: 3.938 kB / 1.281 GB, free: 9.52 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.703e-06/1.222, allocations: 1.25 kB / 1.281 GB, free: 9.52 MB / 1.139 GB Notification: Performance of Transformations before backend: time 5.641e-06/1.222, allocations: 0 / 1.281 GB, free: 9.52 MB / 1.139 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.0004501/1.223, allocations: 261.6 kB / 1.281 GB, free: 9.254 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/1.223, allocations: 9.812 kB / 1.281 GB, free: 9.254 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002407/1.223, allocations: 21.52 kB / 1.281 GB, free: 9.25 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001088/1.223, allocations: 108.5 kB / 1.282 GB, free: 9.121 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.326e-05/1.223, allocations: 62.56 kB / 1.282 GB, free: 9.051 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.273e-05/1.223, allocations: 1.031 kB / 1.282 GB, free: 9.051 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001554/1.223, allocations: 72.47 kB / 1.282 GB, free: 8.984 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.228e-06/1.223, allocations: 0 / 1.282 GB, free: 8.984 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/1.223, allocations: 4 kB / 1.282 GB, free: 8.98 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.794e-05/1.223, allocations: 2.938 kB / 1.282 GB, free: 8.98 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.905e-05/1.224, allocations: 22.17 kB / 1.282 GB, free: 8.973 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004446/1.224, allocations: 210.2 kB / 1.282 GB, free: 8.762 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 4.991e-05/1.224, allocations: 20.56 kB / 1.282 GB, free: 8.734 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.968e-05/1.224, allocations: 6.047 kB / 1.282 GB, free: 8.727 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 8.826e-06/1.224, allocations: 1.375 kB / 1.282 GB, free: 8.727 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.986e-05/1.224, allocations: 32.39 kB / 1.282 GB, free: 8.688 MB / 1.139 GB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/1.224, allocations: 3.938 kB / 1.282 GB, free: 8.684 MB / 1.139 GB Notification: Performance of matching and sorting (n=1): time 0.0001453/1.224, allocations: 36.06 kB / 1.282 GB, free: 8.648 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.058e-05/1.224, allocations: 52.84 kB / 1.282 GB, free: 8.586 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001176/1.224, allocations: 117.7 kB / 1.282 GB, free: 8.473 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/1.224, allocations: 25.7 kB / 1.282 GB, free: 8.441 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 5.931e-05/1.224, allocations: 95.42 kB / 1.282 GB, free: 8.348 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 6.502e-06/1.224, allocations: 1.781 kB / 1.282 GB, free: 8.348 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.965e-05/1.225, allocations: 17.92 kB / 1.282 GB, free: 8.328 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001455/1.225, allocations: 312.8 kB / 1.283 GB, free: 8.016 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.69e-05/1.225, allocations: 4.156 kB / 1.283 GB, free: 8.016 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.485e-05/1.225, allocations: 25.73 kB / 1.283 GB, free: 7.988 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.246e-05/1.225, allocations: 37 kB / 1.283 GB, free: 7.953 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/1.225, allocations: 1.094 kB / 1.283 GB, free: 7.953 MB / 1.139 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.784e-05/1.225, allocations: 52.7 kB / 1.283 GB, free: 7.914 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/1.225, allocations: 5.344 kB / 1.283 GB, free: 7.914 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/1.225, allocations: 1.25 kB / 1.283 GB, free: 7.914 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/1.225, allocations: 1.062 kB / 1.283 GB, free: 7.914 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.061e-05/1.225, allocations: 6.953 kB / 1.283 GB, free: 7.914 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.401e-06/1.225, allocations: 1.281 kB / 1.283 GB, free: 7.914 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.687e-05/1.225, allocations: 9.828 kB / 1.283 GB, free: 7.906 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/1.225, allocations: 6.062 kB / 1.283 GB, free: 7.902 MB / 1.139 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.659e-05/1.225, allocations: 112.6 kB / 1.283 GB, free: 7.785 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.585e-05/1.225, allocations: 2.781 kB / 1.283 GB, free: 7.785 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.281e-05/1.225, allocations: 9.172 kB / 1.283 GB, free: 7.773 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/1.225, allocations: 7.922 kB / 1.283 GB, free: 7.766 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/1.225, allocations: 1.656 kB / 1.283 GB, free: 7.766 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/1.225, allocations: 3.938 kB / 1.283 GB, free: 7.762 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002497/1.225, allocations: 291.2 kB / 1.283 GB, free: 7.449 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/1.225, allocations: 1.344 kB / 1.283 GB, free: 7.449 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.794e-05/1.225, allocations: 5.828 kB / 1.283 GB, free: 7.445 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/1.225, allocations: 4.031 kB / 1.283 GB, free: 7.441 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.39e-06/1.225, allocations: 1.281 kB / 1.283 GB, free: 7.441 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/1.225, allocations: 4.594 kB / 1.283 GB, free: 7.438 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/1.225, allocations: 0 / 1.283 GB, free: 7.438 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.697e-05/1.226, allocations: 63.28 kB / 1.283 GB, free: 7.367 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 1.22e-05/1.226, allocations: 5.875 kB / 1.283 GB, free: 7.363 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.623e-05/1.226, allocations: 1.594 kB / 1.283 GB, free: 7.363 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.825e-05/1.226, allocations: 7.844 kB / 1.283 GB, free: 7.359 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.579e-05/1.226, allocations: 0.5625 kB / 1.283 GB, free: 7.359 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.585e-06/1.226, allocations: 1.922 kB / 1.283 GB, free: 7.359 MB / 1.139 GB Notification: Performance of sorting global known variables: time 6.439e-05/1.226, allocations: 89.8 kB / 1.283 GB, free: 7.277 MB / 1.139 GB Notification: Performance of sort global known variables: time 8e-08/1.226, allocations: 0 / 1.283 GB, free: 7.277 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0001938/1.226, allocations: 9.656 kB / 1.283 GB, free: 7.273 MB / 1.139 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.0001053/1.226, allocations: 99.06 kB / 1.283 GB, free: 7.188 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 7.984e-05/1.226, allocations: 13.84 kB / 1.283 GB, free: 7.184 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/1.226, allocations: 0 / 1.283 GB, free: 7.184 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 5.49e-06/1.226, allocations: 2.625 kB / 1.283 GB, free: 7.184 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002564/1.226, allocations: 11.89 kB / 1.284 GB, free: 7.176 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002579/1.227, allocations: 120.1 kB / 1.284 GB, free: 7.059 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.506e-05/1.227, allocations: 60.05 kB / 1.284 GB, free: 6.988 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 4.589e-05/1.227, allocations: 5.297 kB / 1.284 GB, free: 6.988 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.264e-05/1.227, allocations: 9.812 kB / 1.284 GB, free: 6.98 MB / 1.139 GB Notification: Performance of SimCode: time 3.3e-07/1.227, allocations: 0 / 1.284 GB, free: 6.98 MB / 1.139 GB Notification: Performance of Templates: time 0.003009/1.23, allocations: 0.5359 MB / 1.284 GB, free: 6.887 MB / 1.139 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/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: 9.373684706981294]