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.0008646/0.0008646, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.0009114/0.0009114, allocations: 169 kB / 24.28 MB, free: 276 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 0.9032/0.9032, allocations: 177.1 MB / 204.6 MB, free: 5.633 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.802/1.802, allocations: 377.8 MB / 0.6239 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.343e-06/1.343e-06, allocations: 0 / 0.8115 GB, free: 0.957 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.454e-05/1.588e-05, allocations: 2.312 kB / 0.8115 GB, free: 0.9531 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.002367/0.002383, allocations: 2.292 MB / 0.8137 GB, free: 14.67 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.1375/0.1398, allocations: 147.7 MB / 0.9579 GB, free: 10.52 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001917/0.14, allocations: 7.938 kB / 0.9579 GB, free: 10.51 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001966/0.1402, allocations: 51.45 kB / 0.958 GB, free: 10.46 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.0003522/0.1406, allocations: 111 kB / 0.9581 GB, free: 10.35 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005273/0.1411, allocations: 310.8 kB / 0.9584 GB, free: 10.04 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.0003407/0.1414, allocations: 435.6 kB / 0.9588 GB, free: 9.617 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001615/0.1416, allocations: 68.34 kB / 0.9589 GB, free: 9.551 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009769/0.1426, allocations: 412.3 kB / 0.9592 GB, free: 9.223 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001509/0.1427, allocations: 147.6 kB / 0.9594 GB, free: 9.078 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 4.176e-05/0.1428, allocations: 36 kB / 0.9594 GB, free: 9.043 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003525/0.1431, allocations: 271.4 kB / 0.9597 GB, free: 8.777 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 7.711e-05/0.1432, allocations: 79.72 kB / 0.9598 GB, free: 8.699 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 9.656e-05/0.1433, allocations: 115.7 kB / 0.9599 GB, free: 8.586 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0004743/0.1438, allocations: 450.4 kB / 0.9603 GB, free: 8.145 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1438, allocations: 0 / 0.9603 GB, free: 8.145 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.293e-06/0.1438, allocations: 0 / 0.9603 GB, free: 8.145 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.1438, allocations: 0 / 0.9603 GB, free: 8.145 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.0008923/0.1447, allocations: 0.7294 MB / 0.961 GB, free: 7.379 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.1447, allocations: 8.031 kB / 0.961 GB, free: 7.371 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001235/0.146, allocations: 291.2 kB / 0.9613 GB, free: 7.086 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003109/0.1463, allocations: 260.3 kB / 0.9615 GB, free: 6.805 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.106e-05/0.1463, allocations: 24.66 kB / 0.9616 GB, free: 6.777 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.251e-05/0.1463, allocations: 28 kB / 0.9616 GB, free: 6.75 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005472/0.1469, allocations: 342.5 kB / 0.9619 GB, free: 6.41 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.1469, allocations: 0 / 0.9619 GB, free: 6.41 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.525e-05/0.1469, allocations: 19.98 kB / 0.9619 GB, free: 6.391 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.188e-05/0.1469, allocations: 8 kB / 0.9619 GB, free: 6.383 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004053/0.1473, allocations: 263.7 kB / 0.9622 GB, free: 6.125 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001409/0.1488, allocations: 0.9208 MB / 0.9631 GB, free: 5.168 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005459/0.1493, allocations: 267.1 kB / 0.9634 GB, free: 4.895 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001651/0.1495, allocations: 103.6 kB / 0.9635 GB, free: 4.789 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.093e-05/0.1495, allocations: 4 kB / 0.9635 GB, free: 4.785 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.242e-05/0.1495, allocations: 49.27 kB / 0.9635 GB, free: 4.727 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=25): time 1.533e-06/0.1495, allocations: 0 / 0.9635 GB, free: 4.727 MB / 0.8698 GB Notification: Performance of matching and sorting (n=25): time 0.003877/0.1534, allocations: 0.8609 MB / 0.9643 GB, free: 3.852 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.491e-05/0.1534, allocations: 59.41 kB / 0.9644 GB, free: 3.781 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001571/0.1536, allocations: 264.3 kB / 0.9647 GB, free: 3.512 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.837e-05/0.1536, allocations: 33.7 kB / 0.9647 GB, free: 3.473 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 9.235e-05/0.1537, allocations: 227.3 kB / 0.9649 GB, free: 3.246 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 5.63e-05/0.1538, allocations: 87.61 kB / 0.965 GB, free: 3.16 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001049/0.1539, allocations: 83.56 kB / 0.9651 GB, free: 3.066 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001115/0.154, allocations: 0.504 MB / 0.9656 GB, free: 2.551 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001685/0.1542, allocations: 80.48 kB / 0.9656 GB, free: 2.473 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002207/0.1544, allocations: 270.7 kB / 0.9659 GB, free: 2.156 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003261/0.1547, allocations: 208 kB / 0.9661 GB, free: 1.941 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.1547, allocations: 0 / 0.9661 GB, free: 1.941 MB / 0.8698 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001759/0.1565, allocations: 0.5237 MB / 0.9666 GB, free: 1.402 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.1565, allocations: 4 kB / 0.9666 GB, free: 1.398 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.1565, allocations: 4 kB / 0.9666 GB, free: 1.395 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001177/0.1577, allocations: 335 kB / 0.9669 GB, free: 1.059 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002001/0.1579, allocations: 63.89 kB / 0.967 GB, free: 0.9961 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003625/0.1615, allocations: 3.928 MB / 0.9708 GB, free: 12.82 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002242/0.1617, allocations: 43.84 kB / 0.9709 GB, free: 12.77 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.899e-05/0.1618, allocations: 19.97 kB / 0.9709 GB, free: 12.75 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.0001198/0.1619, allocations: 172.5 kB / 0.9711 GB, free: 12.57 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.103e-05/0.1619, allocations: 31.86 kB / 0.9711 GB, free: 12.54 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001761/0.1637, allocations: 0.5718 MB / 0.9716 GB, free: 11.96 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.1637, allocations: 7.938 kB / 0.9716 GB, free: 11.95 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.804e-06/0.1637, allocations: 0 / 0.9716 GB, free: 11.95 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.1637, allocations: 7.922 kB / 0.9717 GB, free: 11.95 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002759/0.164, allocations: 276.3 kB / 0.9719 GB, free: 11.64 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.164, allocations: 0 / 0.9719 GB, free: 11.64 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001632/0.1642, allocations: 51.91 kB / 0.972 GB, free: 11.59 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001083/0.1652, allocations: 327 kB / 0.9723 GB, free: 11.26 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.899e-05/0.1653, allocations: 15.97 kB / 0.9723 GB, free: 11.25 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003229/0.1685, allocations: 3.918 MB / 0.9761 GB, free: 7.078 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1685, allocations: 0 / 0.9761 GB, free: 7.078 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001735/0.1702, allocations: 0.6395 MB / 0.9767 GB, free: 6.41 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 2.324e-05/0.1703, allocations: 27.75 kB / 0.9768 GB, free: 6.383 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.512e-05/0.1703, allocations: 12 kB / 0.9768 GB, free: 6.371 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002013/0.1705, allocations: 27.92 kB / 0.9768 GB, free: 6.344 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.429e-05/0.1706, allocations: 23.95 kB / 0.9768 GB, free: 6.32 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.265e-05/0.1706, allocations: 15.97 kB / 0.9768 GB, free: 6.305 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 9.89e-05/0.1707, allocations: 197.1 kB / 0.977 GB, free: 6.113 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3e-08/0.1707, allocations: 0 / 0.977 GB, free: 6.113 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0004001/0.1711, allocations: 123.8 kB / 0.9772 GB, free: 5.992 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.0001666/0.1712, allocations: 119.1 kB / 0.9773 GB, free: 5.867 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0007078/0.172, allocations: 0.6142 MB / 0.9779 GB, free: 5.215 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.172, allocations: 0 / 0.9779 GB, free: 5.215 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0003891/0.1723, allocations: 0.5148 MB / 0.9784 GB, free: 4.66 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003458/0.1727, allocations: 92.27 kB / 0.9785 GB, free: 4.57 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001068/0.1738, allocations: 0.5337 MB / 0.979 GB, free: 4.008 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.122e-05/0.1738, allocations: 92.38 kB / 0.9791 GB, free: 3.898 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0002285/0.1741, allocations: 66.14 kB / 0.9791 GB, free: 3.832 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.4e-05/0.1742, allocations: 32.48 kB / 0.9792 GB, free: 3.797 MB / 0.8855 GB Notification: Performance of SimCode: time 9.32e-07/0.1742, allocations: 0 / 0.9792 GB, free: 3.797 MB / 0.8855 GB Notification: Performance of Templates: time 0.01276/0.1869, allocations: 13.68 MB / 0.9925 GB, free: 6.227 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.34676562808454]