Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009047/0.0009047, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.001126/0.001126, allocations: 161 kB / 24.17 MB, free: 332 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.9608/0.9608, allocations: 177.1 MB / 204.6 MB, free: 5.141 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.821/1.821, allocations: 377.9 MB / 0.624 GB, free: 8.359 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/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_12_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_12_Buildings.Utilities.Comfort.Examples.Fanger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 0.76 GB, free: 6.723 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.834e-05/1.985e-05, allocations: 5.359 kB / 0.76 GB, free: 6.719 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.002859/0.002879, allocations: 2.299 MB / 0.7622 GB, free: 4.438 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.1347/0.1376, allocations: 147.3 MB / 0.9061 GB, free: 0.7344 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001715/0.1378, allocations: 11.94 kB / 0.9061 GB, free: 0.7227 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0001805/0.138, allocations: 51.45 kB / 0.9061 GB, free: 0.6719 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0003446/0.1383, allocations: 103 kB / 0.9062 GB, free: 0.5703 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.000605/0.1389, allocations: 306.8 kB / 0.9065 GB, free: 276 kB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0003412/0.1393, allocations: 443.6 kB / 0.9069 GB, free: 15.83 MB / 0.8699 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001426/0.1394, allocations: 74.91 kB / 0.907 GB, free: 15.76 MB / 0.8699 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009294/0.1403, allocations: 416.9 kB / 0.9074 GB, free: 15.43 MB / 0.8699 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001474/0.1405, allocations: 151.6 kB / 0.9076 GB, free: 15.28 MB / 0.8699 GB Notification: Performance of NFPackage.collectConstants: time 3.455e-05/0.1405, allocations: 31.94 kB / 0.9076 GB, free: 15.25 MB / 0.8699 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003295/0.1408, allocations: 263.6 kB / 0.9078 GB, free: 14.99 MB / 0.8699 GB Notification: Performance of NFScalarize.scalarize: time 6.615e-05/0.1409, allocations: 79.72 kB / 0.9079 GB, free: 14.91 MB / 0.8699 GB Notification: Performance of NFVerifyModel.verify: time 8.423e-05/0.141, allocations: 111.7 kB / 0.908 GB, free: 14.8 MB / 0.8699 GB Notification: Performance of NFConvertDAE.convert: time 0.0004441/0.1414, allocations: 446.4 kB / 0.9084 GB, free: 14.36 MB / 0.8699 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.1414, allocations: 0 / 0.9084 GB, free: 14.36 MB / 0.8699 GB Notification: Performance of FrontEnd: time 1.453e-06/0.1414, allocations: 0 / 0.9084 GB, free: 14.36 MB / 0.8699 GB Notification: Performance of Transformations before backend: time 5.591e-06/0.1415, allocations: 0 / 0.9084 GB, free: 14.36 MB / 0.8699 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.000843/0.1423, allocations: 0.6127 MB / 0.909 GB, free: 13.73 MB / 0.8699 GB Notification: Performance of prepare preOptimizeDAE: time 3.145e-05/0.1423, allocations: 8.031 kB / 0.909 GB, free: 13.72 MB / 0.8699 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001012/0.1433, allocations: 275.5 kB / 0.9093 GB, free: 13.45 MB / 0.8699 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002568/0.1436, allocations: 221.6 kB / 0.9095 GB, free: 13.21 MB / 0.8699 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.623e-05/0.1436, allocations: 20.66 kB / 0.9095 GB, free: 13.19 MB / 0.8699 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.832e-05/0.1437, allocations: 32 kB / 0.9096 GB, free: 13.16 MB / 0.8699 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004191/0.1441, allocations: 318.5 kB / 0.9099 GB, free: 12.84 MB / 0.8699 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.1441, allocations: 0 / 0.9099 GB, free: 12.84 MB / 0.8699 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.43e-05/0.1441, allocations: 8 kB / 0.9099 GB, free: 12.83 MB / 0.8699 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/0.1441, allocations: 8 kB / 0.9099 GB, free: 12.82 MB / 0.8699 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004143/0.1445, allocations: 183 kB / 0.9101 GB, free: 12.64 MB / 0.8699 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001094/0.1456, allocations: 0.6651 MB / 0.9107 GB, free: 11.96 MB / 0.8699 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000377/0.146, allocations: 209.2 kB / 0.9109 GB, free: 11.75 MB / 0.8699 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001008/0.1461, allocations: 80.81 kB / 0.911 GB, free: 11.66 MB / 0.8699 GB Notification: Performance of preOpt evalFunc (simulation): time 2.795e-05/0.1461, allocations: 4 kB / 0.911 GB, free: 11.66 MB / 0.8699 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.067e-05/0.1462, allocations: 38.5 kB / 0.911 GB, free: 11.61 MB / 0.8699 GB Notification: Performance of pre-optimization done (n=25): time 1.193e-06/0.1462, allocations: 0 / 0.911 GB, free: 11.61 MB / 0.8699 GB Notification: Performance of matching and sorting (n=25): time 0.003016/0.1492, allocations: 0.7344 MB / 0.9118 GB, free: 10.87 MB / 0.8699 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001633/0.1493, allocations: 51.41 kB / 0.9118 GB, free: 10.81 MB / 0.8699 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001254/0.1495, allocations: 217 kB / 0.912 GB, free: 10.59 MB / 0.8699 GB Notification: Performance of collectPreVariables (initialization): time 3.265e-05/0.1495, allocations: 33.7 kB / 0.912 GB, free: 10.55 MB / 0.8699 GB Notification: Performance of collectInitialEqns (initialization): time 6.913e-05/0.1496, allocations: 168.4 kB / 0.9122 GB, free: 10.38 MB / 0.8699 GB Notification: Performance of collectInitialBindings (initialization): time 5.048e-05/0.1496, allocations: 79.28 kB / 0.9123 GB, free: 10.3 MB / 0.8699 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.889e-05/0.1497, allocations: 77.89 kB / 0.9123 GB, free: 10.22 MB / 0.8699 GB Notification: Performance of setup shared object (initialization): time 8.624e-05/0.1498, allocations: 338.8 kB / 0.9127 GB, free: 9.879 MB / 0.8699 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.042e-05/0.1499, allocations: 52.52 kB / 0.9127 GB, free: 9.828 MB / 0.8699 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001382/0.15, allocations: 144.8 kB / 0.9129 GB, free: 9.66 MB / 0.8699 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002235/0.1503, allocations: 170.3 kB / 0.913 GB, free: 9.484 MB / 0.8699 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.1503, allocations: 0 / 0.913 GB, free: 9.484 MB / 0.8699 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001265/0.1515, allocations: 406.8 kB / 0.9134 GB, free: 9.074 MB / 0.8699 GB Notification: Performance of prepare postOptimizeDAE: time 1.13e-05/0.1515, allocations: 8.031 kB / 0.9134 GB, free: 9.066 MB / 0.8699 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.1515, allocations: 0 / 0.9134 GB, free: 9.066 MB / 0.8699 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009646/0.1525, allocations: 313.4 kB / 0.9137 GB, free: 8.754 MB / 0.8699 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001739/0.1527, allocations: 63.89 kB / 0.9138 GB, free: 8.691 MB / 0.8699 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00284/0.1555, allocations: 2.707 MB / 0.9164 GB, free: 5.809 MB / 0.8699 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001891/0.1557, allocations: 35.88 kB / 0.9165 GB, free: 5.773 MB / 0.8699 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.6e-05/0.1557, allocations: 15.97 kB / 0.9165 GB, free: 5.758 MB / 0.8699 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.0001053/0.1558, allocations: 124.6 kB / 0.9166 GB, free: 5.625 MB / 0.8699 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.327e-05/0.1559, allocations: 31.97 kB / 0.9166 GB, free: 5.594 MB / 0.8699 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001355/0.1572, allocations: 483.6 kB / 0.9171 GB, free: 5.105 MB / 0.8699 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.1572, allocations: 4 kB / 0.9171 GB, free: 5.102 MB / 0.8699 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.52e-07/0.1572, allocations: 0 / 0.9171 GB, free: 5.102 MB / 0.8699 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.1572, allocations: 4 kB / 0.9171 GB, free: 5.098 MB / 0.8699 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002157/0.1575, allocations: 197.8 kB / 0.9173 GB, free: 4.887 MB / 0.8699 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.1575, allocations: 3.938 kB / 0.9173 GB, free: 4.883 MB / 0.8699 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001354/0.1576, allocations: 47.91 kB / 0.9173 GB, free: 4.836 MB / 0.8699 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009234/0.1585, allocations: 321.3 kB / 0.9176 GB, free: 4.516 MB / 0.8699 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.6e-05/0.1586, allocations: 15.97 kB / 0.9176 GB, free: 4.5 MB / 0.8699 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002382/0.1609, allocations: 2.693 MB / 0.9203 GB, free: 1.637 MB / 0.8699 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.1609, allocations: 3.938 kB / 0.9203 GB, free: 1.633 MB / 0.8699 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001258/0.1622, allocations: 0.4892 MB / 0.9208 GB, free: 1.121 MB / 0.8699 GB Notification: Performance of postOpt removeConstants (simulation): time 1.892e-05/0.1622, allocations: 19.8 kB / 0.9208 GB, free: 1.102 MB / 0.8699 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.325e-05/0.1622, allocations: 11.94 kB / 0.9208 GB, free: 1.09 MB / 0.8699 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00017/0.1624, allocations: 23.98 kB / 0.9208 GB, free: 1.066 MB / 0.8699 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.952e-05/0.1625, allocations: 19.95 kB / 0.9208 GB, free: 1.047 MB / 0.8699 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.15e-05/0.1625, allocations: 15.97 kB / 0.9208 GB, free: 1.031 MB / 0.8699 GB Notification: Performance of sorting global known variables: time 5.006e-05/0.1625, allocations: 74.78 kB / 0.9209 GB, free: 0.957 MB / 0.8699 GB Notification: Performance of sort global known variables: time 4e-08/0.1625, allocations: 0 / 0.9209 GB, free: 0.957 MB / 0.8699 GB Notification: Performance of remove unused functions: time 0.0003738/0.1629, allocations: 127.7 kB / 0.921 GB, free: 0.832 MB / 0.8699 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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.000154/0.1631, allocations: 104.3 kB / 0.9211 GB, free: 0.7188 MB / 0.8699 GB Notification: Performance of simCode: created initialization part: time 0.0005072/0.1636, allocations: 447.9 kB / 0.9216 GB, free: 260 kB / 0.8699 GB Notification: Performance of simCode: created event and clocks part: time 5.571e-06/0.1636, allocations: 4 kB / 0.9216 GB, free: 256 kB / 0.8699 GB Notification: Performance of simCode: created simulation system equations: time 0.0003066/0.1639, allocations: 377.8 kB / 0.9219 GB, free: 15.85 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002703/0.1642, allocations: 90.77 kB / 0.922 GB, free: 15.77 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001156/0.1653, allocations: 0.5383 MB / 0.9225 GB, free: 15.21 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.565e-05/0.1654, allocations: 92.56 kB / 0.9226 GB, free: 15.1 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.000193/0.1656, allocations: 62.2 kB / 0.9227 GB, free: 15.04 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001967/0.1658, allocations: 115.3 kB / 0.9228 GB, free: 14.93 MB / 0.8855 GB Notification: Performance of SimCode: time 6.11e-07/0.1658, allocations: 3.938 kB / 0.9228 GB, free: 14.92 MB / 0.8855 GB Notification: Performance of Templates: time 0.01385/0.1796, allocations: 14.39 MB / 0.9369 GB, free: 0.6719 MB / 0.8855 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Comfort.Examples.Fanger.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; mkfifo Buildings_12_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Comfort.Examples.Fanger.pipe >> ../files/Buildings_12_Buildings.Utilities.Comfort.Examples.Fanger.sim & ./Buildings_12_Buildings.Utilities.Comfort.Examples.Fanger -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Comfort.Examples.Fanger.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Comfort.Examples.Fanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.3798207910731435]