Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001723/0.001723, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002061/0.002061, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.528/1.528, allocations: 225.6 MB / 249.4 MB, free: 3.152 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.664/2.664, allocations: 443.4 MB / 0.7304 GB, free: 14.09 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_10_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_10_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002233/0.002233, allocations: 71.88 kB / 1.059 GB, free: 444 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.337/0.3393, allocations: 160.7 MB / 1.216 GB, free: 15.41 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.8975/1.237, allocations: 148.3 MB / 1.361 GB, free: 8.074 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0001844/1.237, allocations: 57.58 kB / 1.361 GB, free: 8.039 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.696e-05/1.237, allocations: 1.094 kB / 1.361 GB, free: 8.039 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001575/1.237, allocations: 5.016 kB / 1.361 GB, free: 8.035 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 9.819e-05/1.237, allocations: 10.52 kB / 1.361 GB, free: 8.031 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.000662/1.238, allocations: 106.3 kB / 1.361 GB, free: 7.98 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001336/1.238, allocations: 37.75 kB / 1.361 GB, free: 7.965 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.882e-05/1.238, allocations: 6.641 kB / 1.361 GB, free: 7.961 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 4.78e-05/1.238, allocations: 15.69 kB / 1.361 GB, free: 7.957 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 9.307e-05/1.238, allocations: 13.41 kB / 1.361 GB, free: 7.953 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.424e-05/1.238, allocations: 1.438 kB / 1.361 GB, free: 7.953 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003447/1.239, allocations: 88.03 kB / 1.361 GB, free: 7.918 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 4.968e-05/1.239, allocations: 10.45 kB / 1.361 GB, free: 7.914 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.507e-05/1.239, allocations: 11.14 kB / 1.361 GB, free: 7.91 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001992/1.239, allocations: 72.02 kB / 1.361 GB, free: 7.895 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/1.239, allocations: 3.938 kB / 1.361 GB, free: 7.891 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.202e-06/1.239, allocations: 0 / 1.361 GB, free: 7.891 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.046e-05/1.239, allocations: 5.156 kB / 1.361 GB, free: 7.887 MB / 1.045 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.0005112/1.239, allocations: 336 kB / 1.362 GB, free: 7.531 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/1.239, allocations: 10.22 kB / 1.362 GB, free: 7.531 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002594/1.24, allocations: 21.41 kB / 1.362 GB, free: 7.527 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001511/1.24, allocations: 168.1 kB / 1.362 GB, free: 7.328 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.746e-05/1.24, allocations: 29.64 kB / 1.362 GB, free: 7.293 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.217e-06/1.24, allocations: 1.375 kB / 1.362 GB, free: 7.293 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000155/1.24, allocations: 50.75 kB / 1.362 GB, free: 7.254 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/1.24, allocations: 1.125 kB / 1.362 GB, free: 7.254 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/1.24, allocations: 0 / 1.362 GB, free: 7.254 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.203e-05/1.24, allocations: 3.625 kB / 1.362 GB, free: 7.254 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.303e-05/1.24, allocations: 21.19 kB / 1.362 GB, free: 7.246 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004665/1.241, allocations: 256.5 kB / 1.362 GB, free: 6.973 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 4.584e-05/1.241, allocations: 19.8 kB / 1.362 GB, free: 6.945 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.993e-05/1.241, allocations: 10.92 kB / 1.362 GB, free: 6.934 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 8.246e-06/1.241, allocations: 0 / 1.362 GB, free: 6.934 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.524e-05/1.241, allocations: 34.64 kB / 1.362 GB, free: 6.895 MB / 1.045 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/1.241, allocations: 1.406 kB / 1.362 GB, free: 6.895 MB / 1.045 GB Notification: Performance of matching and sorting (n=1): time 0.0001644/1.241, allocations: 35.69 kB / 1.362 GB, free: 6.859 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.818e-05/1.241, allocations: 60.33 kB / 1.362 GB, free: 6.789 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001244/1.241, allocations: 108.4 kB / 1.362 GB, free: 6.684 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.008e-05/1.241, allocations: 26.98 kB / 1.363 GB, free: 6.652 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.883e-05/1.241, allocations: 94.41 kB / 1.363 GB, free: 6.559 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 6.092e-06/1.241, allocations: 1.922 kB / 1.363 GB, free: 6.559 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.957e-05/1.241, allocations: 16.67 kB / 1.363 GB, free: 6.539 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.00017/1.241, allocations: 313.6 kB / 1.363 GB, free: 6.227 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.59e-05/1.241, allocations: 4.891 kB / 1.363 GB, free: 6.227 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.583e-05/1.241, allocations: 33.61 kB / 1.363 GB, free: 6.191 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.828e-05/1.242, allocations: 31.72 kB / 1.363 GB, free: 6.16 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/1.242, allocations: 0 / 1.363 GB, free: 6.16 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001018/1.242, allocations: 56.95 kB / 1.363 GB, free: 6.117 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/1.242, allocations: 10.5 kB / 1.363 GB, free: 6.113 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/1.242, allocations: 1.188 kB / 1.363 GB, free: 6.113 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.072e-05/1.242, allocations: 6.078 kB / 1.363 GB, free: 6.109 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.282e-05/1.242, allocations: 6.875 kB / 1.363 GB, free: 6.109 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.898e-06/1.242, allocations: 5.156 kB / 1.363 GB, free: 6.105 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.76e-05/1.242, allocations: 1.25 kB / 1.363 GB, free: 6.105 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-06/1.242, allocations: 1.219 kB / 1.363 GB, free: 6.105 MB / 1.045 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 0.0001056/1.242, allocations: 118.9 kB / 1.363 GB, free: 5.984 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.459e-05/1.242, allocations: 1.375 kB / 1.363 GB, free: 5.984 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.764e-05/1.242, allocations: 9.891 kB / 1.363 GB, free: 5.973 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/1.242, allocations: 0.625 kB / 1.363 GB, free: 5.973 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/1.242, allocations: 5.188 kB / 1.363 GB, free: 5.969 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/1.242, allocations: 0 / 1.363 GB, free: 5.969 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003341/1.242, allocations: 340.7 kB / 1.364 GB, free: 5.59 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/1.242, allocations: 0.625 kB / 1.364 GB, free: 5.59 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.369e-05/1.242, allocations: 3.266 kB / 1.364 GB, free: 5.59 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.04e-06/1.242, allocations: 3.938 kB / 1.364 GB, free: 5.586 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.346e-06/1.242, allocations: 0.5625 kB / 1.364 GB, free: 5.586 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.265e-06/1.242, allocations: 9.812 kB / 1.364 GB, free: 5.578 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/1.242, allocations: 0.5625 kB / 1.364 GB, free: 5.578 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.478e-05/1.242, allocations: 65.38 kB / 1.364 GB, free: 5.504 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 5.483e-05/1.242, allocations: 79.75 kB / 1.364 GB, free: 5.41 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.255e-05/1.243, allocations: 4.453 kB / 1.364 GB, free: 5.406 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.322e-05/1.243, allocations: 4.062 kB / 1.364 GB, free: 5.406 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.796e-05/1.243, allocations: 5.984 kB / 1.364 GB, free: 5.402 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.603e-06/1.243, allocations: 3.938 kB / 1.364 GB, free: 5.398 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.979e-05/1.243, allocations: 88.3 kB / 1.364 GB, free: 5.32 MB / 1.045 GB Notification: Performance of sort global known variables: time 6e-08/1.243, allocations: 0 / 1.364 GB, free: 5.32 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0001906/1.243, allocations: 6.188 kB / 1.364 GB, free: 5.32 MB / 1.045 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.0001325/1.243, allocations: 98.19 kB / 1.364 GB, free: 5.234 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 9.965e-05/1.243, allocations: 17.75 kB / 1.364 GB, free: 5.227 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/1.243, allocations: 1.5 kB / 1.364 GB, free: 5.227 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 5.891e-06/1.243, allocations: 5.922 kB / 1.364 GB, free: 5.223 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002378/1.243, allocations: 4.594 kB / 1.364 GB, free: 5.223 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002979/1.244, allocations: 122.6 kB / 1.364 GB, free: 5.105 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003421/1.244, allocations: 0.6803 MB / 1.365 GB, free: 4.406 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 4.807e-05/1.244, allocations: 9.922 kB / 1.365 GB, free: 4.402 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.262e-05/1.244, allocations: 8.906 kB / 1.365 GB, free: 4.395 MB / 1.045 GB Notification: Performance of SimCode: time 3.91e-07/1.244, allocations: 0 / 1.365 GB, free: 4.395 MB / 1.045 GB Notification: Performance of Templates: time 0.003198/1.247, allocations: 0.5169 MB / 1.365 GB, free: 4.336 MB / 1.045 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & ./Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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.102099508978426]