Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Comfort.Examples.Fanger.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.001101/0.001101, allocations: 76.81 kB / 20.75 MB, free: 3.734 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.001184/0.001184, allocations: 161 kB / 24.17 MB, free: 324 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.074/1.074, allocations: 177.2 MB / 204.6 MB, free: 5.465 MB / 186.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 2.019/2.019, allocations: 377.9 MB / 0.624 GB, free: 8.355 MB / 0.5886 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.Utilities.Comfort.Examples.Fanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|theCom.M|theCom.TOpe|theCom.TAir|theCom.TRad|theCom.TClo|theCom.TSki|theCom.PMV|theCom.PPD|theCom.vAir",fileNamePrefix="Buildings_12_Buildings.Utilities.Comfort.Examples.Fanger") translateModel(Buildings.Utilities.Comfort.Examples.Fanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|theCom.M|theCom.TOpe|theCom.TAir|theCom.TRad|theCom.TClo|theCom.TSki|theCom.PMV|theCom.PPD|theCom.vAir",fileNamePrefix="Buildings_12_Buildings.Utilities.Comfort.Examples.Fanger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 0.76 GB, free: 6.613 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.39e-05/2.532e-05, allocations: 6.844 kB / 0.76 GB, free: 6.605 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.002901/0.002926, allocations: 2.345 MB / 0.7623 GB, free: 4.285 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.1448/0.1477, allocations: 147.3 MB / 0.9062 GB, free: 0.5781 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000255/0.148, allocations: 7.938 kB / 0.9062 GB, free: 0.5703 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0002144/0.1482, allocations: 47.47 kB / 0.9062 GB, free: 0.5234 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0003625/0.1485, allocations: 111.1 kB / 0.9063 GB, free: 424 kB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.000711/0.1493, allocations: 294.8 kB / 0.9066 GB, free: 128 kB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0004292/0.1497, allocations: 443.5 kB / 0.907 GB, free: 15.69 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001729/0.1499, allocations: 74.89 kB / 0.9071 GB, free: 15.62 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001199/0.1511, allocations: 418.4 kB / 0.9075 GB, free: 15.29 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002079/0.1513, allocations: 147.5 kB / 0.9076 GB, free: 15.14 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 4.504e-05/0.1513, allocations: 32 kB / 0.9077 GB, free: 15.11 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005194/0.1518, allocations: 275.5 kB / 0.9079 GB, free: 14.84 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 7.892e-05/0.1519, allocations: 75.73 kB / 0.908 GB, free: 14.77 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001066/0.152, allocations: 119.7 kB / 0.9081 GB, free: 14.65 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0005728/0.1526, allocations: 446.4 kB / 0.9085 GB, free: 14.21 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.1526, allocations: 0 / 0.9085 GB, free: 14.21 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.202e-06/0.1526, allocations: 4 kB / 0.9086 GB, free: 14.21 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.1526, allocations: 0 / 0.9086 GB, free: 14.21 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.0008534/0.1535, allocations: 0.601 MB / 0.9091 GB, free: 13.59 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.237e-05/0.1535, allocations: 12.03 kB / 0.9092 GB, free: 13.57 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001051/0.1545, allocations: 271.5 kB / 0.9094 GB, free: 13.31 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000284/0.1548, allocations: 225.6 kB / 0.9096 GB, free: 13.06 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.816e-05/0.1548, allocations: 20.66 kB / 0.9096 GB, free: 13.04 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.839e-05/0.1549, allocations: 28 kB / 0.9097 GB, free: 13.02 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004666/0.1553, allocations: 318.5 kB / 0.91 GB, free: 12.7 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.1554, allocations: 0 / 0.91 GB, free: 12.7 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.729e-05/0.1554, allocations: 8 kB / 0.91 GB, free: 12.69 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.897e-06/0.1554, allocations: 12 kB / 0.91 GB, free: 12.68 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000257/0.1556, allocations: 175.1 kB / 0.9102 GB, free: 12.51 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00123/0.1569, allocations: 0.6729 MB / 0.9108 GB, free: 11.82 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004274/0.1573, allocations: 213.2 kB / 0.911 GB, free: 11.6 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001055/0.1574, allocations: 72.81 kB / 0.9111 GB, free: 11.52 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.234e-05/0.1574, allocations: 4 kB / 0.9111 GB, free: 11.52 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.711e-05/0.1575, allocations: 38.56 kB / 0.9111 GB, free: 11.47 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=25): time 1.823e-06/0.1575, allocations: 0 / 0.9111 GB, free: 11.47 MB / 0.8698 GB Notification: Performance of matching and sorting (n=25): time 0.003271/0.1607, allocations: 0.7306 MB / 0.9118 GB, free: 10.73 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.226e-05/0.1608, allocations: 55.34 kB / 0.9119 GB, free: 10.66 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001371/0.1609, allocations: 216.9 kB / 0.9121 GB, free: 10.45 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 5.183e-05/0.161, allocations: 37.69 kB / 0.9121 GB, free: 10.4 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 9.044e-05/0.1611, allocations: 168.5 kB / 0.9123 GB, free: 10.23 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 5.231e-05/0.1611, allocations: 87.27 kB / 0.9124 GB, free: 10.15 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.906e-05/0.1612, allocations: 69.89 kB / 0.9125 GB, free: 10.07 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.822e-05/0.1613, allocations: 338.8 kB / 0.9128 GB, free: 9.73 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.508e-05/0.1614, allocations: 48.52 kB / 0.9128 GB, free: 9.684 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001291/0.1615, allocations: 148.8 kB / 0.913 GB, free: 9.512 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002641/0.1618, allocations: 170.3 kB / 0.9131 GB, free: 9.336 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.1618, allocations: 0 / 0.9131 GB, free: 9.336 MB / 0.8698 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001387/0.1632, allocations: 410.8 kB / 0.9135 GB, free: 8.922 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.1632, allocations: 4 kB / 0.9135 GB, free: 8.918 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.1632, allocations: 0 / 0.9135 GB, free: 8.918 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001077/0.1643, allocations: 317.4 kB / 0.9138 GB, free: 8.602 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002127/0.1645, allocations: 67.88 kB / 0.9139 GB, free: 8.535 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003071/0.1675, allocations: 2.711 MB / 0.9165 GB, free: 5.648 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002303/0.1678, allocations: 39.88 kB / 0.9166 GB, free: 5.609 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.949e-05/0.1678, allocations: 11.97 kB / 0.9166 GB, free: 5.598 MB / 0.8698 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 (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001266/0.1679, allocations: 128.6 kB / 0.9167 GB, free: 5.461 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.785e-05/0.168, allocations: 27.97 kB / 0.9167 GB, free: 5.434 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001487/0.1695, allocations: 495.5 kB / 0.9172 GB, free: 4.934 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.1695, allocations: 0 / 0.9172 GB, free: 4.934 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-06/0.1695, allocations: 0 / 0.9172 GB, free: 4.934 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.1695, allocations: 4 kB / 0.9172 GB, free: 4.93 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002658/0.1698, allocations: 197.8 kB / 0.9174 GB, free: 4.719 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.1698, allocations: 0 / 0.9174 GB, free: 4.719 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001721/0.1699, allocations: 47.95 kB / 0.9174 GB, free: 4.672 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001009/0.1709, allocations: 329.2 kB / 0.9178 GB, free: 4.344 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.534e-05/0.171, allocations: 7.969 kB / 0.9178 GB, free: 4.336 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002872/0.1738, allocations: 2.705 MB / 0.9204 GB, free: 1.461 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.1738, allocations: 0 / 0.9204 GB, free: 1.461 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001388/0.1752, allocations: 496.8 kB / 0.9209 GB, free: 0.9531 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.011e-05/0.1753, allocations: 27.8 kB / 0.9209 GB, free: 0.9258 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.743e-05/0.1753, allocations: 11.94 kB / 0.9209 GB, free: 0.9141 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001913/0.1755, allocations: 23.98 kB / 0.9209 GB, free: 0.8906 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.538e-05/0.1755, allocations: 27.89 kB / 0.921 GB, free: 0.8633 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.55e-05/0.1756, allocations: 11.97 kB / 0.921 GB, free: 0.8516 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 6.132e-05/0.1756, allocations: 70.78 kB / 0.921 GB, free: 0.7812 MB / 0.8698 GB Notification: Performance of sort global known variables: time 8e-08/0.1756, allocations: 0 / 0.921 GB, free: 0.7812 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0004554/0.1761, allocations: 139.7 kB / 0.9212 GB, free: 0.6445 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001747/0.1763, allocations: 96.28 kB / 0.9213 GB, free: 0.5391 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0005655/0.1768, allocations: 451.9 kB / 0.9217 GB, free: 72 kB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.1768, allocations: 0 / 0.9217 GB, free: 72 kB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003563/0.1772, allocations: 381.9 kB / 0.9221 GB, free: 15.67 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003145/0.1775, allocations: 96.25 kB / 0.9222 GB, free: 15.57 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009983/0.1785, allocations: 0.5145 MB / 0.9227 GB, free: 15.04 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.612e-05/0.1786, allocations: 92.56 kB / 0.9228 GB, free: 14.93 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0002191/0.1788, allocations: 62.2 kB / 0.9228 GB, free: 14.87 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002216/0.179, allocations: 119.3 kB / 0.9229 GB, free: 14.75 MB / 0.8855 GB Notification: Performance of SimCode: time 9.02e-07/0.179, allocations: 4 kB / 0.9229 GB, free: 14.75 MB / 0.8855 GB Notification: Performance of Templates: time 0.01564/0.1946, allocations: 14.4 MB / 0.937 GB, free: 496 kB / 0.8855 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Comfort.Examples.Fanger.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; mkfifo Buildings_12_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Comfort.Examples.Fanger.pipe >> ../files/Buildings_12_Buildings.Utilities.Comfort.Examples.Fanger.sim & ./Buildings_12_Buildings.Utilities.Comfort.Examples.Fanger -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Comfort.Examples.Fanger.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Comfort.Examples.Fanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Comfort_Examples_Fanger.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.5833467482589185]