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.001392/0.001392, allocations: 80.3 kB / 21.47 MB, free: 3.027 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.001507/0.001507, allocations: 167.9 kB / 24.86 MB, free: 8.883 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.9256/0.9256, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.893/1.893, allocations: 377.9 MB / 0.6247 GB, free: 8.387 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.283e-06/1.283e-06, allocations: 0 / 0.8127 GB, free: 1.477 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.51e-05/2.638e-05, allocations: 7.5 kB / 0.8127 GB, free: 1.469 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.003478/0.003504, allocations: 2.283 MB / 0.815 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.1323/0.1358, allocations: 145.2 MB / 0.9567 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002035/0.136, allocations: 7.938 kB / 0.9567 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0001885/0.1362, allocations: 43.47 kB / 0.9568 GB, free: 13.5 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0003271/0.1365, allocations: 115 kB / 0.9569 GB, free: 13.39 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006359/0.1372, allocations: 302.8 kB / 0.9572 GB, free: 13.09 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0003938/0.1376, allocations: 443.5 kB / 0.9576 GB, free: 12.66 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000163/0.1377, allocations: 72.33 kB / 0.9577 GB, free: 12.59 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001052/0.1388, allocations: 423 kB / 0.9581 GB, free: 12.25 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001614/0.1389, allocations: 143.6 kB / 0.9582 GB, free: 12.11 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 4.07e-05/0.139, allocations: 32 kB / 0.9582 GB, free: 12.07 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004137/0.1394, allocations: 263.5 kB / 0.9585 GB, free: 11.82 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 7.006e-05/0.1395, allocations: 79.72 kB / 0.9586 GB, free: 11.74 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 9.042e-05/0.1395, allocations: 111.7 kB / 0.9587 GB, free: 11.63 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0005113/0.1401, allocations: 450.4 kB / 0.9591 GB, free: 11.19 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.1401, allocations: 0 / 0.9591 GB, free: 11.19 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.232e-06/0.1401, allocations: 3.938 kB / 0.9591 GB, free: 11.18 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.1401, allocations: 0 / 0.9591 GB, free: 11.18 MB / 0.9167 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.000897/0.141, allocations: 0.7374 MB / 0.9598 GB, free: 10.41 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.184e-05/0.141, allocations: 8.031 kB / 0.9598 GB, free: 10.4 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001242/0.1422, allocations: 291.3 kB / 0.9601 GB, free: 10.12 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003448/0.1426, allocations: 256.4 kB / 0.9603 GB, free: 9.84 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.143e-05/0.1426, allocations: 16.66 kB / 0.9604 GB, free: 9.82 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.328e-05/0.1426, allocations: 28 kB / 0.9604 GB, free: 9.793 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005017/0.1431, allocations: 322.5 kB / 0.9607 GB, free: 9.469 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.1432, allocations: 0 / 0.9607 GB, free: 9.469 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.948e-05/0.1432, allocations: 8 kB / 0.9607 GB, free: 9.461 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.1432, allocations: 8 kB / 0.9607 GB, free: 9.453 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002947/0.1435, allocations: 219 kB / 0.9609 GB, free: 9.238 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001431/0.1449, allocations: 0.8705 MB / 0.9618 GB, free: 8.336 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004826/0.1454, allocations: 239 kB / 0.962 GB, free: 8.09 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000127/0.1455, allocations: 87.61 kB / 0.9621 GB, free: 8 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 3.301e-05/0.1456, allocations: 8 kB / 0.9621 GB, free: 7.992 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.648e-05/0.1456, allocations: 41.72 kB / 0.9621 GB, free: 7.941 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=25): time 3.086e-06/0.1456, allocations: 0 / 0.9621 GB, free: 7.941 MB / 0.9167 GB Notification: Performance of matching and sorting (n=25): time 0.00396/0.1496, allocations: 0.8217 MB / 0.9629 GB, free: 7.105 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.714e-05/0.1496, allocations: 59.34 kB / 0.963 GB, free: 7.035 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001459/0.1497, allocations: 260.2 kB / 0.9632 GB, free: 6.77 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 3.83e-05/0.1498, allocations: 37.69 kB / 0.9633 GB, free: 6.727 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001003/0.1499, allocations: 227.2 kB / 0.9635 GB, free: 6.5 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 6.104e-05/0.1499, allocations: 91.2 kB / 0.9636 GB, free: 6.41 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001139/0.15, allocations: 87.5 kB / 0.9637 GB, free: 6.312 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001205/0.1502, allocations: 0.504 MB / 0.9641 GB, free: 5.797 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001184/0.1503, allocations: 64.5 kB / 0.9642 GB, free: 5.734 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001585/0.1504, allocations: 170.9 kB / 0.9644 GB, free: 5.535 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000259/0.1507, allocations: 184 kB / 0.9645 GB, free: 5.344 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.1507, allocations: 0 / 0.9645 GB, free: 5.344 MB / 0.9167 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001596/0.1523, allocations: 496.2 kB / 0.965 GB, free: 4.844 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.1523, allocations: 4 kB / 0.965 GB, free: 4.84 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.1523, allocations: 4 kB / 0.965 GB, free: 4.836 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001169/0.1535, allocations: 331 kB / 0.9653 GB, free: 4.504 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002162/0.1537, allocations: 63.89 kB / 0.9654 GB, free: 4.441 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003849/0.1576, allocations: 3.88 MB / 0.9692 GB, free: 344 kB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002494/0.1578, allocations: 35.83 kB / 0.9692 GB, free: 308 kB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.121e-05/0.1578, allocations: 19.97 kB / 0.9692 GB, free: 288 kB / 0.9167 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.0001322/0.158, allocations: 172.5 kB / 0.9694 GB, free: 104 kB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.651e-05/0.158, allocations: 31.8 kB / 0.9694 GB, free: 72 kB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001705/0.1597, allocations: 0.5521 MB / 0.97 GB, free: 15.51 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.1598, allocations: 4 kB / 0.97 GB, free: 15.5 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.343e-06/0.1598, allocations: 0 / 0.97 GB, free: 15.5 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.1598, allocations: 0 / 0.97 GB, free: 15.5 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002739/0.16, allocations: 252.7 kB / 0.9702 GB, free: 15.23 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.16, allocations: 3.938 kB / 0.9702 GB, free: 15.23 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001625/0.1602, allocations: 39.97 kB / 0.9703 GB, free: 15.19 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001109/0.1613, allocations: 339 kB / 0.9706 GB, free: 14.85 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.197e-05/0.1613, allocations: 15.97 kB / 0.9706 GB, free: 14.83 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003582/0.1649, allocations: 3.864 MB / 0.9744 GB, free: 10.73 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.1649, allocations: 0 / 0.9744 GB, free: 10.73 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001614/0.1665, allocations: 0.6079 MB / 0.975 GB, free: 10.1 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 3.06e-05/0.1666, allocations: 27.75 kB / 0.975 GB, free: 10.07 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.977e-05/0.1666, allocations: 8 kB / 0.975 GB, free: 10.06 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002124/0.1668, allocations: 19.98 kB / 0.975 GB, free: 10.04 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.666e-05/0.1669, allocations: 23.95 kB / 0.975 GB, free: 10.02 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.577e-05/0.1669, allocations: 11.97 kB / 0.9751 GB, free: 10.01 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 8.641e-05/0.167, allocations: 189.1 kB / 0.9752 GB, free: 9.824 MB / 0.9323 GB Notification: Performance of sort global known variables: time 7e-08/0.167, allocations: 4 kB / 0.9752 GB, free: 9.82 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.000438/0.1674, allocations: 119.8 kB / 0.9754 GB, free: 9.703 MB / 0.9323 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.0001664/0.1676, allocations: 123.1 kB / 0.9755 GB, free: 9.574 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0006434/0.1682, allocations: 0.5791 MB / 0.976 GB, free: 8.957 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1682, allocations: 4 kB / 0.976 GB, free: 8.953 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0003899/0.1686, allocations: 0.4918 MB / 0.9765 GB, free: 8.422 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003639/0.169, allocations: 108.2 kB / 0.9766 GB, free: 8.316 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000983/0.17, allocations: 0.5228 MB / 0.9771 GB, free: 7.762 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.532e-05/0.17, allocations: 92.62 kB / 0.9772 GB, free: 7.652 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0002102/0.1703, allocations: 58.2 kB / 0.9773 GB, free: 7.598 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002174/0.1705, allocations: 150.1 kB / 0.9774 GB, free: 7.449 MB / 0.9323 GB Notification: Performance of SimCode: time 5.91e-07/0.1705, allocations: 0 / 0.9774 GB, free: 7.449 MB / 0.9323 GB Notification: Performance of Templates: time 0.01575/0.1862, allocations: 14.73 MB / 0.9918 GB, free: 8.832 MB / 0.948 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.47603113623336]