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.001454/0.001454, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.001558/0.001558, allocations: 161.7 kB / 23.54 MB, free: 0.8906 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.48/1.48, allocations: 177.1 MB / 203.9 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.841/2.841, allocations: 377.8 MB / 0.6232 GB, free: 8.527 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 2.394e-06/2.394e-06, allocations: 0 / 0.8108 GB, free: 2.133 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.407e-05/3.647e-05, allocations: 6.938 kB / 0.8108 GB, free: 2.125 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.2005/0.2006, allocations: 130.4 MB / 0.9381 GB, free: 15.31 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0001655/0.2007, allocations: 59.73 kB / 0.9381 GB, free: 15.25 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.054e-05/0.2008, allocations: 0 / 0.9381 GB, free: 15.25 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.000135/0.2009, allocations: 3.938 kB / 0.9382 GB, free: 15.25 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 9.372e-05/0.201, allocations: 11.98 kB / 0.9382 GB, free: 15.24 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009069/0.2019, allocations: 219 kB / 0.9384 GB, free: 15.02 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001033/0.202, allocations: 35.84 kB / 0.9384 GB, free: 14.99 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 3.48e-05/0.2021, allocations: 4 kB / 0.9384 GB, free: 14.98 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 5.083e-05/0.2021, allocations: 15.98 kB / 0.9384 GB, free: 14.97 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 8.036e-05/0.2022, allocations: 19.91 kB / 0.9384 GB, free: 14.95 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.36e-05/0.2022, allocations: 0 / 0.9384 GB, free: 14.95 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004371/0.2026, allocations: 159.4 kB / 0.9386 GB, free: 14.79 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 5.339e-05/0.2027, allocations: 11.91 kB / 0.9386 GB, free: 14.78 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 3.142e-05/0.2027, allocations: 8 kB / 0.9386 GB, free: 14.77 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0003185/0.203, allocations: 119.6 kB / 0.9387 GB, free: 14.66 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.203, allocations: 0 / 0.9387 GB, free: 14.66 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.232e-06/0.203, allocations: 4 kB / 0.9387 GB, free: 14.65 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.299e-06/0.203, allocations: 0 / 0.9387 GB, free: 14.65 MB / 0.9011 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.0004745/0.2035, allocations: 262.3 kB / 0.939 GB, free: 14.37 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.2036, allocations: 12.03 kB / 0.939 GB, free: 14.36 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003804/0.2039, allocations: 36.8 kB / 0.939 GB, free: 14.32 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001276/0.2041, allocations: 105.8 kB / 0.9391 GB, free: 14.19 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.3e-05/0.2041, allocations: 55.97 kB / 0.9392 GB, free: 14.12 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.568e-05/0.2042, allocations: 16.06 kB / 0.9392 GB, free: 14.11 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001843/0.2044, allocations: 75.38 kB / 0.9393 GB, free: 14.02 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.2044, allocations: 0 / 0.9393 GB, free: 14.02 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/0.2044, allocations: 0 / 0.9393 GB, free: 14.02 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.636e-05/0.2044, allocations: 0 / 0.9393 GB, free: 14.02 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.413e-05/0.2045, allocations: 27.97 kB / 0.9393 GB, free: 14 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004208/0.2049, allocations: 208.5 kB / 0.9395 GB, free: 13.76 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 7.392e-05/0.205, allocations: 22.52 kB / 0.9395 GB, free: 13.73 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.701e-05/0.205, allocations: 8.859 kB / 0.9395 GB, free: 13.72 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001511/0.2051, allocations: 20.05 kB / 0.9395 GB, free: 13.7 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.337e-05/0.2052, allocations: 34.56 kB / 0.9396 GB, free: 13.66 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.2052, allocations: 0 / 0.9396 GB, free: 13.66 MB / 0.9011 GB Notification: Performance of matching and sorting (n=2): time 0.0002927/0.2055, allocations: 53.64 kB / 0.9396 GB, free: 13.6 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.446e-05/0.2055, allocations: 51.41 kB / 0.9397 GB, free: 13.54 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001165/0.2056, allocations: 109.7 kB / 0.9398 GB, free: 13.42 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 2.784e-05/0.2057, allocations: 25.7 kB / 0.9398 GB, free: 13.39 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 7.024e-05/0.2057, allocations: 92.22 kB / 0.9399 GB, free: 13.29 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 1.219e-05/0.2058, allocations: 7.953 kB / 0.9399 GB, free: 13.29 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.975e-05/0.2058, allocations: 13.72 kB / 0.9399 GB, free: 13.27 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.000172/0.206, allocations: 322.7 kB / 0.9402 GB, free: 12.94 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.318e-05/0.206, allocations: 8 kB / 0.9402 GB, free: 12.93 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.533e-05/0.206, allocations: 22.58 kB / 0.9403 GB, free: 12.9 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.03e-05/0.2061, allocations: 34.5 kB / 0.9403 GB, free: 12.86 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.2061, allocations: 0 / 0.9403 GB, free: 12.86 MB / 0.9011 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001067/0.2062, allocations: 57.62 kB / 0.9403 GB, free: 12.8 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.2062, allocations: 10.81 kB / 0.9404 GB, free: 12.79 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.2062, allocations: 0 / 0.9404 GB, free: 12.79 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/0.2062, allocations: 0 / 0.9404 GB, free: 12.79 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.411e-05/0.2063, allocations: 8 kB / 0.9404 GB, free: 12.78 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.2063, allocations: 0 / 0.9404 GB, free: 12.78 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.196e-05/0.2063, allocations: 4 kB / 0.9404 GB, free: 12.78 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.137e-06/0.2064, allocations: 4 kB / 0.9404 GB, free: 12.77 MB / 0.9011 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.966e-05/0.2065, allocations: 109.8 kB / 0.9405 GB, free: 12.66 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.437e-05/0.2065, allocations: 12.03 kB / 0.9405 GB, free: 12.64 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.826e-05/0.2065, allocations: 11.31 kB / 0.9405 GB, free: 12.63 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.2065, allocations: 0 / 0.9405 GB, free: 12.63 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.2065, allocations: 0 / 0.9405 GB, free: 12.63 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.914e-06/0.2065, allocations: 0 / 0.9405 GB, free: 12.63 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003467/0.2069, allocations: 311.2 kB / 0.9408 GB, free: 12.29 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.2069, allocations: 0 / 0.9408 GB, free: 12.29 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.941e-05/0.2069, allocations: 4 kB / 0.9408 GB, free: 12.28 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.2069, allocations: 0 / 0.9408 GB, free: 12.28 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.961e-06/0.2069, allocations: 0 / 0.9408 GB, free: 12.28 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.746e-06/0.2069, allocations: 11.92 kB / 0.9408 GB, free: 12.27 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.2069, allocations: 4.062 kB / 0.9408 GB, free: 12.27 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001075/0.207, allocations: 69.94 kB / 0.9409 GB, free: 12.18 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 9.908e-06/0.207, allocations: 4 kB / 0.9409 GB, free: 12.17 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.731e-05/0.2071, allocations: 4 kB / 0.9409 GB, free: 12.17 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.766e-05/0.2071, allocations: 7.984 kB / 0.9409 GB, free: 12.16 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.638e-05/0.2072, allocations: 3.938 kB / 0.9409 GB, free: 12.16 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.04e-06/0.2072, allocations: 4 kB / 0.9409 GB, free: 12.15 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 5.752e-05/0.2072, allocations: 79.28 kB / 0.941 GB, free: 12.07 MB / 0.9011 GB Notification: Performance of sort global known variables: time 7e-08/0.2072, allocations: 0 / 0.941 GB, free: 12.07 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0002013/0.2074, allocations: 4.031 kB / 0.941 GB, free: 12.07 MB / 0.9011 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.0001626/0.2076, allocations: 119.5 kB / 0.9411 GB, free: 11.95 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 8.612e-05/0.2077, allocations: 11.94 kB / 0.9411 GB, free: 11.93 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.2077, allocations: 0 / 0.9411 GB, free: 11.93 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 1.404e-05/0.2077, allocations: 7.938 kB / 0.9411 GB, free: 11.93 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003238/0.208, allocations: 16.3 kB / 0.9411 GB, free: 11.91 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003173/0.2083, allocations: 125.5 kB / 0.9412 GB, free: 11.76 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.802e-05/0.2084, allocations: 59.34 kB / 0.9413 GB, free: 11.68 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 5.936e-05/0.2085, allocations: 11.97 kB / 0.9413 GB, free: 11.67 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.242e-05/0.2085, allocations: 12.5 kB / 0.9413 GB, free: 11.66 MB / 0.9011 GB Notification: Performance of SimCode: time 5.01e-07/0.2085, allocations: 4 kB / 0.9413 GB, free: 11.65 MB / 0.9011 GB Notification: Performance of Templates: time 0.003554/0.212, allocations: 0.6981 MB / 0.942 GB, free: 10.97 MB / 0.9011 GB " [Timeout remaining time 300] 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 -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/jenkins/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: 8.069131941068918]