Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.000787/0.000787, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007846/0.0007846, allocations: 177.9 kB / 23.21 MB, free: 1.352 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.8537/0.8537, allocations: 177.1 MB / 203.5 MB, free: 5.719 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.753/1.753, allocations: 389 MB / 0.6338 GB, free: 12.7 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: translateModel(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.132e-06/1.132e-06, allocations: 0 / 1.001 GB, free: 13.05 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.705e-05/1.818e-05, allocations: 6.219 kB / 1.001 GB, free: 13.04 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.5764/0.5764, allocations: 130.4 MB / 1.128 GB, free: 3.305 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.0001275/0.5766, allocations: 47.81 kB / 1.128 GB, free: 3.281 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.835e-05/0.5766, allocations: 0 / 1.128 GB, free: 3.281 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001284/0.5767, allocations: 10.34 kB / 1.128 GB, free: 3.273 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 8.054e-05/0.5768, allocations: 15.84 kB / 1.128 GB, free: 3.266 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007092/0.5775, allocations: 215.3 kB / 1.128 GB, free: 3.168 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 9.326e-05/0.5776, allocations: 33.31 kB / 1.128 GB, free: 3.156 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.01e-05/0.5777, allocations: 1.859 kB / 1.128 GB, free: 3.156 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 5.475e-05/0.5777, allocations: 22.61 kB / 1.129 GB, free: 3.148 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 7.597e-05/0.5778, allocations: 14 kB / 1.129 GB, free: 3.145 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 1.448e-05/0.5778, allocations: 1.188 kB / 1.129 GB, free: 3.145 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003422/0.5781, allocations: 164 kB / 1.129 GB, free: 3.078 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 5.225e-05/0.5782, allocations: 14.86 kB / 1.129 GB, free: 3.07 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 2.476e-05/0.5782, allocations: 6.125 kB / 1.129 GB, free: 3.07 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002609/0.5785, allocations: 114.6 kB / 1.129 GB, free: 3.039 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.5785, allocations: 0 / 1.129 GB, free: 3.039 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.754e-06/0.5785, allocations: 0 / 1.129 GB, free: 3.039 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.5785, allocations: 0 / 1.129 GB, free: 3.039 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.00033/0.5788, allocations: 271.6 kB / 1.129 GB, free: 2.77 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.5789, allocations: 9.844 kB / 1.129 GB, free: 2.77 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002712/0.5791, allocations: 30.81 kB / 1.129 GB, free: 2.766 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.423e-05/0.5792, allocations: 107.6 kB / 1.129 GB, free: 2.637 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.799e-05/0.5792, allocations: 63.08 kB / 1.129 GB, free: 2.57 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.959e-06/0.5793, allocations: 1.312 kB / 1.129 GB, free: 2.57 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001247/0.5794, allocations: 78.03 kB / 1.129 GB, free: 2.5 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.662e-06/0.5794, allocations: 0 / 1.129 GB, free: 2.5 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.5794, allocations: 1.453 kB / 1.129 GB, free: 2.5 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.54e-05/0.5794, allocations: 2.312 kB / 1.129 GB, free: 2.5 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.724e-05/0.5795, allocations: 20.66 kB / 1.129 GB, free: 2.496 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002574/0.5797, allocations: 213 kB / 1.13 GB, free: 2.281 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.71e-05/0.5798, allocations: 24.73 kB / 1.13 GB, free: 2.254 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.785e-05/0.5798, allocations: 7.641 kB / 1.13 GB, free: 2.246 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.843e-05/0.5799, allocations: 18.2 kB / 1.13 GB, free: 2.242 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.65e-05/0.5799, allocations: 31.31 kB / 1.13 GB, free: 2.203 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.5799, allocations: 3.781 kB / 1.13 GB, free: 2.203 MB / 0.9948 GB Notification: Performance of matching and sorting (n=2): time 0.0001925/0.5801, allocations: 57.53 kB / 1.13 GB, free: 2.16 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.944e-05/0.5801, allocations: 52.16 kB / 1.13 GB, free: 2.098 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.815e-05/0.5802, allocations: 106.8 kB / 1.13 GB, free: 1.992 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 7.745e-06/0.5802, allocations: 25.7 kB / 1.13 GB, free: 1.961 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 2.659e-05/0.5802, allocations: 91.53 kB / 1.13 GB, free: 1.871 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 5.711e-06/0.5802, allocations: 1.844 kB / 1.13 GB, free: 1.871 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.476e-05/0.5802, allocations: 21.36 kB / 1.13 GB, free: 1.848 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 2.743e-05/0.5802, allocations: 317.1 kB / 1.13 GB, free: 1.531 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.21e-05/0.5803, allocations: 4.938 kB / 1.13 GB, free: 1.531 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.626e-05/0.5803, allocations: 25.91 kB / 1.13 GB, free: 1.504 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.483e-05/0.5803, allocations: 36.77 kB / 1.13 GB, free: 1.469 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.5803, allocations: 1.031 kB / 1.13 GB, free: 1.469 MB / 0.9948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.807e-05/0.5804, allocations: 52.09 kB / 1.13 GB, free: 1.43 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.5804, allocations: 6.031 kB / 1.13 GB, free: 1.43 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.5804, allocations: 9.016 kB / 1.13 GB, free: 1.422 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.5804, allocations: 1.312 kB / 1.13 GB, free: 1.422 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.341e-05/0.5805, allocations: 6.656 kB / 1.13 GB, free: 1.422 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.5805, allocations: 1.062 kB / 1.13 GB, free: 1.422 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.996e-05/0.5805, allocations: 7 kB / 1.13 GB, free: 1.418 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.82e-06/0.5805, allocations: 1.156 kB / 1.13 GB, free: 1.418 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.564e-05/0.5805, allocations: 117.3 kB / 1.131 GB, free: 1.297 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.43e-05/0.5806, allocations: 2.469 kB / 1.131 GB, free: 1.297 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.865e-05/0.5806, allocations: 4.969 kB / 1.131 GB, free: 1.297 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.5806, allocations: 0 / 1.131 GB, free: 1.297 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.5806, allocations: 2.047 kB / 1.131 GB, free: 1.297 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.5806, allocations: 0 / 1.131 GB, free: 1.297 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001505/0.5807, allocations: 318.4 kB / 1.131 GB, free: 0.9609 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.5807, allocations: 5.438 kB / 1.131 GB, free: 0.957 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.172e-05/0.5808, allocations: 7.219 kB / 1.131 GB, free: 0.9531 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.5808, allocations: 5 kB / 1.131 GB, free: 0.9492 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.553e-06/0.5808, allocations: 1.125 kB / 1.131 GB, free: 0.9492 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.5808, allocations: 0 / 1.131 GB, free: 0.9492 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.5808, allocations: 1.719 kB / 1.131 GB, free: 0.9492 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.58e-05/0.5808, allocations: 71.62 kB / 1.131 GB, free: 0.8711 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.723e-06/0.5808, allocations: 2.094 kB / 1.131 GB, free: 0.8711 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.388e-05/0.5808, allocations: 2.938 kB / 1.131 GB, free: 0.8711 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.067e-05/0.5809, allocations: 3.766 kB / 1.131 GB, free: 0.8711 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.438e-05/0.5809, allocations: 5.844 kB / 1.131 GB, free: 0.8672 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.428e-06/0.5809, allocations: 8.719 kB / 1.131 GB, free: 0.8633 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 1.811e-05/0.5809, allocations: 85.31 kB / 1.131 GB, free: 0.7852 MB / 0.9948 GB Notification: Performance of sort global known variables: time 5e-08/0.5809, allocations: 0 / 1.131 GB, free: 0.7852 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0001392/0.5811, allocations: 6.219 kB / 1.131 GB, free: 0.7852 MB / 0.9948 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.0001007/0.5812, allocations: 100.9 kB / 1.131 GB, free: 0.6953 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 8.057e-05/0.5812, allocations: 15.28 kB / 1.131 GB, free: 0.6914 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.5812, allocations: 4.062 kB / 1.131 GB, free: 0.6875 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 7.244e-06/0.5812, allocations: 8.375 kB / 1.131 GB, free: 0.6836 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000211/0.5815, allocations: 10.64 kB / 1.131 GB, free: 0.6836 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002389/0.5817, allocations: 139.3 kB / 1.131 GB, free: 0.543 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.375e-05/0.5817, allocations: 67.5 kB / 1.131 GB, free: 476 kB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.275e-05/0.5818, allocations: 9.625 kB / 1.131 GB, free: 476 kB / 0.9948 GB Notification: Performance of SimCode: time 3.5e-07/0.5818, allocations: 1.094 kB / 1.131 GB, free: 476 kB / 0.9948 GB Notification: Performance of Templates: time 0.001877/0.5836, allocations: 0.6405 MB / 1.132 GB, free: 436 kB / 0.9948 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_AirTemperatureEnthalpyInversion.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 7.01656889077276]