Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009596/0.0009596, allocations: 73.09 kB / 20.65 MB, free: 3.852 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.00153/0.00153, allocations: 169 kB / 24.06 MB, free: 460 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.9911/0.9911, allocations: 177.1 MB / 204.5 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.086/2.086, allocations: 429.5 MB / 0.6743 GB, free: 3.926 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Utilities.Comfort.Examples.Fanger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 0 / 0.8793 GB, free: 6.066 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.122e-05/2.237e-05, allocations: 3.344 kB / 0.8793 GB, free: 6.062 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.006911/0.006933, allocations: 2.298 MB / 0.8816 GB, free: 3.785 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.1433/0.1502, allocations: 145.2 MB / 1.023 GB, free: 2.105 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001774/0.1504, allocations: 3.938 kB / 1.023 GB, free: 2.102 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0001743/0.1506, allocations: 55.45 kB / 1.023 GB, free: 2.047 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.0002968/0.1509, allocations: 99.08 kB / 1.023 GB, free: 1.949 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005531/0.1514, allocations: 314.8 kB / 1.024 GB, free: 1.641 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.0003412/0.1518, allocations: 443.5 kB / 1.024 GB, free: 1.203 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001482/0.1519, allocations: 72.33 kB / 1.024 GB, free: 1.133 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009565/0.1529, allocations: 420.1 kB / 1.025 GB, free: 0.7812 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001709/0.153, allocations: 151.6 kB / 1.025 GB, free: 0.6328 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 4.1e-05/0.1531, allocations: 32 kB / 1.025 GB, free: 0.6016 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000409/0.1535, allocations: 263.5 kB / 1.025 GB, free: 352 kB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 7.731e-05/0.1536, allocations: 83.7 kB / 1.025 GB, free: 268 kB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 8.965e-05/0.1536, allocations: 111.7 kB / 1.025 GB, free: 156 kB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.0004946/0.1541, allocations: 446.4 kB / 1.026 GB, free: 15.71 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.1541, allocations: 0 / 1.026 GB, free: 15.71 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.212e-06/0.1541, allocations: 0 / 1.026 GB, free: 15.71 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 4.468e-06/0.1541, allocations: 0 / 1.026 GB, free: 15.71 MB / 0.9948 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.0008279/0.155, allocations: 0.7293 MB / 1.026 GB, free: 14.95 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.155, allocations: 8.031 kB / 1.026 GB, free: 14.94 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001364/0.1564, allocations: 331.2 kB / 1.027 GB, free: 14.62 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002788/0.1567, allocations: 252.3 kB / 1.027 GB, free: 14.34 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.01e-05/0.1567, allocations: 20.66 kB / 1.027 GB, free: 14.32 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.377e-05/0.1567, allocations: 24 kB / 1.027 GB, free: 14.3 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004977/0.1572, allocations: 330.5 kB / 1.027 GB, free: 13.96 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.1572, allocations: 0 / 1.027 GB, free: 13.96 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.92e-05/0.1573, allocations: 8 kB / 1.027 GB, free: 13.96 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/0.1573, allocations: 11.98 kB / 1.027 GB, free: 13.95 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002878/0.1576, allocations: 211 kB / 1.028 GB, free: 13.74 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001384/0.1589, allocations: 0.8785 MB / 1.028 GB, free: 12.83 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000469/0.1594, allocations: 239.4 kB / 1.029 GB, free: 12.59 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001255/0.1595, allocations: 103.5 kB / 1.029 GB, free: 12.48 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.004e-05/0.1596, allocations: 8 kB / 1.029 GB, free: 12.47 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.897e-05/0.1596, allocations: 33.39 kB / 1.029 GB, free: 12.43 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=25): time 1.533e-06/0.1596, allocations: 0 / 1.029 GB, free: 12.43 MB / 0.9948 GB Notification: Performance of matching and sorting (n=25): time 0.003864/0.1634, allocations: 0.8162 MB / 1.03 GB, free: 11.6 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.961e-05/0.1635, allocations: 59.39 kB / 1.03 GB, free: 11.53 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002251/0.1637, allocations: 268.2 kB / 1.03 GB, free: 11.25 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 3.248e-05/0.1637, allocations: 29.7 kB / 1.03 GB, free: 11.21 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001031/0.1638, allocations: 231.2 kB / 1.03 GB, free: 10.98 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 5.902e-05/0.1639, allocations: 87.22 kB / 1.03 GB, free: 10.89 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001143/0.164, allocations: 87.48 kB / 1.03 GB, free: 10.8 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001198/0.1641, allocations: 0.5079 MB / 1.031 GB, free: 10.28 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001215/0.1643, allocations: 68.48 kB / 1.031 GB, free: 10.21 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002231/0.1645, allocations: 171.9 kB / 1.031 GB, free: 10.01 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000366/0.1648, allocations: 182.9 kB / 1.031 GB, free: 9.82 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.1648, allocations: 0 / 1.031 GB, free: 9.82 MB / 0.9948 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.002296/0.1671, allocations: 493.6 kB / 1.032 GB, free: 9.324 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.1672, allocations: 4 kB / 1.032 GB, free: 9.32 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.1672, allocations: 4.031 kB / 1.032 GB, free: 9.316 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001462/0.1686, allocations: 339 kB / 1.032 GB, free: 8.977 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002211/0.1688, allocations: 59.89 kB / 1.032 GB, free: 8.918 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003475/0.1723, allocations: 3.896 MB / 1.036 GB, free: 4.801 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002434/0.1726, allocations: 39.83 kB / 1.036 GB, free: 4.762 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.042e-05/0.1726, allocations: 19.97 kB / 1.036 GB, free: 4.742 MB / 0.9948 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.0001208/0.1727, allocations: 168.5 kB / 1.036 GB, free: 4.566 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.234e-05/0.1728, allocations: 39.8 kB / 1.036 GB, free: 4.527 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001673/0.1745, allocations: 0.5251 MB / 1.037 GB, free: 3.992 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-06/0.1745, allocations: 4 kB / 1.037 GB, free: 3.988 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.193e-06/0.1745, allocations: 0 / 1.037 GB, free: 3.988 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.1745, allocations: 3.984 kB / 1.037 GB, free: 3.984 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001897/0.1764, allocations: 0.8313 MB / 1.037 GB, free: 3.102 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.1764, allocations: 0 / 1.037 GB, free: 3.102 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001749/0.1765, allocations: 47.91 kB / 1.038 GB, free: 3.055 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001093/0.1776, allocations: 339.1 kB / 1.038 GB, free: 2.715 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.985e-05/0.1777, allocations: 19.91 kB / 1.038 GB, free: 2.695 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003319/0.181, allocations: 3.868 MB / 1.042 GB, free: 14.59 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.181, allocations: 3.938 kB / 1.042 GB, free: 14.59 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001652/0.1826, allocations: 0.6268 MB / 1.042 GB, free: 13.93 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 2.477e-05/0.1827, allocations: 23.8 kB / 1.042 GB, free: 13.9 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.062e-05/0.1827, allocations: 11.94 kB / 1.042 GB, free: 13.89 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002282/0.1829, allocations: 27.98 kB / 1.042 GB, free: 13.86 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.105e-05/0.183, allocations: 27.89 kB / 1.042 GB, free: 13.84 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.598e-05/0.183, allocations: 11.97 kB / 1.042 GB, free: 13.82 MB / 1.01 GB Notification: Performance of sorting global known variables: time 7.852e-05/0.1831, allocations: 185.1 kB / 1.043 GB, free: 13.64 MB / 1.01 GB Notification: Performance of sort global known variables: time 7.1e-08/0.1831, allocations: 0 / 1.043 GB, free: 13.64 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.000411/0.1835, allocations: 119.8 kB / 1.043 GB, free: 13.53 MB / 1.01 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 (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.0001363/0.1836, allocations: 119.1 kB / 1.043 GB, free: 13.4 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0006263/0.1843, allocations: 0.5908 MB / 1.043 GB, free: 12.77 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1843, allocations: 0 / 1.043 GB, free: 12.77 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0003767/0.1846, allocations: 0.4915 MB / 1.044 GB, free: 12.24 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003554/0.185, allocations: 92.8 kB / 1.044 GB, free: 12.15 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001025/0.186, allocations: 0.5637 MB / 1.044 GB, free: 11.55 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.275e-05/0.1861, allocations: 96.56 kB / 1.045 GB, free: 11.43 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0002216/0.1863, allocations: 66.2 kB / 1.045 GB, free: 11.37 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002191/0.1865, allocations: 142.1 kB / 1.045 GB, free: 11.23 MB / 1.01 GB Notification: Performance of SimCode: time 6.51e-07/0.1865, allocations: 0 / 1.045 GB, free: 11.23 MB / 1.01 GB Notification: Performance of Templates: time 0.386/0.5725, allocations: 14.62 MB / 1.059 GB, free: 79.66 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger.pipe >> ../files/Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger.sim & ./Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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: 6.119435123167932]