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.001495/0.001495, allocations: 87.58 kB / 20.45 MB, free: 4.113 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.001825/0.001825, allocations: 161 kB / 23.82 MB, free: 0.7461 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 0.9785/0.9785, allocations: 177.1 MB / 204.2 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 179] 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 1.912/1.912, allocations: 377.8 MB / 0.6236 GB, free: 8.535 MB / 0.5886 GB " [Timeout remaining time 178] 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.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.6562 kB / 0.8115 GB, free: 0.6055 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.318e-05/2.461e-05, allocations: 2.312 kB / 0.8115 GB, free: 0.6016 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.002878/0.002903, allocations: 2.301 MB / 0.8137 GB, free: 14.31 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.1392/0.1421, allocations: 147.9 MB / 0.9582 GB, free: 9.879 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002256/0.1423, allocations: 7.938 kB / 0.9582 GB, free: 9.871 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0002127/0.1425, allocations: 43.47 kB / 0.9583 GB, free: 9.828 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.0003827/0.1429, allocations: 115 kB / 0.9584 GB, free: 9.715 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006872/0.1436, allocations: 302.8 kB / 0.9587 GB, free: 9.418 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.000379/0.144, allocations: 443.5 kB / 0.9591 GB, free: 8.984 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000182/0.1441, allocations: 72.33 kB / 0.9591 GB, free: 8.914 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001021/0.1452, allocations: 418.6 kB / 0.9595 GB, free: 8.578 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001579/0.1453, allocations: 143.6 kB / 0.9597 GB, free: 8.438 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 4.07e-05/0.1454, allocations: 32 kB / 0.9597 GB, free: 8.406 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004259/0.1458, allocations: 263.5 kB / 0.96 GB, free: 8.148 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 7.751e-05/0.1459, allocations: 83.7 kB / 0.96 GB, free: 8.066 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 9.936e-05/0.146, allocations: 119.7 kB / 0.9602 GB, free: 7.949 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0005489/0.1465, allocations: 442.4 kB / 0.9606 GB, free: 7.516 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.1465, allocations: 0 / 0.9606 GB, free: 7.516 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.565e-06/0.1465, allocations: 3.984 kB / 0.9606 GB, free: 7.512 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.1465, allocations: 4 kB / 0.9606 GB, free: 7.508 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.0009088/0.1474, allocations: 0.7215 MB / 0.9613 GB, free: 6.75 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.1475, allocations: 12.03 kB / 0.9613 GB, free: 6.738 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001241/0.1487, allocations: 295.3 kB / 0.9616 GB, free: 6.449 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000313/0.149, allocations: 252.3 kB / 0.9618 GB, free: 6.176 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.259e-05/0.1491, allocations: 24.66 kB / 0.9619 GB, free: 6.148 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.786e-05/0.1491, allocations: 32 kB / 0.9619 GB, free: 6.117 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005806/0.1497, allocations: 342.5 kB / 0.9622 GB, free: 5.773 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.1497, allocations: 0 / 0.9622 GB, free: 5.773 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.412e-05/0.1497, allocations: 12 kB / 0.9622 GB, free: 5.762 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.165e-05/0.1497, allocations: 8 kB / 0.9622 GB, free: 5.754 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004305/0.1502, allocations: 271.6 kB / 0.9625 GB, free: 5.492 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001543/0.1517, allocations: 0.9131 MB / 0.9634 GB, free: 4.543 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005736/0.1523, allocations: 267 kB / 0.9636 GB, free: 4.27 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000176/0.1525, allocations: 115.9 kB / 0.9637 GB, free: 4.152 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.894e-05/0.1525, allocations: 4 kB / 0.9637 GB, free: 4.148 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.377e-05/0.1525, allocations: 41.33 kB / 0.9638 GB, free: 4.098 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=25): time 2.605e-06/0.1525, allocations: 3.938 kB / 0.9638 GB, free: 4.094 MB / 0.8698 GB Notification: Performance of matching and sorting (n=25): time 0.00394/0.1565, allocations: 0.857 MB / 0.9646 GB, free: 3.223 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.197e-05/0.1565, allocations: 59.41 kB / 0.9647 GB, free: 3.152 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001672/0.1567, allocations: 268.3 kB / 0.9649 GB, free: 2.879 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.371e-05/0.1567, allocations: 33.7 kB / 0.965 GB, free: 2.84 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 9.69e-05/0.1568, allocations: 227.3 kB / 0.9652 GB, free: 2.613 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 5.704e-05/0.1569, allocations: 87.22 kB / 0.9653 GB, free: 2.527 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001104/0.157, allocations: 79.58 kB / 0.9653 GB, free: 2.438 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001791/0.1571, allocations: 0.5079 MB / 0.9658 GB, free: 1.918 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001587/0.1573, allocations: 84.5 kB / 0.9659 GB, free: 1.836 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002318/0.1575, allocations: 270.7 kB / 0.9662 GB, free: 1.52 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003288/0.1579, allocations: 208 kB / 0.9664 GB, free: 1.305 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.1579, allocations: 0 / 0.9664 GB, free: 1.305 MB / 0.8698 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.00172/0.1596, allocations: 0.5237 MB / 0.9669 GB, free: 0.7656 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.1596, allocations: 9.406 kB / 0.9669 GB, free: 0.7578 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.1596, allocations: 0 / 0.9669 GB, free: 0.7578 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001358/0.161, allocations: 335 kB / 0.9672 GB, free: 432 kB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002308/0.1612, allocations: 63.94 kB / 0.9673 GB, free: 368 kB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004063/0.1653, allocations: 3.926 MB / 0.9711 GB, free: 12.19 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002788/0.1655, allocations: 43.83 kB / 0.9712 GB, free: 12.14 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.198e-05/0.1656, allocations: 19.97 kB / 0.9712 GB, free: 12.12 MB / 0.8855 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.0001376/0.1657, allocations: 176.4 kB / 0.9713 GB, free: 11.94 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.126e-05/0.1658, allocations: 35.86 kB / 0.9714 GB, free: 11.91 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001771/0.1676, allocations: 0.5679 MB / 0.9719 GB, free: 11.33 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.1676, allocations: 4 kB / 0.9719 GB, free: 11.32 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.394e-06/0.1676, allocations: 4 kB / 0.9719 GB, free: 11.32 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.1676, allocations: 3.938 kB / 0.9719 GB, free: 11.32 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003032/0.1679, allocations: 280.2 kB / 0.9722 GB, free: 11.01 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.1679, allocations: 0 / 0.9722 GB, free: 11.01 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001794/0.168, allocations: 51.89 kB / 0.9723 GB, free: 10.96 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001116/0.1692, allocations: 335 kB / 0.9726 GB, free: 10.62 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.877e-05/0.1692, allocations: 15.97 kB / 0.9726 GB, free: 10.61 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003426/0.1726, allocations: 3.918 MB / 0.9764 GB, free: 6.438 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.1726, allocations: 4 kB / 0.9764 GB, free: 6.434 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001716/0.1743, allocations: 0.6355 MB / 0.977 GB, free: 5.77 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 3.332e-05/0.1744, allocations: 23.75 kB / 0.9771 GB, free: 5.746 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.736e-05/0.1744, allocations: 11.98 kB / 0.9771 GB, free: 5.734 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000219/0.1746, allocations: 31.92 kB / 0.9771 GB, free: 5.703 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.898e-05/0.1747, allocations: 15.97 kB / 0.9771 GB, free: 5.688 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.579e-05/0.1747, allocations: 15.97 kB / 0.9771 GB, free: 5.672 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001019/0.1748, allocations: 197.1 kB / 0.9773 GB, free: 5.48 MB / 0.8855 GB Notification: Performance of sort global known variables: time 7.1e-08/0.1748, allocations: 0 / 0.9773 GB, free: 5.48 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.000438/0.1753, allocations: 123.8 kB / 0.9774 GB, free: 5.359 MB / 0.8855 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.0001718/0.1754, allocations: 127.1 kB / 0.9776 GB, free: 5.227 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0009491/0.1764, allocations: 0.6142 MB / 0.9782 GB, free: 4.574 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.1764, allocations: 0 / 0.9782 GB, free: 4.574 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0004207/0.1768, allocations: 0.5069 MB / 0.9787 GB, free: 4.027 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003548/0.1771, allocations: 88.47 kB / 0.9787 GB, free: 3.941 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001094/0.1782, allocations: 0.5414 MB / 0.9793 GB, free: 3.371 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.554e-05/0.1783, allocations: 96.38 kB / 0.9794 GB, free: 3.258 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.000202/0.1785, allocations: 66.19 kB / 0.9794 GB, free: 3.191 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001019/0.1786, allocations: 28.48 kB / 0.9795 GB, free: 3.16 MB / 0.8855 GB Notification: Performance of SimCode: time 7.61e-07/0.1786, allocations: 4 kB / 0.9795 GB, free: 3.156 MB / 0.8855 GB Notification: Performance of Templates: time 0.01344/0.192, allocations: 13.68 MB / 0.9928 GB, free: 5.586 MB / 0.9011 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 -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.69944036193192]