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.001459/0.001459, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001676/0.001676, allocations: 215.9 kB / 23 MB, free: 4.566 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.312/1.312, allocations: 230.6 MB / 256.8 MB, free: 8.008 MB / 206.1 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 2.913/2.913, allocations: 0.505 GB / 0.8108 GB, free: 22.02 MB / 0.6231 GB " [Timeout remaining time 177] 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.00186/0.00186, allocations: 67.59 kB / 1.178 GB, free: 16.87 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2822/0.2841, allocations: 180.2 MB / 1.354 GB, free: 7.992 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1627/0.4467, allocations: 151.6 MB / 1.502 GB, free: 15.8 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.0001287/0.4469, allocations: 59.84 kB / 1.502 GB, free: 15.74 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.5e-05/0.4469, allocations: 0 / 1.502 GB, free: 15.74 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 9.341e-05/0.447, allocations: 3.938 kB / 1.502 GB, free: 15.73 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 7.09e-05/0.4471, allocations: 19.91 kB / 1.502 GB, free: 15.71 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006793/0.4477, allocations: 220.1 kB / 1.502 GB, free: 15.5 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 7.939e-05/0.4478, allocations: 35.84 kB / 1.502 GB, free: 15.46 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 3.227e-05/0.4479, allocations: 4 kB / 1.502 GB, free: 15.46 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 3.478e-05/0.4479, allocations: 19.92 kB / 1.502 GB, free: 15.44 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 6.127e-05/0.448, allocations: 15.97 kB / 1.502 GB, free: 15.43 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 9.177e-06/0.448, allocations: 0 / 1.502 GB, free: 15.43 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003962/0.4484, allocations: 207.4 kB / 1.503 GB, free: 15.22 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 3.991e-05/0.4484, allocations: 15.92 kB / 1.503 GB, free: 15.21 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 2.134e-05/0.4484, allocations: 8 kB / 1.503 GB, free: 15.2 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.0002144/0.4486, allocations: 123.7 kB / 1.503 GB, free: 15.08 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.4486, allocations: 0 / 1.503 GB, free: 15.08 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.112e-06/0.4486, allocations: 0 / 1.503 GB, free: 15.08 MB / 1.201 GB Notification: Performance of Transformations before backend: time 3.907e-06/0.4486, allocations: 0 / 1.503 GB, free: 15.08 MB / 1.201 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.0003558/0.449, allocations: 270.2 kB / 1.503 GB, free: 14.79 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 2.86e-05/0.449, allocations: 8.031 kB / 1.503 GB, free: 14.78 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002719/0.4493, allocations: 24.91 kB / 1.503 GB, free: 14.75 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.275e-05/0.4494, allocations: 106.5 kB / 1.503 GB, free: 14.62 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.791e-05/0.4495, allocations: 63.34 kB / 1.503 GB, free: 14.55 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.656e-06/0.4495, allocations: 4 kB / 1.503 GB, free: 14.55 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001133/0.4496, allocations: 41.69 kB / 1.503 GB, free: 14.5 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.094e-06/0.4496, allocations: 0 / 1.503 GB, free: 14.5 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/0.4496, allocations: 11.98 kB / 1.503 GB, free: 14.49 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.991e-05/0.4496, allocations: 11.97 kB / 1.503 GB, free: 14.48 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.687e-05/0.4497, allocations: 19.98 kB / 1.503 GB, free: 14.46 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003266/0.45, allocations: 235.9 kB / 1.504 GB, free: 14.18 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 4.805e-05/0.45, allocations: 26.5 kB / 1.504 GB, free: 14.15 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.927e-05/0.4501, allocations: 8.922 kB / 1.504 GB, free: 14.14 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001107/0.4502, allocations: 16 kB / 1.504 GB, free: 14.12 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.565e-05/0.4502, allocations: 42.48 kB / 1.504 GB, free: 14.07 MB / 1.201 GB Notification: Performance of pre-optimization done (n=2): time 9.21e-07/0.4502, allocations: 4 kB / 1.504 GB, free: 14.07 MB / 1.201 GB Notification: Performance of matching and sorting (n=2): time 0.0002212/0.4504, allocations: 49.62 kB / 1.504 GB, free: 14.01 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.463e-05/0.4505, allocations: 55.41 kB / 1.504 GB, free: 13.95 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.296e-05/0.4505, allocations: 101.8 kB / 1.504 GB, free: 13.84 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 1.706e-05/0.4506, allocations: 25.7 kB / 1.504 GB, free: 13.8 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 4.903e-05/0.4506, allocations: 92.08 kB / 1.504 GB, free: 13.71 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 8.676e-06/0.4506, allocations: 7.891 kB / 1.504 GB, free: 13.7 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.244e-05/0.4506, allocations: 21.84 kB / 1.504 GB, free: 13.68 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.4508, allocations: 310.8 kB / 1.504 GB, free: 13.36 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.393e-05/0.4508, allocations: 4 kB / 1.504 GB, free: 13.36 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.188e-05/0.4508, allocations: 26.56 kB / 1.504 GB, free: 13.32 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.57e-05/0.4509, allocations: 34.52 kB / 1.504 GB, free: 13.28 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.4509, allocations: 0 / 1.504 GB, free: 13.28 MB / 1.201 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.944e-05/0.4509, allocations: 53.62 kB / 1.504 GB, free: 13.22 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.451, allocations: 8 kB / 1.504 GB, free: 13.21 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.451, allocations: 0 / 1.504 GB, free: 13.21 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.451, allocations: 0 / 1.504 GB, free: 13.21 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.509e-05/0.451, allocations: 8 kB / 1.504 GB, free: 13.21 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.451, allocations: 7.922 kB / 1.504 GB, free: 13.2 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.695e-05/0.4511, allocations: 3.953 kB / 1.504 GB, free: 13.2 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.88e-06/0.4511, allocations: 4.094 kB / 1.504 GB, free: 13.19 MB / 1.201 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 7.558e-05/0.4511, allocations: 117.8 kB / 1.505 GB, free: 13.07 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.597e-05/0.4512, allocations: 4 kB / 1.505 GB, free: 13.06 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.727e-05/0.4512, allocations: 3.312 kB / 1.505 GB, free: 13.06 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-06/0.4512, allocations: 0 / 1.505 GB, free: 13.06 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.4512, allocations: 3.938 kB / 1.505 GB, free: 13.05 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.713e-06/0.4512, allocations: 3.938 kB / 1.505 GB, free: 13.05 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002868/0.4515, allocations: 334.7 kB / 1.505 GB, free: 12.67 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-06/0.4515, allocations: 0 / 1.505 GB, free: 12.67 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.635e-05/0.4515, allocations: 7.938 kB / 1.505 GB, free: 12.66 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.4515, allocations: 3.938 kB / 1.505 GB, free: 12.66 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.589e-06/0.4515, allocations: 3.938 kB / 1.505 GB, free: 12.65 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.4515, allocations: 0 / 1.505 GB, free: 12.65 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.4515, allocations: 0 / 1.505 GB, free: 12.65 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.328e-05/0.4516, allocations: 82 kB / 1.505 GB, free: 12.55 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 7.273e-06/0.4516, allocations: 3.938 kB / 1.505 GB, free: 12.55 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.575e-05/0.4516, allocations: 4 kB / 1.505 GB, free: 12.54 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.736e-05/0.4517, allocations: 7.984 kB / 1.505 GB, free: 12.54 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.606e-05/0.4517, allocations: 4 kB / 1.505 GB, free: 12.53 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.823e-06/0.4517, allocations: 0 / 1.505 GB, free: 12.53 MB / 1.201 GB Notification: Performance of sorting global known variables: time 4.425e-05/0.4518, allocations: 79.56 kB / 1.505 GB, free: 12.45 MB / 1.201 GB Notification: Performance of sort global known variables: time 9e-08/0.4518, allocations: 3.938 kB / 1.505 GB, free: 12.45 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0001827/0.4519, allocations: 12.03 kB / 1.505 GB, free: 12.44 MB / 1.201 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 9.794e-05/0.452, allocations: 107.3 kB / 1.505 GB, free: 12.32 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 6.7e-05/0.4521, allocations: 8 kB / 1.505 GB, free: 12.32 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.4521, allocations: 0 / 1.505 GB, free: 12.32 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 1.341e-05/0.4521, allocations: 11.94 kB / 1.505 GB, free: 12.3 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001987/0.4523, allocations: 9.859 kB / 1.505 GB, free: 12.3 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002506/0.4526, allocations: 153.3 kB / 1.505 GB, free: 12.11 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002753/0.4528, allocations: 0.6729 MB / 1.506 GB, free: 11.41 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.918e-05/0.4529, allocations: 7.438 kB / 1.506 GB, free: 11.41 MB / 1.201 GB Notification: Performance of SimCode: time 3.01e-07/0.4529, allocations: 0 / 1.506 GB, free: 11.41 MB / 1.201 GB Notification: Performance of Templates: time 0.001854/0.4547, allocations: 0.6212 MB / 1.507 GB, free: 10.79 MB / 1.201 GB " [Timeout remaining time 300] 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/jenkins1/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: 10.059637058991939]