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.001301/0.001301, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001591/0.001591, allocations: 177.4 kB / 23.36 MB, free: 1.129 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.961/0.961, allocations: 177.2 MB / 203.8 MB, free: 5.473 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.299/2.299, allocations: 438.8 MB / 0.6827 GB, free: 13.64 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 2.124e-06/2.124e-06, allocations: 0 / 0.8385 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.446e-05/1.658e-05, allocations: 6.25 kB / 0.8385 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.002498/0.002514, allocations: 2.29 MB / 0.8408 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.1416/0.1441, allocations: 147.3 MB / 0.9846 GB, free: 8.102 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001798/0.1443, allocations: 7.938 kB / 0.9846 GB, free: 8.094 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001914/0.1444, allocations: 47.45 kB / 0.9847 GB, free: 8.047 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0003309/0.1448, allocations: 107 kB / 0.9848 GB, free: 7.941 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004748/0.1452, allocations: 314.8 kB / 0.9851 GB, free: 7.633 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.000328/0.1456, allocations: 439.5 kB / 0.9855 GB, free: 7.203 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001427/0.1457, allocations: 78.89 kB / 0.9856 GB, free: 7.129 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009358/0.1467, allocations: 429.3 kB / 0.986 GB, free: 6.785 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00015/0.1468, allocations: 147.6 kB / 0.9861 GB, free: 6.641 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 3.845e-05/0.1468, allocations: 36 kB / 0.9862 GB, free: 6.605 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003377/0.1472, allocations: 263.5 kB / 0.9864 GB, free: 6.348 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 6.88e-05/0.1473, allocations: 79.72 kB / 0.9865 GB, free: 6.27 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 8.359e-05/0.1473, allocations: 107.7 kB / 0.9866 GB, free: 6.164 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004511/0.1478, allocations: 446.4 kB / 0.987 GB, free: 5.727 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.1478, allocations: 0 / 0.987 GB, free: 5.727 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.012e-06/0.1478, allocations: 0 / 0.987 GB, free: 5.727 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.1478, allocations: 4 kB / 0.987 GB, free: 5.723 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.0007642/0.1486, allocations: 0.6162 MB / 0.9876 GB, free: 5.082 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.1486, allocations: 8.625 kB / 0.9876 GB, free: 5.074 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001122/0.1497, allocations: 287.5 kB / 0.9879 GB, free: 4.793 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002617/0.15, allocations: 217.6 kB / 0.9881 GB, free: 4.555 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.061e-05/0.15, allocations: 24.66 kB / 0.9881 GB, free: 4.531 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.965e-05/0.15, allocations: 28 kB / 0.9882 GB, free: 4.504 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004364/0.1505, allocations: 322.5 kB / 0.9885 GB, free: 4.176 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.427e-06/0.1505, allocations: 0 / 0.9885 GB, free: 4.176 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.659e-05/0.1505, allocations: 12 kB / 0.9885 GB, free: 4.164 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.348e-06/0.1505, allocations: 8 kB / 0.9885 GB, free: 4.156 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002575/0.1508, allocations: 179 kB / 0.9887 GB, free: 3.98 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001198/0.152, allocations: 0.6729 MB / 0.9893 GB, free: 3.293 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003906/0.1524, allocations: 213.2 kB / 0.9895 GB, free: 3.074 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001035/0.1525, allocations: 76.81 kB / 0.9896 GB, free: 2.996 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.645e-05/0.1525, allocations: 4 kB / 0.9896 GB, free: 2.992 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.332e-05/0.1525, allocations: 42.5 kB / 0.9896 GB, free: 2.941 MB / 0.948 GB Notification: Performance of pre-optimization done (n=25): time 1.713e-06/0.1525, allocations: 0 / 0.9896 GB, free: 2.941 MB / 0.948 GB Notification: Performance of matching and sorting (n=25): time 0.003179/0.1557, allocations: 0.7314 MB / 0.9904 GB, free: 2.199 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.643e-05/0.1557, allocations: 55.41 kB / 0.9904 GB, free: 2.133 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001147/0.1558, allocations: 213 kB / 0.9906 GB, free: 1.914 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.119e-05/0.1559, allocations: 29.7 kB / 0.9906 GB, free: 1.879 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 6.84e-05/0.1559, allocations: 168.4 kB / 0.9908 GB, free: 1.707 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 5.422e-05/0.156, allocations: 91.27 kB / 0.9909 GB, free: 1.617 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.268e-05/0.1561, allocations: 69.91 kB / 0.991 GB, free: 1.539 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.595e-05/0.1562, allocations: 338.8 kB / 0.9913 GB, free: 1.199 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.016e-05/0.1563, allocations: 52.52 kB / 0.9913 GB, free: 1.148 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001387/0.1564, allocations: 153.8 kB / 0.9915 GB, free: 0.9727 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002201/0.1566, allocations: 177.2 kB / 0.9916 GB, free: 0.7891 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.1566, allocations: 0 / 0.9916 GB, free: 0.7891 MB / 0.948 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001453/0.1581, allocations: 406.8 kB / 0.992 GB, free: 388 kB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.1581, allocations: 8.031 kB / 0.992 GB, free: 380 kB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.563e-06/0.1581, allocations: 4 kB / 0.992 GB, free: 376 kB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001004/0.1591, allocations: 317.4 kB / 0.9923 GB, free: 52 kB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001964/0.1593, allocations: 55.95 kB / 0.9924 GB, free: 15.99 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00276/0.162, allocations: 2.708 MB / 0.995 GB, free: 13.12 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002041/0.1623, allocations: 39.83 kB / 0.9951 GB, free: 13.08 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.73e-05/0.1623, allocations: 15.95 kB / 0.9951 GB, free: 13.06 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.000117/0.1624, allocations: 128.6 kB / 0.9952 GB, free: 12.93 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.311e-05/0.1625, allocations: 23.98 kB / 0.9952 GB, free: 12.9 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001644/0.1641, allocations: 483.7 kB / 0.9957 GB, free: 12.42 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.1641, allocations: 4 kB / 0.9957 GB, free: 12.42 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.953e-06/0.1641, allocations: 0 / 0.9957 GB, free: 12.42 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.1641, allocations: 0 / 0.9957 GB, free: 12.42 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00152/0.1656, allocations: 0.6617 MB / 0.9964 GB, free: 11.72 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.574e-06/0.1656, allocations: 0 / 0.9964 GB, free: 11.72 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001521/0.1658, allocations: 55.89 kB / 0.9964 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009318/0.1667, allocations: 317.4 kB / 0.9967 GB, free: 11.35 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.508e-05/0.1667, allocations: 15.91 kB / 0.9967 GB, free: 11.33 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00248/0.1692, allocations: 2.699 MB / 0.9994 GB, free: 8.453 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1692, allocations: 0 / 0.9994 GB, free: 8.453 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001303/0.1705, allocations: 0.4906 MB / 0.9998 GB, free: 7.934 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.382e-05/0.1705, allocations: 27.75 kB / 0.9999 GB, free: 7.906 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.668e-05/0.1706, allocations: 12 kB / 0.9999 GB, free: 7.895 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000184/0.1708, allocations: 19.98 kB / 0.9999 GB, free: 7.875 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.677e-05/0.1708, allocations: 31.83 kB / 0.9999 GB, free: 7.844 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.428e-05/0.1708, allocations: 15.97 kB / 0.9999 GB, free: 7.828 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 5.32e-05/0.1709, allocations: 66.78 kB / 1 GB, free: 7.758 MB / 0.9636 GB Notification: Performance of sort global known variables: time 4e-08/0.1709, allocations: 4 kB / 1 GB, free: 7.754 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0003688/0.1713, allocations: 119.8 kB / 1 GB, free: 7.637 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.0001555/0.1714, allocations: 100.3 kB / 1 GB, free: 7.531 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0005498/0.172, allocations: 466.3 kB / 1.001 GB, free: 7.051 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.172, allocations: 0 / 1.001 GB, free: 7.051 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0003081/0.1723, allocations: 374.5 kB / 1.001 GB, free: 6.656 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002915/0.1726, allocations: 92.83 kB / 1.001 GB, free: 6.566 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00103/0.1736, allocations: 0.56 MB / 1.002 GB, free: 5.969 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.343e-05/0.1737, allocations: 96.5 kB / 1.002 GB, free: 5.855 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0002062/0.1739, allocations: 66.2 kB / 1.002 GB, free: 5.793 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002028/0.1741, allocations: 119.3 kB / 1.002 GB, free: 5.676 MB / 0.9636 GB Notification: Performance of SimCode: time 6.81e-07/0.1741, allocations: 4 kB / 1.002 GB, free: 5.672 MB / 0.9636 GB Notification: Performance of Templates: time 0.01383/0.1879, allocations: 14.29 MB / 1.016 GB, free: 7.52 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 -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.692720916587859]