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.0009493/0.0009493, allocations: 93.06 kB / 19.65 MB, free: 280 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.0009621/0.0009621, allocations: 173.3 kB / 23.03 MB, free: 1.543 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.937/0.937, allocations: 177.1 MB / 203.4 MB, free: 5.574 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.037/2.037, allocations: 429.5 MB / 0.6732 GB, free: 4.047 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 2.104e-06/2.104e-06, allocations: 1.094 kB / 0.8781 GB, free: 6.363 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.433e-05/2.643e-05, allocations: 10.41 kB / 0.8781 GB, free: 6.355 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.003747/0.003773, allocations: 2.309 MB / 0.8804 GB, free: 4.055 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.1275/0.1313, allocations: 147.9 MB / 1.025 GB, free: 15.59 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001721/0.1314, allocations: 7.938 kB / 1.025 GB, free: 15.58 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001838/0.1316, allocations: 47.47 kB / 1.025 GB, free: 15.53 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.0003233/0.1319, allocations: 107.1 kB / 1.025 GB, free: 15.43 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.000561/0.1325, allocations: 306.8 kB / 1.025 GB, free: 15.12 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0003386/0.1328, allocations: 443.5 kB / 1.026 GB, free: 14.69 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001532/0.133, allocations: 76.31 kB / 1.026 GB, free: 14.61 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001163/0.1342, allocations: 418.4 kB / 1.026 GB, free: 14.27 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001585/0.1343, allocations: 147.6 kB / 1.026 GB, free: 14.12 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 3.909e-05/0.1344, allocations: 28 kB / 1.026 GB, free: 14.1 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003492/0.1347, allocations: 267.4 kB / 1.027 GB, free: 13.84 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 7.268e-05/0.1348, allocations: 83.7 kB / 1.027 GB, free: 13.75 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 9.531e-05/0.1349, allocations: 115.7 kB / 1.027 GB, free: 13.64 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004713/0.1353, allocations: 450.4 kB / 1.027 GB, free: 13.2 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.1354, allocations: 0 / 1.027 GB, free: 13.2 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.403e-06/0.1354, allocations: 0 / 1.027 GB, free: 13.2 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.1354, 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.000865/0.1362, allocations: 0.7177 MB / 1.028 GB, free: 12.45 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.1363, allocations: 12.03 kB / 1.028 GB, free: 12.43 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001345/0.1376, allocations: 319.2 kB / 1.028 GB, free: 12.12 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003212/0.1379, allocations: 276.2 kB / 1.029 GB, free: 11.82 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.984e-05/0.1379, allocations: 20.66 kB / 1.029 GB, free: 11.8 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.262e-05/0.138, allocations: 24 kB / 1.029 GB, free: 11.78 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005442/0.1385, allocations: 350.5 kB / 1.029 GB, free: 11.43 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.1385, allocations: 8 kB / 1.029 GB, free: 11.42 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.118e-05/0.1386, allocations: 8 kB / 1.029 GB, free: 11.41 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.125e-05/0.1386, allocations: 8 kB / 1.029 GB, free: 11.4 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003994/0.139, allocations: 275.7 kB / 1.029 GB, free: 11.14 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001393/0.1404, allocations: 0.9171 MB / 1.03 GB, free: 10.18 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005342/0.1409, allocations: 275 kB / 1.03 GB, free: 9.902 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001591/0.1411, allocations: 111.5 kB / 1.03 GB, free: 9.789 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.006e-05/0.1411, allocations: 4 kB / 1.03 GB, free: 9.785 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.076e-05/0.1411, allocations: 41.39 kB / 1.03 GB, free: 9.734 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=25): time 1.923e-06/0.1411, allocations: 0 / 1.03 GB, free: 9.734 MB / 0.9948 GB Notification: Performance of matching and sorting (n=25): time 0.003611/0.1447, allocations: 0.8669 MB / 1.031 GB, free: 8.852 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.897e-05/0.1448, allocations: 55.41 kB / 1.031 GB, free: 8.785 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001535/0.1449, allocations: 272.3 kB / 1.032 GB, free: 8.504 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 3.238e-05/0.145, allocations: 25.7 kB / 1.032 GB, free: 8.473 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 9.496e-05/0.145, allocations: 235.6 kB / 1.032 GB, free: 8.234 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 5.854e-05/0.1451, allocations: 83.23 kB / 1.032 GB, free: 8.152 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001104/0.1452, allocations: 83.56 kB / 1.032 GB, free: 8.059 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001187/0.1453, allocations: 0.504 MB / 1.033 GB, free: 7.543 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001528/0.1455, allocations: 80.5 kB / 1.033 GB, free: 7.465 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001962/0.1457, allocations: 198.8 kB / 1.033 GB, free: 7.238 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003251/0.146, allocations: 195 kB / 1.033 GB, free: 7.035 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.146, allocations: 4 kB / 1.033 GB, free: 7.031 MB / 0.9948 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001614/0.1476, allocations: 0.525 MB / 1.034 GB, free: 6.492 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.1476, allocations: 8 kB / 1.034 GB, free: 6.484 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.1476, allocations: 0 / 1.034 GB, free: 6.484 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001146/0.1488, allocations: 339 kB / 1.034 GB, free: 6.145 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002151/0.149, allocations: 59.95 kB / 1.034 GB, free: 6.086 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003452/0.1525, allocations: 3.927 MB / 1.038 GB, free: 1.918 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002285/0.1527, allocations: 47.86 kB / 1.038 GB, free: 1.871 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.056e-05/0.1527, allocations: 15.97 kB / 1.038 GB, free: 1.855 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.0001244/0.1528, allocations: 172.5 kB / 1.038 GB, free: 1.676 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.8e-05/0.1529, allocations: 39.83 kB / 1.038 GB, free: 1.637 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001674/0.1546, allocations: 0.5719 MB / 1.039 GB, free: 1.055 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.1546, allocations: 4 kB / 1.039 GB, free: 1.051 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.303e-06/0.1546, allocations: 4 kB / 1.039 GB, free: 1.047 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.1546, allocations: 3.938 kB / 1.039 GB, free: 1.043 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001854/0.1564, allocations: 0.901 MB / 1.039 GB, free: 84 kB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.1565, allocations: 0 / 1.039 GB, free: 84 kB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001729/0.1566, allocations: 51.95 kB / 1.039 GB, free: 32 kB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001188/0.1578, allocations: 331 kB / 1.04 GB, free: 15.7 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.27e-05/0.1578, allocations: 15.97 kB / 1.04 GB, free: 15.68 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00312/0.161, allocations: 3.91 MB / 1.044 GB, free: 11.52 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.161, allocations: 4 kB / 1.044 GB, free: 11.52 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001633/0.1626, allocations: 0.6581 MB / 1.044 GB, free: 10.82 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 2.589e-05/0.1626, allocations: 31.73 kB / 1.044 GB, free: 10.79 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.842e-05/0.1627, allocations: 8 kB / 1.044 GB, free: 10.79 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002104/0.1629, allocations: 27.97 kB / 1.044 GB, free: 10.76 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.791e-05/0.1629, allocations: 23.97 kB / 1.044 GB, free: 10.73 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.991e-05/0.163, allocations: 23.91 kB / 1.044 GB, free: 10.71 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0001017/0.1631, allocations: 189.1 kB / 1.045 GB, free: 10.53 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1631, allocations: 0 / 1.045 GB, free: 10.53 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0003927/0.1635, allocations: 119.8 kB / 1.045 GB, free: 10.41 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.0001712/0.1636, allocations: 119.1 kB / 1.045 GB, free: 10.29 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0007285/0.1644, allocations: 0.6181 MB / 1.045 GB, free: 9.629 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1644, allocations: 0 / 1.045 GB, free: 9.629 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0004272/0.1648, allocations: 0.5111 MB / 1.046 GB, free: 9.078 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003474/0.1652, allocations: 103.1 kB / 1.046 GB, free: 8.98 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001216/0.1664, allocations: 0.5605 MB / 1.047 GB, free: 8.379 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.503e-05/0.1664, allocations: 92.61 kB / 1.047 GB, free: 8.27 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.000225/0.1666, allocations: 70.22 kB / 1.047 GB, free: 8.203 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000103/0.1668, allocations: 36.47 kB / 1.047 GB, free: 8.168 MB / 1.01 GB Notification: Performance of SimCode: time 5.81e-07/0.1668, allocations: 4 kB / 1.047 GB, free: 8.164 MB / 1.01 GB Notification: Performance of Templates: time 0.3877/0.5545, allocations: 14.29 MB / 1.061 GB, free: 75.44 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: 5.946682528126985]