Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.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.001371/0.001371, allocations: 85.38 kB / 19.76 MB, free: 2.023 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.002089/0.002089, allocations: 159.5 kB / 23.01 MB, free: 4.961 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.564/1.564, allocations: 177.2 MB / 203.4 MB, free: 8.957 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.823/2.823, allocations: 377.9 MB / 0.6228 GB, free: 12.57 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.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_12_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_12_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") [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.002217/0.002217, allocations: 63.91 kB / 0.9819 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.19/1.192, allocations: 176.1 MB / 1.154 GB, free: 33.34 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.2159/1.408, allocations: 130.3 MB / 1.281 GB, free: 9.473 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.0002/1.408, allocations: 54.09 kB / 1.281 GB, free: 9.441 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.612e-05/1.408, allocations: 4 kB / 1.281 GB, free: 9.438 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0001426/1.408, allocations: 7.047 kB / 1.281 GB, free: 9.434 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 9.003e-05/1.409, allocations: 12.97 kB / 1.281 GB, free: 9.426 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.001023/1.41, allocations: 215.1 kB / 1.281 GB, free: 9.328 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.0001099/1.41, allocations: 28.69 kB / 1.281 GB, free: 9.32 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 5.225e-05/1.41, allocations: 10.14 kB / 1.281 GB, free: 9.312 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 4.779e-05/1.41, allocations: 19.97 kB / 1.282 GB, free: 9.305 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 8.991e-05/1.41, allocations: 9.688 kB / 1.282 GB, free: 9.305 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 1.418e-05/1.41, allocations: 1.188 kB / 1.282 GB, free: 9.305 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005295/1.41, allocations: 169 kB / 1.282 GB, free: 9.234 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 6.554e-05/1.41, allocations: 4.719 kB / 1.282 GB, free: 9.234 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 4.523e-05/1.41, allocations: 15.64 kB / 1.282 GB, free: 9.227 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.0003602/1.411, allocations: 110.9 kB / 1.282 GB, free: 9.199 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/1.411, allocations: 0 / 1.282 GB, free: 9.199 MB / 1.139 GB Notification: Performance of FrontEnd: time 3.156e-06/1.411, allocations: 1.188 kB / 1.282 GB, free: 9.199 MB / 1.139 GB Notification: Performance of Transformations before backend: time 8.456e-06/1.411, allocations: 4 kB / 1.282 GB, free: 9.195 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.000561/1.411, allocations: 267.8 kB / 1.282 GB, free: 8.926 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/1.411, allocations: 9.594 kB / 1.282 GB, free: 8.926 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003556/1.412, allocations: 26.23 kB / 1.282 GB, free: 8.922 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001402/1.412, allocations: 106.1 kB / 1.282 GB, free: 8.797 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.873e-05/1.412, allocations: 56.56 kB / 1.282 GB, free: 8.73 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.318e-06/1.412, allocations: 1.25 kB / 1.282 GB, free: 8.73 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001846/1.412, allocations: 74.42 kB / 1.282 GB, free: 8.664 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/1.412, allocations: 4 kB / 1.282 GB, free: 8.66 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/1.412, allocations: 0.875 kB / 1.282 GB, free: 8.66 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.095e-05/1.412, allocations: 6.703 kB / 1.282 GB, free: 8.656 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.723e-05/1.412, allocations: 21.17 kB / 1.282 GB, free: 8.652 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00051/1.413, allocations: 208.7 kB / 1.283 GB, free: 8.441 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 7.294e-05/1.413, allocations: 24.86 kB / 1.283 GB, free: 8.414 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.453e-05/1.413, allocations: 6.953 kB / 1.283 GB, free: 8.406 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001392/1.413, allocations: 14.67 kB / 1.283 GB, free: 8.406 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.337e-05/1.413, allocations: 44.78 kB / 1.283 GB, free: 8.355 MB / 1.139 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/1.413, allocations: 0 / 1.283 GB, free: 8.355 MB / 1.139 GB Notification: Performance of matching and sorting (n=2): time 0.0002608/1.413, allocations: 52.38 kB / 1.283 GB, free: 8.316 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.65e-05/1.413, allocations: 52.53 kB / 1.283 GB, free: 8.254 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001017/1.414, allocations: 102.2 kB / 1.283 GB, free: 8.152 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 2.242e-05/1.414, allocations: 26.27 kB / 1.283 GB, free: 8.121 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 6.579e-05/1.414, allocations: 90 kB / 1.283 GB, free: 8.031 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 9.738e-06/1.414, allocations: 9.672 kB / 1.283 GB, free: 8.023 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.011e-05/1.414, allocations: 18.34 kB / 1.283 GB, free: 8.004 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.00017/1.414, allocations: 321.5 kB / 1.283 GB, free: 7.684 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.765e-05/1.414, allocations: 5.016 kB / 1.283 GB, free: 7.684 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.335e-05/1.414, allocations: 30.2 kB / 1.283 GB, free: 7.652 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.59e-05/1.414, allocations: 28.2 kB / 1.283 GB, free: 7.625 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/1.414, allocations: 0 / 1.283 GB, free: 7.625 MB / 1.139 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.453e-05/1.414, allocations: 53.53 kB / 1.283 GB, free: 7.586 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/1.414, allocations: 6 kB / 1.283 GB, free: 7.586 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/1.414, allocations: 4.703 kB / 1.283 GB, free: 7.582 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/1.414, allocations: 1.469 kB / 1.283 GB, free: 7.582 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.254e-05/1.414, allocations: 10.02 kB / 1.283 GB, free: 7.578 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/1.414, allocations: 1.781 kB / 1.283 GB, free: 7.578 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.157e-05/1.414, allocations: 6.281 kB / 1.283 GB, free: 7.574 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-06/1.414, allocations: 1.688 kB / 1.283 GB, free: 7.574 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 9.71e-05/1.414, allocations: 110.7 kB / 1.284 GB, free: 7.461 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.044e-05/1.414, allocations: 8.984 kB / 1.284 GB, free: 7.453 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.459e-05/1.414, allocations: 5.172 kB / 1.284 GB, free: 7.449 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/1.414, allocations: 5.516 kB / 1.284 GB, free: 7.445 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/1.414, allocations: 288 / 1.284 GB, free: 7.445 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/1.414, allocations: 5.188 kB / 1.284 GB, free: 7.441 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003108/1.415, allocations: 310 kB / 1.284 GB, free: 7.113 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/1.415, allocations: 0.9688 kB / 1.284 GB, free: 7.113 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.117e-05/1.415, allocations: 7.594 kB / 1.284 GB, free: 7.109 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/1.415, allocations: 2.047 kB / 1.284 GB, free: 7.109 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.584e-06/1.415, allocations: 1.344 kB / 1.284 GB, free: 7.109 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.666e-06/1.415, allocations: 7.938 kB / 1.284 GB, free: 7.102 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/1.415, allocations: 0.9375 kB / 1.284 GB, free: 7.102 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.913e-05/1.415, allocations: 76.2 kB / 1.284 GB, free: 7.02 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 1.083e-05/1.415, allocations: 6.094 kB / 1.284 GB, free: 7.016 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.532e-05/1.415, allocations: 1.156 kB / 1.284 GB, free: 7.016 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.859e-05/1.415, allocations: 8.141 kB / 1.284 GB, free: 7.012 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.66e-05/1.415, allocations: 2.906 kB / 1.284 GB, free: 7.012 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.21e-06/1.415, allocations: 5.375 kB / 1.284 GB, free: 7.008 MB / 1.139 GB Notification: Performance of sorting global known variables: time 5.625e-05/1.415, allocations: 84.72 kB / 1.284 GB, free: 6.93 MB / 1.139 GB Notification: Performance of sort global known variables: time 8e-08/1.415, allocations: 0 / 1.284 GB, free: 6.93 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0001927/1.415, allocations: 9.812 kB / 1.284 GB, free: 6.926 MB / 1.139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0001505/1.415, allocations: 110.4 kB / 1.284 GB, free: 6.828 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0001148/1.416, allocations: 19.03 kB / 1.284 GB, free: 6.82 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/1.416, allocations: 1.562 kB / 1.284 GB, free: 6.82 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 1.263e-05/1.416, allocations: 4.047 kB / 1.284 GB, free: 6.82 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002716/1.416, allocations: 4.188 kB / 1.284 GB, free: 6.82 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003449/1.416, allocations: 132.4 kB / 1.284 GB, free: 6.688 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.587e-05/1.416, allocations: 59.52 kB / 1.284 GB, free: 6.617 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 5.015e-05/1.416, allocations: 5.484 kB / 1.284 GB, free: 6.617 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.051e-05/1.416, allocations: 9.625 kB / 1.284 GB, free: 6.605 MB / 1.139 GB Notification: Performance of SimCode: time 3e-07/1.416, allocations: 1.188 kB / 1.284 GB, free: 6.605 MB / 1.139 GB Notification: Performance of Templates: time 0.004015/1.42, allocations: 0.599 MB / 1.285 GB, free: 6.504 MB / 1.139 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_12_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./Buildings_12_Buildings.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Media.Examples.AirTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_AirTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.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.6975141169969]