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.00111/0.00111, allocations: 73.97 kB / 20.66 MB, free: 3.844 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.001164/0.001164, allocations: 169 kB / 24.05 MB, free: 460 kB / 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.061/1.061, allocations: 177.1 MB / 204.5 MB, free: 5.5 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 2.25/2.25, allocations: 429.5 MB / 0.6743 GB, free: 3.934 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.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: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 0.8794 GB, free: 6.082 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.167e-05/2.347e-05, allocations: 4.844 kB / 0.8794 GB, free: 6.078 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1458/0.1458, allocations: 141.5 MB / 1.018 GB, free: 8.098 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.000144/0.1459, allocations: 47.77 kB / 1.018 GB, free: 8.051 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.504e-05/0.146, allocations: 4 kB / 1.018 GB, free: 8.047 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0001585/0.1461, allocations: 3.984 kB / 1.018 GB, free: 8.043 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 8.798e-05/0.1462, allocations: 15.86 kB / 1.018 GB, free: 8.027 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008506/0.1471, allocations: 227 kB / 1.018 GB, free: 7.805 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 9.929e-05/0.1472, allocations: 35.86 kB / 1.018 GB, free: 7.77 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 5.38e-05/0.1472, allocations: 3.875 kB / 1.018 GB, free: 7.77 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 6.244e-05/0.1473, allocations: 27.91 kB / 1.018 GB, free: 7.742 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 8.446e-05/0.1474, allocations: 7.984 kB / 1.018 GB, free: 7.734 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 1.575e-05/0.1474, allocations: 4 kB / 1.018 GB, free: 7.73 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002874/0.1477, allocations: 171.3 kB / 1.018 GB, free: 7.562 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 4.709e-05/0.1477, allocations: 8 kB / 1.018 GB, free: 7.555 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 1.788e-05/0.1477, allocations: 7.984 kB / 1.018 GB, free: 7.547 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.000241/0.148, allocations: 119.6 kB / 1.018 GB, free: 7.43 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.148, allocations: 0 / 1.018 GB, free: 7.43 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.495e-06/0.148, allocations: 0 / 1.018 GB, free: 7.43 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 4.97e-06/0.148, allocations: 0 / 1.018 GB, free: 7.43 MB / 0.9792 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.0004272/0.1484, allocations: 372.5 kB / 1.019 GB, free: 7.031 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.1485, allocations: 8.031 kB / 1.019 GB, free: 7.023 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002594/0.1487, allocations: 36.84 kB / 1.019 GB, free: 6.988 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.871e-05/0.1488, allocations: 104.6 kB / 1.019 GB, free: 6.859 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.271e-05/0.1489, allocations: 55.97 kB / 1.019 GB, free: 6.793 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.949e-06/0.1489, allocations: 4.125 kB / 1.019 GB, free: 6.789 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001317/0.149, allocations: 84.08 kB / 1.019 GB, free: 6.691 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/0.149, allocations: 0 / 1.019 GB, free: 6.691 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.149, allocations: 0 / 1.019 GB, free: 6.691 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.225e-05/0.1491, allocations: 7.938 kB / 1.019 GB, free: 6.684 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.088e-05/0.1491, allocations: 7.984 kB / 1.019 GB, free: 6.676 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002698/0.1494, allocations: 248.3 kB / 1.019 GB, free: 6.406 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 4.552e-05/0.1494, allocations: 31.06 kB / 1.019 GB, free: 6.363 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.491e-05/0.1494, allocations: 11.75 kB / 1.019 GB, free: 6.348 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 8.066e-05/0.1495, allocations: 15.98 kB / 1.019 GB, free: 6.332 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.465e-05/0.1495, allocations: 37.33 kB / 1.019 GB, free: 6.285 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=2): time 1.282e-06/0.1495, allocations: 0 / 1.019 GB, free: 6.285 MB / 0.9792 GB Notification: Performance of matching and sorting (n=2): time 0.0001839/0.1497, allocations: 57.69 kB / 1.019 GB, free: 6.223 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.41e-05/0.1497, allocations: 55.41 kB / 1.019 GB, free: 6.156 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001024/0.1498, allocations: 161.9 kB / 1.019 GB, free: 5.98 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 1.553e-05/0.1499, allocations: 25.7 kB / 1.019 GB, free: 5.949 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 6.351e-05/0.1499, allocations: 134.8 kB / 1.02 GB, free: 5.812 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 6.282e-06/0.1499, allocations: 7.953 kB / 1.02 GB, free: 5.805 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.971e-05/0.15, allocations: 19.38 kB / 1.02 GB, free: 5.777 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001232/0.1501, allocations: 0.4884 MB / 1.02 GB, free: 5.277 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.426e-06/0.1501, allocations: 4 kB / 1.02 GB, free: 5.273 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.434e-05/0.1501, allocations: 31 kB / 1.02 GB, free: 5.23 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.09e-05/0.1502, allocations: 42.98 kB / 1.02 GB, free: 5.176 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.1502, allocations: 4 kB / 1.02 GB, free: 5.172 MB / 0.9792 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.627e-05/0.1502, allocations: 49.59 kB / 1.02 GB, free: 5.117 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.074e-05/0.1502, allocations: 4 kB / 1.02 GB, free: 5.113 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.1502, allocations: 4 kB / 1.02 GB, free: 5.109 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.368e-06/0.1503, allocations: 0 / 1.02 GB, free: 5.109 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.366e-05/0.1503, allocations: 11.92 kB / 1.02 GB, free: 5.098 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/0.1503, allocations: 4 kB / 1.02 GB, free: 5.094 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.691e-05/0.1503, allocations: 4.094 kB / 1.02 GB, free: 5.09 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.697e-06/0.1503, allocations: 0 / 1.02 GB, free: 5.09 MB / 0.9792 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 6.787e-05/0.1504, allocations: 164.5 kB / 1.02 GB, free: 4.918 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.733e-05/0.1504, allocations: 4 kB / 1.02 GB, free: 4.914 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.182e-05/0.1504, allocations: 7.312 kB / 1.02 GB, free: 4.902 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.1504, allocations: 0 / 1.02 GB, free: 4.902 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.794e-06/0.1504, allocations: 0 / 1.02 GB, free: 4.902 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.1504, allocations: 0 / 1.02 GB, free: 4.902 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002543/0.1507, allocations: 400.6 kB / 1.021 GB, free: 4.469 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.1507, allocations: 64 / 1.021 GB, free: 4.469 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.577e-05/0.1507, allocations: 15.98 kB / 1.021 GB, free: 4.453 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.1507, allocations: 0 / 1.021 GB, free: 4.453 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.66e-06/0.1507, allocations: 4 kB / 1.021 GB, free: 4.449 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.1507, allocations: 0 / 1.021 GB, free: 4.449 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.1507, allocations: 0 / 1.021 GB, free: 4.449 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.355e-05/0.1508, allocations: 87.97 kB / 1.021 GB, free: 4.336 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 5.611e-06/0.1508, allocations: 3.984 kB / 1.021 GB, free: 4.332 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.106e-05/0.1508, allocations: 4 kB / 1.021 GB, free: 4.328 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.01e-05/0.1508, allocations: 7.938 kB / 1.021 GB, free: 4.32 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.112e-05/0.1508, allocations: 32 / 1.021 GB, free: 4.32 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.816e-06/0.1508, allocations: 8 kB / 1.021 GB, free: 4.312 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 3.549e-05/0.1509, allocations: 119.2 kB / 1.021 GB, free: 4.195 MB / 0.9792 GB Notification: Performance of sort global known variables: time 5e-08/0.1509, allocations: 0 / 1.021 GB, free: 4.195 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0001288/0.151, allocations: 11.98 kB / 1.021 GB, free: 4.184 MB / 0.9792 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.0001149/0.1511, allocations: 103.6 kB / 1.021 GB, free: 4.074 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 8.584e-05/0.1512, allocations: 23.62 kB / 1.021 GB, free: 4.047 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.1512, allocations: 192 / 1.021 GB, free: 4.047 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 1.373e-05/0.1512, allocations: 15.69 kB / 1.021 GB, free: 4.027 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001802/0.1514, allocations: 15.92 kB / 1.021 GB, free: 4.012 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003805/0.1518, allocations: 133.9 kB / 1.021 GB, free: 3.848 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.483e-05/0.1518, allocations: 55.36 kB / 1.021 GB, free: 3.773 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 3.7e-05/0.1519, allocations: 8.109 kB / 1.021 GB, free: 3.766 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.613e-05/0.152, allocations: 86.17 kB / 1.021 GB, free: 3.68 MB / 0.9792 GB Notification: Performance of SimCode: time 4.5e-07/0.152, allocations: 0 / 1.021 GB, free: 3.68 MB / 0.9792 GB Notification: Performance of Templates: time 0.002883/0.1548, allocations: 0.7926 MB / 1.022 GB, free: 2.902 MB / 0.9792 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_AirTemperatureEnthalpyInversion.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.9070160198025405]