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.0009583/0.0009583, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.0009922/0.0009922, allocations: 165 kB / 23.02 MB, free: 1.547 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.9034/0.9034, allocations: 177.1 MB / 203.4 MB, free: 5.645 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.073/2.073, allocations: 429.5 MB / 0.6732 GB, free: 4.031 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.333e-06/1.333e-06, allocations: 0 / 0.8781 GB, free: 6.359 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.644e-05/1.777e-05, allocations: 5.734 kB / 0.8781 GB, free: 6.355 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.002531/0.002549, allocations: 2.309 MB / 0.8804 GB, free: 4.059 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.1213/0.1239, allocations: 147.9 MB / 1.025 GB, free: 15.59 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001827/0.124, allocations: 7.938 kB / 1.025 GB, free: 15.58 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0002003/0.1242, allocations: 43.47 kB / 1.025 GB, free: 15.54 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.0003297/0.1246, allocations: 119 kB / 1.025 GB, free: 15.42 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005664/0.1251, allocations: 310.8 kB / 1.025 GB, free: 15.11 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.000344/0.1255, allocations: 435.5 kB / 1.026 GB, free: 14.68 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001484/0.1256, allocations: 76.31 kB / 1.026 GB, free: 14.61 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001004/0.1266, allocations: 410 kB / 1.026 GB, free: 14.27 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001639/0.1268, allocations: 143.6 kB / 1.026 GB, free: 14.13 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 4.171e-05/0.1268, allocations: 39.94 kB / 1.026 GB, free: 14.09 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003847/0.1272, allocations: 271.4 kB / 1.027 GB, free: 13.83 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 7.331e-05/0.1273, allocations: 79.72 kB / 1.027 GB, free: 13.75 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 9.356e-05/0.1274, allocations: 111.7 kB / 1.027 GB, free: 13.64 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004831/0.1279, allocations: 454.4 kB / 1.027 GB, free: 13.2 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.1279, allocations: 0 / 1.027 GB, free: 13.2 MB / 0.9948 GB Notification: Performance of FrontEnd: time 8.41e-07/0.1279, allocations: 0 / 1.027 GB, free: 13.2 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.1279, allocations: 0 / 1.027 GB, free: 13.2 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.0008852/0.1288, allocations: 0.7215 MB / 1.028 GB, free: 12.44 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.1288, allocations: 12.03 kB / 1.028 GB, free: 12.43 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001379/0.1302, allocations: 331.2 kB / 1.028 GB, free: 12.1 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003526/0.1305, allocations: 252.3 kB / 1.028 GB, free: 11.83 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.909e-05/0.1306, allocations: 24.66 kB / 1.029 GB, free: 11.8 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.389e-05/0.1306, allocations: 28 kB / 1.029 GB, free: 11.77 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005758/0.1312, allocations: 354.5 kB / 1.029 GB, free: 11.42 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.1312, allocations: 0 / 1.029 GB, free: 11.42 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.348e-05/0.1312, allocations: 12 kB / 1.029 GB, free: 11.41 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.798e-06/0.1313, allocations: 4 kB / 1.029 GB, free: 11.4 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004179/0.1317, allocations: 275.6 kB / 1.029 GB, free: 11.14 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001529/0.1332, allocations: 0.9171 MB / 1.03 GB, free: 10.18 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005637/0.1338, allocations: 271 kB / 1.03 GB, free: 9.906 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001772/0.1339, allocations: 115.9 kB / 1.03 GB, free: 9.789 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.807e-05/0.134, allocations: 4 kB / 1.03 GB, free: 9.785 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.278e-05/0.134, allocations: 41.39 kB / 1.03 GB, free: 9.734 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=25): time 1.282e-06/0.134, allocations: 0 / 1.03 GB, free: 9.734 MB / 0.9948 GB Notification: Performance of matching and sorting (n=25): time 0.003876/0.1379, allocations: 0.8669 MB / 1.031 GB, free: 8.852 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.942e-05/0.1379, allocations: 55.41 kB / 1.031 GB, free: 8.785 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001674/0.1381, allocations: 268.3 kB / 1.032 GB, free: 8.508 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 3.618e-05/0.1381, allocations: 25.7 kB / 1.032 GB, free: 8.477 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000105/0.1382, allocations: 239.2 kB / 1.032 GB, free: 8.234 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 5.94e-05/0.1383, allocations: 87.28 kB / 1.032 GB, free: 8.148 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000112/0.1384, allocations: 75.58 kB / 1.032 GB, free: 8.062 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001263/0.1385, allocations: 0.5117 MB / 1.033 GB, free: 7.539 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001665/0.1387, allocations: 80.5 kB / 1.033 GB, free: 7.461 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002291/0.1389, allocations: 261.7 kB / 1.033 GB, free: 7.152 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003433/0.1393, allocations: 210.9 kB / 1.033 GB, free: 6.934 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.1393, allocations: 4 kB / 1.033 GB, free: 6.93 MB / 0.9948 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001707/0.141, allocations: 0.5172 MB / 1.034 GB, free: 6.398 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.141, allocations: 9.875 kB / 1.034 GB, free: 6.391 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.902e-06/0.141, allocations: 3.984 kB / 1.034 GB, free: 6.387 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0012/0.1422, allocations: 335 kB / 1.034 GB, free: 6.051 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002283/0.1424, allocations: 63.89 kB / 1.034 GB, free: 5.988 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00371/0.1461, allocations: 3.924 MB / 1.038 GB, free: 1.82 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002596/0.1464, allocations: 47.81 kB / 1.038 GB, free: 1.773 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.195e-05/0.1464, allocations: 19.97 kB / 1.038 GB, free: 1.754 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.0001497/0.1466, allocations: 180.4 kB / 1.038 GB, free: 1.566 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.245e-05/0.1466, allocations: 27.86 kB / 1.038 GB, free: 1.539 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001744/0.1484, allocations: 0.5796 MB / 1.039 GB, free: 0.9492 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.1484, allocations: 4 kB / 1.039 GB, free: 0.9453 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.422e-06/0.1484, allocations: 0 / 1.039 GB, free: 0.9453 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.1484, allocations: 7.922 kB / 1.039 GB, free: 0.9375 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001975/0.1504, allocations: 0.8933 MB / 1.04 GB, free: 15.98 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.1504, allocations: 3.984 kB / 1.04 GB, free: 15.98 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001804/0.1506, allocations: 43.97 kB / 1.04 GB, free: 15.94 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001084/0.1516, allocations: 339 kB / 1.04 GB, free: 15.6 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.167e-05/0.1517, allocations: 15.97 kB / 1.04 GB, free: 15.58 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003317/0.155, allocations: 3.906 MB / 1.044 GB, free: 11.43 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.155, allocations: 0 / 1.044 GB, free: 11.43 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001702/0.1567, allocations: 0.6658 MB / 1.044 GB, free: 10.72 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 2.654e-05/0.1567, allocations: 27.78 kB / 1.044 GB, free: 10.7 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.532e-05/0.1568, allocations: 8 kB / 1.044 GB, free: 10.69 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002173/0.157, allocations: 27.98 kB / 1.044 GB, free: 10.66 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.937e-05/0.157, allocations: 19.95 kB / 1.044 GB, free: 10.64 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.804e-05/0.1571, allocations: 23.91 kB / 1.044 GB, free: 10.62 MB / 1.01 GB Notification: Performance of sorting global known variables: time 9.079e-05/0.1571, allocations: 185.1 kB / 1.045 GB, free: 10.44 MB / 1.01 GB Notification: Performance of sort global known variables: time 8e-08/0.1571, allocations: 4 kB / 1.045 GB, free: 10.43 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0004071/0.1576, allocations: 123.8 kB / 1.045 GB, free: 10.31 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.0001651/0.1577, allocations: 115.1 kB / 1.045 GB, free: 10.19 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0007543/0.1585, allocations: 0.622 MB / 1.045 GB, free: 9.531 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.1585, allocations: 0 / 1.045 GB, free: 9.531 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0004108/0.1589, allocations: 0.5071 MB / 1.046 GB, free: 8.984 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003504/0.1592, allocations: 92.78 kB / 1.046 GB, free: 8.895 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001135/0.1604, allocations: 0.5789 MB / 1.047 GB, free: 8.277 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.078e-05/0.1604, allocations: 88.62 kB / 1.047 GB, free: 8.172 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0002232/0.1607, allocations: 74.19 kB / 1.047 GB, free: 8.102 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001037/0.1608, allocations: 28.48 kB / 1.047 GB, free: 8.074 MB / 1.01 GB Notification: Performance of SimCode: time 6.01e-07/0.1608, allocations: 0 / 1.047 GB, free: 8.074 MB / 1.01 GB Notification: Performance of Templates: time 0.3572/0.518, allocations: 13.6 MB / 1.06 GB, free: 75.7 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.094924827571958]