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.001574/0.001574, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001194/0.001194, allocations: 173 kB / 23.36 MB, free: 1.133 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 1.013/1.013, allocations: 177.1 MB / 203.8 MB, free: 5.484 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.521/2.521, allocations: 438.8 MB / 0.6827 GB, free: 13.62 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.173e-06/1.173e-06, allocations: 0 / 0.8386 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.366e-05/2.484e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.002716/0.002741, allocations: 2.327 MB / 0.8409 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.1354/0.1381, allocations: 147.3 MB / 0.9847 GB, free: 8.016 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001895/0.1383, allocations: 3.938 kB / 0.9847 GB, free: 8.012 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001961/0.1385, allocations: 51.41 kB / 0.9848 GB, free: 7.961 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0003311/0.1389, allocations: 107.1 kB / 0.9849 GB, free: 7.855 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006137/0.1395, allocations: 302.8 kB / 0.9852 GB, free: 7.559 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.000357/0.1398, allocations: 439.5 kB / 0.9856 GB, free: 7.129 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001429/0.14, allocations: 82.88 kB / 0.9857 GB, free: 7.051 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009569/0.1409, allocations: 422.1 kB / 0.9861 GB, free: 6.707 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001659/0.1411, allocations: 147.6 kB / 0.9862 GB, free: 6.562 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 4.43e-05/0.1411, allocations: 28 kB / 0.9862 GB, free: 6.535 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004091/0.1416, allocations: 275.5 kB / 0.9865 GB, free: 6.266 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 7.006e-05/0.1416, allocations: 83.7 kB / 0.9866 GB, free: 6.184 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 8.954e-05/0.1417, allocations: 119.7 kB / 0.9867 GB, free: 6.066 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004621/0.1422, allocations: 442.4 kB / 0.9871 GB, free: 5.633 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.1422, allocations: 0 / 0.9871 GB, free: 5.633 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.262e-06/0.1422, allocations: 0 / 0.9871 GB, free: 5.633 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.498e-06/0.1422, allocations: 0 / 0.9871 GB, free: 5.633 MB / 0.948 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.0007461/0.1429, allocations: 0.6123 MB / 0.9877 GB, free: 4.996 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.151e-05/0.143, allocations: 12.62 kB / 0.9877 GB, free: 4.984 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00121/0.1442, allocations: 291.5 kB / 0.988 GB, free: 4.699 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002687/0.1444, allocations: 217.6 kB / 0.9882 GB, free: 4.461 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.58e-05/0.1445, allocations: 20.66 kB / 0.9882 GB, free: 4.441 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.875e-05/0.1445, allocations: 28 kB / 0.9882 GB, free: 4.414 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000439/0.1449, allocations: 318.5 kB / 0.9885 GB, free: 4.09 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.1449, allocations: 4 kB / 0.9886 GB, free: 4.086 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.114e-05/0.145, allocations: 12 kB / 0.9886 GB, free: 4.074 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.145, allocations: 4 kB / 0.9886 GB, free: 4.07 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000265/0.1452, allocations: 179.1 kB / 0.9887 GB, free: 3.895 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001175/0.1464, allocations: 0.6845 MB / 0.9894 GB, free: 3.195 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003964/0.1468, allocations: 201.2 kB / 0.9896 GB, free: 2.988 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000109/0.1469, allocations: 76.8 kB / 0.9897 GB, free: 2.91 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.823e-05/0.147, allocations: 11.98 kB / 0.9897 GB, free: 2.898 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.18e-05/0.147, allocations: 34.56 kB / 0.9897 GB, free: 2.855 MB / 0.948 GB Notification: Performance of pre-optimization done (n=25): time 1.443e-06/0.147, allocations: 0 / 0.9897 GB, free: 2.855 MB / 0.948 GB Notification: Performance of matching and sorting (n=25): time 0.003285/0.1503, allocations: 0.7316 MB / 0.9904 GB, free: 2.113 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.723e-05/0.1503, allocations: 55.41 kB / 0.9905 GB, free: 2.047 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001117/0.1504, allocations: 205 kB / 0.9907 GB, free: 1.836 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.321e-05/0.1504, allocations: 33.7 kB / 0.9907 GB, free: 1.797 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 7.119e-05/0.1505, allocations: 176.4 kB / 0.9909 GB, free: 1.617 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 5.568e-05/0.1506, allocations: 87.25 kB / 0.991 GB, free: 1.531 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001061/0.1507, allocations: 73.91 kB / 0.991 GB, free: 1.449 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.757e-05/0.1507, allocations: 334.8 kB / 0.9914 GB, free: 1.113 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.842e-05/0.1508, allocations: 60.45 kB / 0.9914 GB, free: 1.055 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001356/0.151, allocations: 153.8 kB / 0.9916 GB, free: 0.8789 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002409/0.1512, allocations: 165.2 kB / 0.9917 GB, free: 0.707 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.1512, allocations: 8.031 kB / 0.9917 GB, free: 0.6992 MB / 0.948 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001387/0.1526, allocations: 406.8 kB / 0.9921 GB, free: 296 kB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.1526, allocations: 5.719 kB / 0.9921 GB, free: 292 kB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/0.1526, allocations: 0 / 0.9921 GB, free: 292 kB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00106/0.1537, allocations: 321.4 kB / 0.9924 GB, free: 15.96 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002191/0.1539, allocations: 67.88 kB / 0.9925 GB, free: 15.9 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002873/0.1568, allocations: 2.718 MB / 0.9951 GB, free: 13.01 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002233/0.157, allocations: 39.86 kB / 0.9952 GB, free: 12.97 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.992e-05/0.157, allocations: 15.97 kB / 0.9952 GB, free: 12.96 MB / 0.9636 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.0001148/0.1571, allocations: 128.6 kB / 0.9953 GB, free: 12.82 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.835e-05/0.1572, allocations: 19.98 kB / 0.9953 GB, free: 12.8 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001481/0.1587, allocations: 495.6 kB / 0.9958 GB, free: 12.31 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.1587, allocations: 4 kB / 0.9958 GB, free: 12.3 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-06/0.1587, allocations: 0 / 0.9958 GB, free: 12.3 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.1587, allocations: 0 / 0.9958 GB, free: 12.3 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001681/0.1604, allocations: 0.6577 MB / 0.9965 GB, free: 11.61 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.1604, allocations: 4.062 kB / 0.9965 GB, free: 11.61 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000187/0.1606, allocations: 51.95 kB / 0.9965 GB, free: 11.55 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009896/0.1616, allocations: 317.3 kB / 0.9968 GB, free: 11.24 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.128e-05/0.1616, allocations: 19.95 kB / 0.9968 GB, free: 11.22 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002617/0.1642, allocations: 2.699 MB / 0.9995 GB, free: 8.34 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.1642, allocations: 0 / 0.9995 GB, free: 8.34 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001555/0.1658, allocations: 0.5047 MB / 1 GB, free: 7.809 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 5.799e-05/0.1658, allocations: 27.75 kB / 1 GB, free: 7.781 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.325e-05/0.1659, allocations: 4 kB / 1 GB, free: 7.777 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000268/0.1662, allocations: 27.98 kB / 1 GB, free: 7.75 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.214e-05/0.1662, allocations: 27.89 kB / 1 GB, free: 7.723 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.957e-05/0.1663, allocations: 11.97 kB / 1 GB, free: 7.711 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 7.418e-05/0.1663, allocations: 70.78 kB / 1 GB, free: 7.637 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7e-08/0.1663, allocations: 0 / 1 GB, free: 7.637 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0004196/0.1668, allocations: 119.8 kB / 1 GB, free: 7.52 MB / 0.9636 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.0001727/0.1669, allocations: 100.3 kB / 1 GB, free: 7.414 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0006515/0.1676, allocations: 468.1 kB / 1.001 GB, free: 6.93 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.022e-05/0.1676, allocations: 8.125 kB / 1.001 GB, free: 6.922 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0003734/0.168, allocations: 369.8 kB / 1.001 GB, free: 6.531 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003346/0.1683, allocations: 92.95 kB / 1.001 GB, free: 6.441 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001135/0.1694, allocations: 0.5522 MB / 1.002 GB, free: 5.852 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.591e-05/0.1695, allocations: 100.6 kB / 1.002 GB, free: 5.734 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0002518/0.1698, allocations: 66.2 kB / 1.002 GB, free: 5.672 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002402/0.17, allocations: 115.3 kB / 1.002 GB, free: 5.559 MB / 0.9636 GB Notification: Performance of SimCode: time 2.044e-06/0.17, allocations: 0 / 1.002 GB, free: 5.559 MB / 0.9636 GB Notification: Performance of Templates: time 0.01505/0.1851, allocations: 14.31 MB / 1.016 GB, free: 7.391 MB / 0.9792 GB " [Timeout remaining time 300] 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 -s gbode -gbm=radauIIA3 -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.792182392906398]