Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Examples.AirProperties.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.001061/0.001061, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001505/0.002567, allocations: 449.7 kB / 10.37 MB, free: 328 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.0009965/0.0009965, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001266/0.002262, allocations: 459.6 kB / 11.71 MB, free: 2.457 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.9395/0.9395, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09024/1.03, allocations: 53.65 MB / 243.3 MB, free: 15.59 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.78/1.78, allocations: 378.2 MB / 0.6076 GB, free: 7.82 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4895/2.269, allocations: 123.3 MB / 0.728 GB, free: 5.801 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.AirProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|p|X.[0-9,]+.|d|eta|h|hLiq|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.[0-9,]+.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_12_Buildings.Media.Examples.AirProperties") translateModel(Buildings.Media.Examples.AirProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|p|X.[0-9,]+.|d|eta|h|hLiq|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.[0-9,]+.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_12_Buildings.Media.Examples.AirProperties") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 0 / 0.7294 GB, free: 4.48 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.427e-05/2.613e-05, allocations: 6.656 kB / 0.7294 GB, free: 4.477 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.148/0.148, allocations: 144.8 MB / 0.8708 GB, free: 3.305 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.003419/0.1514, allocations: 3.818 MB / 0.8745 GB, free: 15.48 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001259/0.1516, allocations: 4 kB / 0.8745 GB, free: 15.47 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0002901/0.1518, allocations: 71.53 kB / 0.8746 GB, free: 15.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0002538/0.1521, allocations: 143.1 kB / 0.8747 GB, free: 15.26 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.002344/0.1544, allocations: 1.132 MB / 0.8759 GB, free: 14.12 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0004583/0.1549, allocations: 343.5 kB / 0.8762 GB, free: 13.79 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 5.941e-05/0.155, allocations: 14.44 kB / 0.8762 GB, free: 13.77 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004693/0.1554, allocations: 267.1 kB / 0.8764 GB, free: 13.51 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001705/0.1556, allocations: 111.7 kB / 0.8766 GB, free: 13.4 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 3.095e-05/0.1556, allocations: 12 kB / 0.8766 GB, free: 13.39 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001724/0.1574, allocations: 1.086 MB / 0.8776 GB, free: 12.3 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001055/0.1575, allocations: 63.84 kB / 0.8777 GB, free: 12.24 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 9.161e-05/0.1576, allocations: 67.88 kB / 0.8778 GB, free: 12.17 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.001161/0.1587, allocations: 0.5648 MB / 0.8783 GB, free: 11.61 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.251e-05/0.1587, allocations: 0 / 0.8783 GB, free: 11.61 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.924e-06/0.1587, allocations: 0 / 0.8783 GB, free: 11.61 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.614e-05/0.1587, allocations: 0 / 0.8783 GB, free: 11.61 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001025/0.1598, allocations: 0.6604 MB / 0.8789 GB, free: 10.9 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.1598, allocations: 8.031 kB / 0.879 GB, free: 10.89 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007422/0.1605, allocations: 244.2 kB / 0.8792 GB, free: 10.66 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001995/0.1607, allocations: 149.5 kB / 0.8793 GB, free: 10.48 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.53e-05/0.1608, allocations: 16.75 kB / 0.8793 GB, free: 10.47 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.613e-05/0.1608, allocations: 20.38 kB / 0.8794 GB, free: 10.45 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003612/0.1611, allocations: 490.5 kB / 0.8798 GB, free: 9.891 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.1612, allocations: 0 / 0.8798 GB, free: 9.891 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.487e-05/0.1612, allocations: 12 kB / 0.8798 GB, free: 9.879 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.428e-05/0.1612, allocations: 12 kB / 0.8799 GB, free: 9.867 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000206/0.1614, allocations: 153.8 kB / 0.88 GB, free: 9.719 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009252/0.1623, allocations: 0.7761 MB / 0.8808 GB, free: 8.906 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002579/0.1626, allocations: 170.8 kB / 0.8809 GB, free: 8.727 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.314e-05/0.1626, allocations: 36.84 kB / 0.881 GB, free: 8.688 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001874/0.1628, allocations: 63.95 kB / 0.881 GB, free: 8.625 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.346e-05/0.1629, allocations: 38.56 kB / 0.8811 GB, free: 8.578 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=21): time 1.482e-06/0.1629, allocations: 0 / 0.8811 GB, free: 8.578 MB / 0.8542 GB Notification: Performance of matching and sorting (n=21): time 0.0003082/0.1632, allocations: 146.3 kB / 0.8812 GB, free: 8.43 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.605e-05/0.1632, allocations: 51.41 kB / 0.8812 GB, free: 8.367 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.438e-05/0.1633, allocations: 168.2 kB / 0.8814 GB, free: 8.191 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.728e-05/0.1633, allocations: 25.7 kB / 0.8814 GB, free: 8.16 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.686e-05/0.1634, allocations: 160.2 kB / 0.8816 GB, free: 8 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.627e-05/0.1634, allocations: 71.31 kB / 0.8817 GB, free: 7.93 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.754e-05/0.1634, allocations: 57.61 kB / 0.8817 GB, free: 7.867 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.1e-05/0.1635, allocations: 326.8 kB / 0.882 GB, free: 7.539 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.925e-05/0.1636, allocations: 31.09 kB / 0.882 GB, free: 7.504 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.434e-05/0.1636, allocations: 112.2 kB / 0.8822 GB, free: 7.355 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001318/0.1638, allocations: 186.8 kB / 0.8823 GB, free: 7.129 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.1638, allocations: 0 / 0.8823 GB, free: 7.129 MB / 0.8542 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0002264/0.164, allocations: 194.8 kB / 0.8825 GB, free: 6.93 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.164, allocations: 8 kB / 0.8825 GB, free: 6.922 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.164, allocations: 0 / 0.8825 GB, free: 6.922 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.859e-06/0.164, allocations: 4 kB / 0.8825 GB, free: 6.918 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001381/0.1642, allocations: 63.91 kB / 0.8826 GB, free: 6.855 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.1642, allocations: 4 kB / 0.8826 GB, free: 6.852 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.716e-05/0.1643, allocations: 27.78 kB / 0.8826 GB, free: 6.824 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.44e-05/0.1643, allocations: 8 kB / 0.8826 GB, free: 6.816 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.367e-05/0.1644, allocations: 132.9 kB / 0.8828 GB, free: 6.676 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.289e-05/0.1644, allocations: 39.78 kB / 0.8828 GB, free: 6.637 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001882/0.1646, allocations: 169.7 kB / 0.883 GB, free: 6.465 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.1646, allocations: 0 / 0.883 GB, free: 6.465 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.422e-06/0.1646, allocations: 0 / 0.883 GB, free: 6.465 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.1646, allocations: 0 / 0.883 GB, free: 6.465 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003197/0.1649, allocations: 387 kB / 0.8833 GB, free: 6.055 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.1649, allocations: 0 / 0.8833 GB, free: 6.055 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.049e-05/0.165, allocations: 35.92 kB / 0.8834 GB, free: 6.02 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.823e-05/0.1651, allocations: 35.89 kB / 0.8834 GB, free: 5.984 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.1651, allocations: 0 / 0.8834 GB, free: 5.984 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.698e-06/0.1651, allocations: 4 kB / 0.8834 GB, free: 5.98 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.1651, allocations: 0 / 0.8834 GB, free: 5.98 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1651, allocations: 0 / 0.8834 GB, free: 5.98 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002316/0.1653, allocations: 305.3 kB / 0.8837 GB, free: 5.656 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.922e-05/0.1653, allocations: 4 kB / 0.8837 GB, free: 5.652 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.234e-05/0.1654, allocations: 18.16 kB / 0.8837 GB, free: 5.637 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.118e-05/0.1654, allocations: 11.98 kB / 0.8837 GB, free: 5.625 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.948e-05/0.1655, allocations: 15.98 kB / 0.8837 GB, free: 5.609 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 2.755e-05/0.1655, allocations: 43.08 kB / 0.8838 GB, free: 5.566 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.1655, allocations: 0 / 0.8838 GB, free: 5.566 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003305/0.1658, allocations: 131.7 kB / 0.8839 GB, free: 5.438 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0002949/0.1661, allocations: 204 kB / 0.8841 GB, free: 5.23 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001802/0.1663, allocations: 125.1 kB / 0.8842 GB, free: 5.105 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 9.508e-06/0.1663, allocations: 8.25 kB / 0.8842 GB, free: 5.098 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 4.866e-05/0.1664, allocations: 60.62 kB / 0.8843 GB, free: 5.035 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003242/0.1667, allocations: 104.5 kB / 0.8844 GB, free: 4.934 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002943/0.1696, allocations: 431.9 kB / 0.8848 GB, free: 4.48 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.018e-05/0.1697, allocations: 88.67 kB / 0.8849 GB, free: 4.375 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001513/0.1698, allocations: 41.56 kB / 0.8849 GB, free: 4.332 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002124/0.17, allocations: 147.2 kB / 0.8851 GB, free: 4.188 MB / 0.8542 GB Notification: Performance of SimCode: time 9.52e-07/0.17, allocations: 0 / 0.8851 GB, free: 4.188 MB / 0.8542 GB Notification: Performance of Templates: time 0.007487/0.1775, allocations: 6.068 MB / 0.891 GB, free: 14.23 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Examples.AirProperties.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Examples.AirProperties.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.AirProperties.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.AirProperties.pipe >> ../files/Buildings_12_Buildings.Media.Examples.AirProperties.sim & ./Buildings_12_Buildings.Media.Examples.AirProperties -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.AirProperties.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Media.Examples.AirProperties_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Media.Examples.AirProperties/Buildings_12_Buildings.Media.Examples.AirProperties.ref.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.088715570047498]