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.001349/0.001349, allocations: 99.66 kB / 18.94 MB, free: 2.84 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.001472/0.001472, allocations: 220.5 kB / 22.24 MB, free: 5.109 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.632/1.632, allocations: 230.6 MB / 256 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] 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 3.568/3.568, allocations: 0.5107 GB / 0.8158 GB, free: 17.82 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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: 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.002129/0.002129, allocations: 70.95 kB / 1.186 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3871/0.3892, allocations: 181.9 MB / 1.364 GB, free: 13.62 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.2008/0.59, allocations: 130.4 MB / 1.491 GB, free: 10.76 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.0001591/0.5901, allocations: 55.72 kB / 1.491 GB, free: 10.71 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.214e-05/0.5902, allocations: 0 / 1.491 GB, free: 10.71 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0001282/0.5903, allocations: 7.938 kB / 1.491 GB, free: 10.7 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 8.276e-05/0.5904, allocations: 15.92 kB / 1.491 GB, free: 10.68 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008271/0.5912, allocations: 207.2 kB / 1.491 GB, free: 10.48 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 9.022e-05/0.5913, allocations: 39.84 kB / 1.491 GB, free: 10.44 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 5.168e-05/0.5913, allocations: 4 kB / 1.491 GB, free: 10.44 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 3.795e-05/0.5914, allocations: 12 kB / 1.491 GB, free: 10.43 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 7.916e-05/0.5915, allocations: 19.91 kB / 1.491 GB, free: 10.41 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 1.228e-05/0.5915, allocations: 0 / 1.491 GB, free: 10.41 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004046/0.5919, allocations: 163.4 kB / 1.492 GB, free: 10.25 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 4.756e-05/0.5919, allocations: 3.984 kB / 1.492 GB, free: 10.24 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 2.89e-05/0.592, allocations: 11.94 kB / 1.492 GB, free: 10.23 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.0002751/0.5922, allocations: 111.7 kB / 1.492 GB, free: 10.12 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.5922, allocations: 0 / 1.492 GB, free: 10.12 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.873e-06/0.5922, allocations: 4 kB / 1.492 GB, free: 10.12 MB / 1.186 GB Notification: Performance of Transformations before backend: time 6.462e-06/0.5922, allocations: 0 / 1.492 GB, free: 10.12 MB / 1.186 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.0004779/0.5927, allocations: 270.3 kB / 1.492 GB, free: 9.824 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.5928, allocations: 8.031 kB / 1.492 GB, free: 9.816 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000317/0.5931, allocations: 32.8 kB / 1.492 GB, free: 9.785 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001121/0.5932, allocations: 106.5 kB / 1.492 GB, free: 9.656 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.599e-05/0.5933, allocations: 59.34 kB / 1.492 GB, free: 9.586 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.231e-05/0.5933, allocations: 0 / 1.492 GB, free: 9.586 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001594/0.5934, allocations: 71.39 kB / 1.492 GB, free: 9.504 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/0.5935, allocations: 4 kB / 1.492 GB, free: 9.5 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.5935, allocations: 0 / 1.492 GB, free: 9.5 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.02e-05/0.5935, allocations: 7.984 kB / 1.492 GB, free: 9.492 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.736e-05/0.5935, allocations: 23.92 kB / 1.492 GB, free: 9.469 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003634/0.5939, allocations: 204.6 kB / 1.492 GB, free: 9.238 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 6.495e-05/0.594, allocations: 22.58 kB / 1.493 GB, free: 9.207 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.47e-05/0.594, allocations: 8.922 kB / 1.493 GB, free: 9.195 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001383/0.5941, allocations: 19.98 kB / 1.493 GB, free: 9.176 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.651e-05/0.5942, allocations: 34.56 kB / 1.493 GB, free: 9.133 MB / 1.186 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.5942, allocations: 0 / 1.493 GB, free: 9.133 MB / 1.186 GB Notification: Performance of matching and sorting (n=2): time 0.0002461/0.5944, allocations: 49.62 kB / 1.493 GB, free: 9.078 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.785e-05/0.5945, allocations: 55.41 kB / 1.493 GB, free: 9.012 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001037/0.5946, allocations: 101.8 kB / 1.493 GB, free: 8.902 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 2.2e-05/0.5946, allocations: 25.7 kB / 1.493 GB, free: 8.871 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 5.895e-05/0.5946, allocations: 92.09 kB / 1.493 GB, free: 8.777 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 1.139e-05/0.5946, allocations: 12 kB / 1.493 GB, free: 8.766 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.102e-05/0.5947, allocations: 17.72 kB / 1.493 GB, free: 8.742 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001576/0.5948, allocations: 322.8 kB / 1.493 GB, free: 8.418 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.841e-05/0.5949, allocations: 4 kB / 1.493 GB, free: 8.414 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.2e-05/0.5949, allocations: 22.58 kB / 1.493 GB, free: 8.383 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.17e-05/0.5949, allocations: 34.5 kB / 1.493 GB, free: 8.34 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.5949, allocations: 0 / 1.493 GB, free: 8.34 MB / 1.186 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.088e-05/0.595, allocations: 57.69 kB / 1.493 GB, free: 8.277 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.595, allocations: 11.98 kB / 1.493 GB, free: 8.266 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.5951, allocations: 4 kB / 1.493 GB, free: 8.262 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.5951, allocations: 0 / 1.493 GB, free: 8.262 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.45e-05/0.5951, allocations: 4 kB / 1.493 GB, free: 8.258 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.827e-06/0.5951, allocations: 4 kB / 1.493 GB, free: 8.254 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.108e-05/0.5952, allocations: 3.938 kB / 1.493 GB, free: 8.25 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.058e-06/0.5952, allocations: 0 / 1.493 GB, free: 8.25 MB / 1.186 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.735e-05/0.5953, allocations: 117.7 kB / 1.493 GB, free: 8.125 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.695e-05/0.5953, allocations: 4 kB / 1.493 GB, free: 8.121 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.648e-05/0.5953, allocations: 15.3 kB / 1.493 GB, free: 8.105 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-06/0.5953, allocations: 4 kB / 1.493 GB, free: 8.102 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.5953, allocations: 0 / 1.493 GB, free: 8.102 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.633e-06/0.5953, allocations: 4.219 kB / 1.493 GB, free: 8.098 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003043/0.5956, allocations: 315.2 kB / 1.494 GB, free: 7.746 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.5956, allocations: 0 / 1.494 GB, free: 7.746 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.829e-05/0.5957, allocations: 7.938 kB / 1.494 GB, free: 7.738 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.5957, allocations: 0 / 1.494 GB, free: 7.738 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.75e-05/0.5957, allocations: 3.984 kB / 1.494 GB, free: 7.734 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.5957, allocations: 3.938 kB / 1.494 GB, free: 7.73 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.5957, allocations: 0 / 1.494 GB, free: 7.73 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.014e-05/0.5958, allocations: 74.05 kB / 1.494 GB, free: 7.637 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 8.326e-06/0.5958, allocations: 4 kB / 1.494 GB, free: 7.633 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.557e-05/0.5958, allocations: 0 / 1.494 GB, free: 7.633 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.484e-05/0.5959, allocations: 15.86 kB / 1.494 GB, free: 7.617 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.739e-05/0.5959, allocations: 0 / 1.494 GB, free: 7.617 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-06/0.5959, allocations: 0 / 1.494 GB, free: 7.617 MB / 1.186 GB Notification: Performance of sorting global known variables: time 5.167e-05/0.596, allocations: 83.28 kB / 1.494 GB, free: 7.535 MB / 1.186 GB Notification: Performance of sort global known variables: time 8e-08/0.596, allocations: 0 / 1.494 GB, free: 7.535 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0001972/0.5962, allocations: 8 kB / 1.494 GB, free: 7.527 MB / 1.186 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.0001447/0.5963, allocations: 103.3 kB / 1.494 GB, free: 7.418 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0001026/0.5964, allocations: 15.94 kB / 1.494 GB, free: 7.402 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.5964, allocations: 0 / 1.494 GB, free: 7.402 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 8.807e-06/0.5964, allocations: 4 kB / 1.494 GB, free: 7.398 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002652/0.5967, allocations: 6.031 kB / 1.494 GB, free: 7.395 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003793/0.5971, allocations: 127.9 kB / 1.494 GB, free: 7.238 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.943e-05/0.5971, allocations: 63.3 kB / 1.494 GB, free: 7.156 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 5.484e-05/0.5972, allocations: 7.984 kB / 1.494 GB, free: 7.148 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.183e-05/0.5972, allocations: 7.438 kB / 1.494 GB, free: 7.141 MB / 1.186 GB Notification: Performance of SimCode: time 3.2e-07/0.5972, allocations: 0 / 1.494 GB, free: 7.141 MB / 1.186 GB Notification: Performance of Templates: time 0.003298/0.6005, allocations: 0.6166 MB / 1.495 GB, free: 6.531 MB / 1.186 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: 9.790209263563156]