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.0007435/0.0007435, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00101/0.001753, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.000677/0.000677, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008599/0.001537, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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 0.9723/0.9723, allocations: 177.2 MB / 189.8 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09691/1.069, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.819/1.819, allocations: 378.4 MB / 0.6079 GB, free: 7.707 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5206/2.34, allocations: 123.3 MB / 0.7283 GB, free: 5.75 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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 1.843e-06/1.843e-06, allocations: 0 / 0.7296 GB, free: 4.461 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.474e-05/2.658e-05, allocations: 8.5 kB / 0.7296 GB, free: 4.453 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1365/0.1365, allocations: 144 MB / 0.8703 GB, free: 4.105 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0001307/0.1366, allocations: 59.73 kB / 0.8703 GB, free: 4.047 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.157e-05/0.1367, allocations: 0 / 0.8703 GB, free: 4.047 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 8.05e-05/0.1367, allocations: 0 / 0.8703 GB, free: 4.047 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.799e-05/0.1368, allocations: 11.91 kB / 0.8704 GB, free: 4.035 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005683/0.1374, allocations: 230.9 kB / 0.8706 GB, free: 3.809 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 7.395e-05/0.1374, allocations: 35.86 kB / 0.8706 GB, free: 3.773 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.419e-05/0.1375, allocations: 0 / 0.8706 GB, free: 3.773 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 5.636e-05/0.1375, allocations: 23.97 kB / 0.8706 GB, free: 3.75 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.256e-05/0.1376, allocations: 15.92 kB / 0.8706 GB, free: 3.734 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.093e-05/0.1376, allocations: 0 / 0.8706 GB, free: 3.734 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002773/0.1379, allocations: 171.4 kB / 0.8708 GB, free: 3.566 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.147e-05/0.1379, allocations: 11.92 kB / 0.8708 GB, free: 3.555 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.483e-05/0.1379, allocations: 8 kB / 0.8708 GB, free: 3.547 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001846/0.1381, allocations: 91.78 kB / 0.8709 GB, free: 3.457 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.193e-05/0.1381, allocations: 0 / 0.8709 GB, free: 3.457 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.583e-06/0.1381, allocations: 0 / 0.8709 GB, free: 3.457 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.025e-05/0.1382, allocations: 3.938 kB / 0.8709 GB, free: 3.453 MB / 0.8386 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.0003149/0.1385, allocations: 256.5 kB / 0.8712 GB, free: 3.18 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.114e-05/0.1385, allocations: 12.03 kB / 0.8712 GB, free: 3.168 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002816/0.1388, allocations: 114 kB / 0.8713 GB, free: 3.039 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.021e-05/0.1389, allocations: 105.8 kB / 0.8714 GB, free: 2.91 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.753e-05/0.1389, allocations: 55.97 kB / 0.8714 GB, free: 2.844 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.25e-05/0.1389, allocations: 8.109 kB / 0.8714 GB, free: 2.836 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001078/0.139, allocations: 82.92 kB / 0.8715 GB, free: 2.738 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.6e-06/0.139, allocations: 0 / 0.8715 GB, free: 2.738 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.139, allocations: 3.984 kB / 0.8715 GB, free: 2.734 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.43e-05/0.139, allocations: 0 / 0.8715 GB, free: 2.734 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.808e-05/0.1391, allocations: 11.94 kB / 0.8715 GB, free: 2.723 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001784/0.1392, allocations: 162 kB / 0.8717 GB, free: 2.547 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 3.84e-05/0.1393, allocations: 22.52 kB / 0.8717 GB, free: 2.516 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.066e-05/0.1393, allocations: 8.922 kB / 0.8717 GB, free: 2.504 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 7.199e-05/0.1394, allocations: 15.98 kB / 0.8717 GB, free: 2.488 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.963e-05/0.1394, allocations: 34.56 kB / 0.8718 GB, free: 2.445 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 7.62e-07/0.1394, allocations: 0 / 0.8718 GB, free: 2.445 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.000137/0.1395, allocations: 53.66 kB / 0.8718 GB, free: 2.387 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.338e-05/0.1395, allocations: 55.41 kB / 0.8719 GB, free: 2.32 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.102e-05/0.1396, allocations: 106.7 kB / 0.872 GB, free: 2.203 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.06e-05/0.1396, allocations: 25.7 kB / 0.872 GB, free: 2.172 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.287e-05/0.1396, allocations: 84.09 kB / 0.8721 GB, free: 2.086 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 7.263e-06/0.1396, allocations: 11.95 kB / 0.8721 GB, free: 2.074 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.058e-05/0.1397, allocations: 17.7 kB / 0.8721 GB, free: 2.051 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 6.445e-05/0.1397, allocations: 310.8 kB / 0.8724 GB, free: 1.738 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.615e-06/0.1397, allocations: 7.984 kB / 0.8724 GB, free: 1.73 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.643e-05/0.1398, allocations: 18.58 kB / 0.8724 GB, free: 1.703 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.736e-05/0.1398, allocations: 33.38 kB / 0.8725 GB, free: 1.66 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.1398, allocations: 3.938 kB / 0.8725 GB, free: 1.656 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 4.542e-05/0.1398, allocations: 49.62 kB / 0.8725 GB, free: 1.602 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.1398, allocations: 5.25 kB / 0.8725 GB, free: 1.598 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.1398, allocations: 7.922 kB / 0.8725 GB, free: 1.59 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.867e-06/0.1399, allocations: 4 kB / 0.8725 GB, free: 1.586 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.986e-05/0.1399, allocations: 11.94 kB / 0.8725 GB, free: 1.574 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.677e-06/0.1399, allocations: 4 kB / 0.8725 GB, free: 1.57 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.611e-05/0.1399, allocations: 4.094 kB / 0.8725 GB, free: 1.566 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.885e-06/0.1399, allocations: 0 / 0.8725 GB, free: 1.566 MB / 0.8386 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 4.664e-05/0.14, allocations: 124.5 kB / 0.8727 GB, free: 1.434 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.18e-05/0.14, allocations: 288 / 0.8727 GB, free: 1.434 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.793e-05/0.14, allocations: 11.31 kB / 0.8727 GB, free: 1.422 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.14, allocations: 7.969 kB / 0.8727 GB, free: 1.414 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.313e-06/0.14, allocations: 0 / 0.8727 GB, free: 1.414 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.14, allocations: 0 / 0.8727 GB, free: 1.414 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001553/0.1402, allocations: 271.7 kB / 0.8729 GB, free: 1.117 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.11e-07/0.1402, allocations: 4.062 kB / 0.8729 GB, free: 1.113 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.312e-05/0.1402, allocations: 8 kB / 0.873 GB, free: 1.105 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.749e-06/0.1402, allocations: 4 kB / 0.873 GB, free: 1.102 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.02e-07/0.1402, allocations: 0 / 0.873 GB, free: 1.102 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.206e-06/0.1402, allocations: 0 / 0.873 GB, free: 1.102 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.1402, allocations: 0 / 0.873 GB, free: 1.102 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.1402, allocations: 0 / 0.873 GB, free: 1.102 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.567e-05/0.1402, allocations: 77.84 kB / 0.873 GB, free: 1.004 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.927e-06/0.1402, allocations: 0 / 0.873 GB, free: 1.004 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.764e-05/0.1403, allocations: 7.984 kB / 0.873 GB, free: 0.9961 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.207e-06/0.1403, allocations: 4.031 kB / 0.873 GB, free: 0.9922 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.192e-06/0.1403, allocations: 0 / 0.873 GB, free: 0.9922 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 9.819e-06/0.1403, allocations: 8.859 kB / 0.8731 GB, free: 0.9805 MB / 0.8386 GB Notification: Performance of sort global known variables: time 8e-08/0.1403, allocations: 0 / 0.8731 GB, free: 0.9805 MB / 0.8386 GB Notification: Performance of remove unused functions: time 9.938e-05/0.1404, allocations: 12 kB / 0.8731 GB, free: 0.9688 MB / 0.8386 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.134e-05/0.1405, allocations: 76.42 kB / 0.8731 GB, free: 0.8867 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 4.878e-05/0.1405, allocations: 28.66 kB / 0.8732 GB, free: 0.8555 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.1405, allocations: 8.281 kB / 0.8732 GB, free: 0.8477 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.308e-05/0.1406, allocations: 8.859 kB / 0.8732 GB, free: 0.8359 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001222/0.1407, allocations: 45.69 kB / 0.8732 GB, free: 0.7852 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006525/0.1413, allocations: 124.5 kB / 0.8733 GB, free: 0.6328 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.076e-05/0.1414, allocations: 55.22 kB / 0.8734 GB, free: 0.5586 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.947e-05/0.1414, allocations: 8.188 kB / 0.8734 GB, free: 0.5508 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.532e-05/0.1415, allocations: 67.34 kB / 0.8735 GB, free: 496 kB / 0.8386 GB Notification: Performance of SimCode: time 5.91e-07/0.1415, allocations: 3.938 kB / 0.8735 GB, free: 492 kB / 0.8386 GB Notification: Performance of Templates: time 0.00238/0.1439, allocations: 0.7998 MB / 0.8743 GB, free: 15.7 MB / 0.8542 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Media.Examples.AirTemperatureEnthalpyInversion_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Media.Examples.AirTemperatureEnthalpyInversion/Buildings_12_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.9153385907411575]