Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0009531/0.0009531, allocations: 91.56 kB / 20.46 MB, free: 4.133 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.0009262/0.0009262, allocations: 161 kB / 23.82 MB, free: 0.7695 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.9271/0.9271, allocations: 177.1 MB / 204.2 MB, free: 5.656 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.688/1.688, allocations: 359 MB / 0.6052 GB, free: 11.06 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Utilities.Comfort.Examples.Fanger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 0.787 GB, free: 12.58 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.319e-05/2.481e-05, allocations: 2.312 kB / 0.787 GB, free: 12.57 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.002568/0.002592, allocations: 2.306 MB / 0.7893 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.1221/0.1247, allocations: 147.9 MB / 0.9338 GB, free: 5.852 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002011/0.1249, allocations: 7.938 kB / 0.9338 GB, free: 5.844 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.000193/0.1251, allocations: 47.45 kB / 0.9338 GB, free: 5.797 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.0003559/0.1254, allocations: 107 kB / 0.9339 GB, free: 5.691 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006095/0.1261, allocations: 314.8 kB / 0.9342 GB, free: 5.383 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.0004036/0.1265, allocations: 439.5 kB / 0.9346 GB, free: 4.953 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001638/0.1266, allocations: 70.39 kB / 0.9347 GB, free: 4.891 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001113/0.1277, allocations: 435.9 kB / 0.9351 GB, free: 4.535 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001737/0.1279, allocations: 143.6 kB / 0.9353 GB, free: 4.395 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 4.38e-05/0.128, allocations: 32 kB / 0.9353 GB, free: 4.363 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007298/0.1287, allocations: 267.5 kB / 0.9355 GB, free: 4.102 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 8.57e-05/0.1288, allocations: 79.72 kB / 0.9356 GB, free: 4.023 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0001031/0.1289, allocations: 107.7 kB / 0.9357 GB, free: 3.918 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.0005869/0.1295, allocations: 446.4 kB / 0.9361 GB, free: 3.48 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.1295, allocations: 0 / 0.9361 GB, free: 3.48 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.793e-06/0.1295, allocations: 0 / 0.9361 GB, free: 3.48 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 7.775e-06/0.1295, allocations: 4 kB / 0.9361 GB, free: 3.477 MB / 0.8855 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.0009208/0.1304, allocations: 0.7335 MB / 0.9369 GB, free: 2.707 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.1304, allocations: 8.031 kB / 0.9369 GB, free: 2.699 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001209/0.1316, allocations: 291.3 kB / 0.9372 GB, free: 2.414 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000345/0.132, allocations: 256.4 kB / 0.9374 GB, free: 2.137 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.976e-05/0.132, allocations: 20.66 kB / 0.9374 GB, free: 2.117 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.971e-05/0.132, allocations: 24 kB / 0.9374 GB, free: 2.094 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005472/0.1326, allocations: 358.5 kB / 0.9378 GB, free: 1.734 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.1326, allocations: 0 / 0.9378 GB, free: 1.734 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.113e-05/0.1326, allocations: 12 kB / 0.9378 GB, free: 1.723 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.709e-06/0.1326, allocations: 4 kB / 0.9378 GB, free: 1.719 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000397/0.133, allocations: 267.7 kB / 0.9381 GB, free: 1.457 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001445/0.1345, allocations: 0.9168 MB / 0.9389 GB, free: 0.5039 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005326/0.135, allocations: 270.3 kB / 0.9392 GB, free: 236 kB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001597/0.1352, allocations: 107.6 kB / 0.9393 GB, free: 124 kB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 3.144e-05/0.1352, allocations: 11.98 kB / 0.9393 GB, free: 112 kB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.208e-05/0.1352, allocations: 37.39 kB / 0.9394 GB, free: 64 kB / 0.8855 GB Notification: Performance of pre-optimization done (n=25): time 2.124e-06/0.1352, allocations: 0 / 0.9394 GB, free: 64 kB / 0.8855 GB Notification: Performance of matching and sorting (n=25): time 0.00542/0.1407, allocations: 0.8631 MB / 0.9402 GB, free: 15.18 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.538e-05/0.1407, allocations: 59.28 kB / 0.9403 GB, free: 15.11 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002162/0.1409, allocations: 268.3 kB / 0.9405 GB, free: 14.84 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 4.04e-05/0.1409, allocations: 33.64 kB / 0.9405 GB, free: 14.8 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001263/0.1411, allocations: 227.3 kB / 0.9408 GB, free: 14.57 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 7.993e-05/0.1411, allocations: 91.59 kB / 0.9408 GB, free: 14.48 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001532/0.1413, allocations: 79.53 kB / 0.9409 GB, free: 14.39 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001645/0.1415, allocations: 0.5079 MB / 0.9414 GB, free: 13.87 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002208/0.1417, allocations: 80.5 kB / 0.9415 GB, free: 13.79 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002815/0.142, allocations: 194.9 kB / 0.9417 GB, free: 13.57 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004659/0.1424, allocations: 207 kB / 0.9419 GB, free: 13.36 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.1424, allocations: 0 / 0.9419 GB, free: 13.36 MB / 0.9011 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.002471/0.1449, allocations: 0.5133 MB / 0.9424 GB, free: 12.83 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.1449, allocations: 7.984 kB / 0.9424 GB, free: 12.82 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.1449, allocations: 8 kB / 0.9424 GB, free: 12.81 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00173/0.1467, allocations: 331 kB / 0.9427 GB, free: 12.48 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003176/0.147, allocations: 63.89 kB / 0.9428 GB, free: 12.42 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005307/0.1523, allocations: 3.93 MB / 0.9466 GB, free: 8.242 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003694/0.1527, allocations: 39.83 kB / 0.9466 GB, free: 8.203 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.752e-05/0.1527, allocations: 15.97 kB / 0.9467 GB, free: 8.188 MB / 0.9011 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.0001724/0.1529, allocations: 176.5 kB / 0.9468 GB, free: 8.004 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001038/0.153, allocations: 27.86 kB / 0.9469 GB, free: 7.977 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002562/0.1555, allocations: 0.5756 MB / 0.9474 GB, free: 7.391 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.1556, allocations: 7.984 kB / 0.9474 GB, free: 7.383 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.464e-06/0.1556, allocations: 0 / 0.9474 GB, free: 7.383 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.525e-06/0.1556, allocations: 7.938 kB / 0.9474 GB, free: 7.375 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004337/0.156, allocations: 284.2 kB / 0.9477 GB, free: 7.062 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/0.156, allocations: 0 / 0.9477 GB, free: 7.062 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00024/0.1562, allocations: 39.97 kB / 0.9477 GB, free: 7.023 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001545/0.1578, allocations: 346.9 kB / 0.9481 GB, free: 6.676 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.15e-05/0.1578, allocations: 11.98 kB / 0.9481 GB, free: 6.664 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003593/0.1614, allocations: 3.913 MB / 0.9519 GB, free: 2.508 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.1614, allocations: 0 / 0.9519 GB, free: 2.508 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001614/0.163, allocations: 0.6353 MB / 0.9525 GB, free: 1.844 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 3.206e-05/0.1631, allocations: 27.75 kB / 0.9526 GB, free: 1.816 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.141e-05/0.1631, allocations: 4 kB / 0.9526 GB, free: 1.812 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002066/0.1633, allocations: 31.92 kB / 0.9526 GB, free: 1.781 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.307e-05/0.1634, allocations: 19.95 kB / 0.9526 GB, free: 1.762 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.538e-05/0.1634, allocations: 19.97 kB / 0.9526 GB, free: 1.742 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0001053/0.1635, allocations: 193.1 kB / 0.9528 GB, free: 1.551 MB / 0.9011 GB Notification: Performance of sort global known variables: time 7e-08/0.1635, allocations: 0 / 0.9528 GB, free: 1.551 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0004399/0.1639, allocations: 119.8 kB / 0.9529 GB, free: 1.434 MB / 0.9011 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.0001781/0.1641, allocations: 127.1 kB / 0.953 GB, free: 1.297 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0007155/0.1648, allocations: 0.6227 MB / 0.9537 GB, free: 0.6367 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1648, allocations: 0 / 0.9537 GB, free: 0.6367 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0003997/0.1652, allocations: 0.4992 MB / 0.9541 GB, free: 100 kB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003693/0.1656, allocations: 102.6 kB / 0.9542 GB, free: 16 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001068/0.1667, allocations: 0.5359 MB / 0.9548 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.644e-05/0.1667, allocations: 88.62 kB / 0.9548 GB, free: 15.33 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0002084/0.1669, allocations: 70.19 kB / 0.9549 GB, free: 15.26 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001001/0.167, allocations: 32.48 kB / 0.9549 GB, free: 15.23 MB / 0.9167 GB Notification: Performance of SimCode: time 8.71e-07/0.167, allocations: 0 / 0.9549 GB, free: 15.23 MB / 0.9167 GB Notification: Performance of Templates: time 0.0144/0.1814, allocations: 14.4 MB / 0.969 GB, free: 0.9258 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Comfort.Examples.Fanger.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; mkfifo Buildings_11_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Comfort.Examples.Fanger.pipe >> ../files/Buildings_11_Buildings.Utilities.Comfort.Examples.Fanger.sim & ./Buildings_11_Buildings.Utilities.Comfort.Examples.Fanger -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Comfort.Examples.Fanger.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Comfort.Examples.Fanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.154016117099673]