Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001967/0.001967, allocations: 87.69 kB / 20.24 MB, free: 4.184 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.00201/0.00201, allocations: 157.3 kB / 23.55 MB, free: 0.875 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 1.563/1.563, allocations: 177.1 MB / 203.9 MB, free: 5.336 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.949/2.949, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 0.7863 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.111e-05/3.261e-05, allocations: 12.58 kB / 0.7863 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.2151/0.2152, allocations: 143.8 MB / 0.9268 GB, free: 12.53 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.0001524/0.2153, allocations: 59.73 kB / 0.9269 GB, free: 12.47 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.354e-05/0.2153, allocations: 0 / 0.9269 GB, free: 12.47 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0001172/0.2155, allocations: 0 / 0.9269 GB, free: 12.47 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 8.794e-05/0.2155, allocations: 23.84 kB / 0.9269 GB, free: 12.45 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008737/0.2164, allocations: 207.1 kB / 0.9271 GB, free: 12.25 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 9.685e-05/0.2165, allocations: 31.84 kB / 0.9271 GB, free: 12.21 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 4.122e-05/0.2165, allocations: 11.92 kB / 0.9271 GB, free: 12.2 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 7.499e-05/0.2166, allocations: 19.97 kB / 0.9271 GB, free: 12.18 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 7.332e-05/0.2167, allocations: 12 kB / 0.9272 GB, free: 12.17 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 2.221e-05/0.2167, allocations: 0 / 0.9272 GB, free: 12.17 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00042/0.2171, allocations: 167.4 kB / 0.9273 GB, free: 12.01 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 5.249e-05/0.2172, allocations: 7.969 kB / 0.9273 GB, free: 12 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 3.006e-05/0.2172, allocations: 12 kB / 0.9273 GB, free: 11.99 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.0002932/0.2175, allocations: 111.6 kB / 0.9274 GB, free: 11.88 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.2175, allocations: 0 / 0.9274 GB, free: 11.88 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.573e-06/0.2175, allocations: 4 kB / 0.9274 GB, free: 11.88 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.2175, allocations: 0 / 0.9274 GB, free: 11.88 MB / 0.8855 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.0005461/0.2181, allocations: 368.2 kB / 0.9278 GB, free: 11.48 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.2181, allocations: 16.03 kB / 0.9278 GB, free: 11.46 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003634/0.2185, allocations: 32.8 kB / 0.9278 GB, free: 11.43 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001397/0.2186, allocations: 108.6 kB / 0.9279 GB, free: 11.3 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.104e-05/0.2187, allocations: 51.97 kB / 0.928 GB, free: 11.24 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.923e-05/0.2187, allocations: 8.125 kB / 0.928 GB, free: 11.23 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001581/0.2189, allocations: 71.38 kB / 0.9281 GB, free: 11.15 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.2189, allocations: 0 / 0.9281 GB, free: 11.15 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.2189, allocations: 0 / 0.9281 GB, free: 11.15 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.475e-05/0.2189, allocations: 7.875 kB / 0.9281 GB, free: 11.14 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.896e-05/0.219, allocations: 19.97 kB / 0.9281 GB, free: 11.12 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004471/0.2194, allocations: 259.8 kB / 0.9283 GB, free: 10.83 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 9.28e-05/0.2195, allocations: 31.06 kB / 0.9284 GB, free: 10.79 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.22e-05/0.2195, allocations: 11.75 kB / 0.9284 GB, free: 10.77 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001339/0.2197, allocations: 11.98 kB / 0.9284 GB, free: 10.76 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.47e-05/0.2197, allocations: 45.33 kB / 0.9284 GB, free: 10.71 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=2): time 1.011e-06/0.2197, allocations: 0 / 0.9284 GB, free: 10.71 MB / 0.8855 GB Notification: Performance of matching and sorting (n=2): time 0.0002892/0.22, allocations: 57.64 kB / 0.9285 GB, free: 10.64 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.884e-05/0.2201, allocations: 51.41 kB / 0.9285 GB, free: 10.58 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001401/0.2202, allocations: 165.9 kB / 0.9287 GB, free: 10.4 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.723e-05/0.2202, allocations: 29.7 kB / 0.9287 GB, free: 10.37 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 9.586e-05/0.2203, allocations: 130.8 kB / 0.9289 GB, free: 10.23 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 8.686e-06/0.2203, allocations: 3.953 kB / 0.9289 GB, free: 10.23 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.492e-05/0.2204, allocations: 23.38 kB / 0.9289 GB, free: 10.2 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0002816/0.2207, allocations: 496.1 kB / 0.9294 GB, free: 9.703 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.696e-05/0.2207, allocations: 7.984 kB / 0.9294 GB, free: 9.695 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.774e-05/0.2207, allocations: 39.12 kB / 0.9294 GB, free: 9.645 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.81e-05/0.2208, allocations: 35.06 kB / 0.9294 GB, free: 9.598 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.2208, allocations: 0 / 0.9294 GB, free: 9.598 MB / 0.8855 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.965e-05/0.2209, allocations: 57.62 kB / 0.9295 GB, free: 9.535 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.2209, allocations: 8.781 kB / 0.9295 GB, free: 9.527 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.2209, allocations: 0 / 0.9295 GB, free: 9.527 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.2209, allocations: 0 / 0.9295 GB, free: 9.527 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.294e-05/0.221, allocations: 16.03 kB / 0.9295 GB, free: 9.512 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.221, allocations: 0 / 0.9295 GB, free: 9.512 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.657e-05/0.221, allocations: 0 / 0.9295 GB, free: 9.512 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.206e-06/0.221, allocations: 4 kB / 0.9295 GB, free: 9.508 MB / 0.8855 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.0001317/0.2212, allocations: 160.5 kB / 0.9297 GB, free: 9.34 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.008e-05/0.2212, allocations: 8 kB / 0.9297 GB, free: 9.332 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.993e-05/0.2212, allocations: 3.312 kB / 0.9297 GB, free: 9.324 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/0.2212, allocations: 0 / 0.9297 GB, free: 9.324 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.2212, allocations: 0 / 0.9297 GB, free: 9.324 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.2212, allocations: 0 / 0.9297 GB, free: 9.324 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004215/0.2216, allocations: 427.9 kB / 0.9301 GB, free: 8.855 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.2216, allocations: 3.938 kB / 0.9301 GB, free: 8.852 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.904e-05/0.2217, allocations: 7.984 kB / 0.9301 GB, free: 8.844 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.2217, allocations: 0 / 0.9301 GB, free: 8.844 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.682e-06/0.2217, allocations: 0 / 0.9301 GB, free: 8.844 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.2217, allocations: 4 kB / 0.9301 GB, free: 8.84 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.2217, allocations: 0 / 0.9301 GB, free: 8.84 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001218/0.2218, allocations: 88.02 kB / 0.9302 GB, free: 8.727 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 8.746e-06/0.2218, allocations: 3.984 kB / 0.9302 GB, free: 8.723 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.579e-05/0.2218, allocations: 0 / 0.9302 GB, free: 8.723 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.909e-05/0.2219, allocations: 8.094 kB / 0.9302 GB, free: 8.715 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.431e-05/0.2219, allocations: 3.938 kB / 0.9302 GB, free: 8.711 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.25e-06/0.2219, allocations: 4 kB / 0.9302 GB, free: 8.707 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 8.063e-05/0.222, allocations: 123.2 kB / 0.9303 GB, free: 8.586 MB / 0.8855 GB Notification: Performance of sort global known variables: time 7e-08/0.222, allocations: 0 / 0.9303 GB, free: 8.586 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0001853/0.2222, allocations: 11.98 kB / 0.9303 GB, free: 8.574 MB / 0.8855 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.0001692/0.2224, allocations: 103.6 kB / 0.9304 GB, free: 8.461 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001055/0.2225, allocations: 27.62 kB / 0.9305 GB, free: 8.43 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.2225, allocations: 0 / 0.9305 GB, free: 8.43 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 2.21e-05/0.2225, allocations: 15.67 kB / 0.9305 GB, free: 8.41 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002353/0.2227, allocations: 12.73 kB / 0.9305 GB, free: 8.398 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003215/0.2231, allocations: 126 kB / 0.9306 GB, free: 8.242 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.71e-05/0.2231, allocations: 63.66 kB / 0.9307 GB, free: 8.16 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 5.419e-05/0.2232, allocations: 15.97 kB / 0.9307 GB, free: 8.145 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.443e-05/0.2232, allocations: 8.5 kB / 0.9307 GB, free: 8.137 MB / 0.8855 GB Notification: Performance of SimCode: time 4.81e-07/0.2232, allocations: 0 / 0.9307 GB, free: 8.137 MB / 0.8855 GB Notification: Performance of Templates: time 0.004074/0.2273, allocations: 0.698 MB / 0.9314 GB, free: 7.453 MB / 0.8855 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_AirTemperatureEnthalpyInversion.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.198893964057788]