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.0007492/0.0007492, allocations: 80.3 kB / 21.47 MB, free: 3.027 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.0009503/0.0009503, allocations: 170.6 kB / 24.87 MB, free: 8.758 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.9496/0.9496, allocations: 177.1 MB / 205.3 MB, free: 5.504 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.769/1.769, allocations: 359 MB / 0.6063 GB, free: 10.84 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.362e-06/1.362e-06, allocations: 0 / 0.7883 GB, free: 12.26 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.328e-05/2.465e-05, allocations: 2.312 kB / 0.7883 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.002739/0.002763, allocations: 2.287 MB / 0.7905 GB, free: 9.969 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.1209/0.1236, allocations: 145.2 MB / 0.9322 GB, free: 8.324 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001953/0.1238, allocations: 7.938 kB / 0.9322 GB, free: 8.316 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0001792/0.124, allocations: 55.45 kB / 0.9323 GB, free: 8.262 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.0003219/0.1243, allocations: 107 kB / 0.9324 GB, free: 8.156 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006271/0.125, allocations: 310.8 kB / 0.9327 GB, free: 7.852 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.000411/0.1254, allocations: 439.5 kB / 0.9331 GB, free: 7.422 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001667/0.1255, allocations: 66.03 kB / 0.9332 GB, free: 7.363 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001062/0.1266, allocations: 428.4 kB / 0.9336 GB, free: 7.02 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001659/0.1268, allocations: 147.6 kB / 0.9337 GB, free: 6.875 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 3.902e-05/0.1268, allocations: 35.94 kB / 0.9338 GB, free: 6.84 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004261/0.1272, allocations: 267.5 kB / 0.934 GB, free: 6.578 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 7.473e-05/0.1273, allocations: 75.73 kB / 0.9341 GB, free: 6.504 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 9.065e-05/0.1274, allocations: 115.7 kB / 0.9342 GB, free: 6.391 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.0005327/0.1279, allocations: 446.4 kB / 0.9346 GB, free: 5.953 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.1279, allocations: 0 / 0.9346 GB, free: 5.953 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.302e-06/0.1279, allocations: 0 / 0.9346 GB, free: 5.953 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 5.07e-06/0.1279, allocations: 0 / 0.9346 GB, free: 5.953 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.0009016/0.1288, allocations: 0.7335 MB / 0.9353 GB, free: 5.184 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.249e-05/0.1289, allocations: 8.031 kB / 0.9354 GB, free: 5.176 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001239/0.1301, allocations: 291.3 kB / 0.9356 GB, free: 4.891 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000314/0.1304, allocations: 264.3 kB / 0.9359 GB, free: 4.605 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.827e-05/0.1304, allocations: 16.66 kB / 0.9359 GB, free: 4.59 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.103e-05/0.1305, allocations: 28 kB / 0.9359 GB, free: 4.562 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004962/0.131, allocations: 318.5 kB / 0.9362 GB, free: 4.242 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.131, allocations: 0 / 0.9362 GB, free: 4.242 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.204e-05/0.131, allocations: 12 kB / 0.9362 GB, free: 4.23 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.146e-06/0.131, allocations: 8 kB / 0.9362 GB, free: 4.223 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002981/0.1313, allocations: 218.9 kB / 0.9365 GB, free: 4.008 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001374/0.1327, allocations: 0.8745 MB / 0.9373 GB, free: 3.105 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004915/0.1332, allocations: 242.9 kB / 0.9375 GB, free: 2.855 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001258/0.1333, allocations: 87.62 kB / 0.9376 GB, free: 2.766 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.964e-05/0.1333, allocations: 4 kB / 0.9376 GB, free: 2.762 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.359e-05/0.1334, allocations: 41.39 kB / 0.9377 GB, free: 2.711 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=25): time 2.034e-06/0.1334, allocations: 0 / 0.9377 GB, free: 2.711 MB / 0.8855 GB Notification: Performance of matching and sorting (n=25): time 0.003783/0.1372, allocations: 0.8204 MB / 0.9385 GB, free: 1.875 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.925e-05/0.1372, allocations: 59.34 kB / 0.9385 GB, free: 1.805 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002348/0.1374, allocations: 260.2 kB / 0.9388 GB, free: 1.539 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.595e-05/0.1375, allocations: 33.7 kB / 0.9388 GB, free: 1.5 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 9.933e-05/0.1376, allocations: 227.2 kB / 0.939 GB, free: 1.27 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 6.091e-05/0.1376, allocations: 87.22 kB / 0.9391 GB, free: 1.184 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000108/0.1377, allocations: 91.42 kB / 0.9392 GB, free: 1.082 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.1378, allocations: 0.5078 MB / 0.9397 GB, free: 0.5625 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001221/0.138, allocations: 72.48 kB / 0.9398 GB, free: 0.4922 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001646/0.1381, allocations: 166.9 kB / 0.9399 GB, free: 304 kB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002613/0.1384, allocations: 175 kB / 0.9401 GB, free: 116 kB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.1384, allocations: 0 / 0.9401 GB, free: 116 kB / 0.8855 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001764/0.1402, allocations: 0.4897 MB / 0.9406 GB, free: 15.61 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.1402, allocations: 4 kB / 0.9406 GB, free: 15.61 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.1402, allocations: 4 kB / 0.9406 GB, free: 15.6 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001166/0.1413, allocations: 331 kB / 0.9409 GB, free: 15.27 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002165/0.1416, allocations: 63.89 kB / 0.9409 GB, free: 15.21 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003768/0.1453, allocations: 3.872 MB / 0.9447 GB, free: 11.11 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000261/0.1456, allocations: 47.89 kB / 0.9448 GB, free: 11.06 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.074e-05/0.1456, allocations: 19.95 kB / 0.9448 GB, free: 11.04 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.0001354/0.1458, allocations: 168.5 kB / 0.945 GB, free: 10.86 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.539e-05/0.1458, allocations: 35.8 kB / 0.945 GB, free: 10.83 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001682/0.1475, allocations: 0.5366 MB / 0.9455 GB, free: 10.28 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.1475, allocations: 4 kB / 0.9455 GB, free: 10.28 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.424e-06/0.1475, allocations: 3.938 kB / 0.9455 GB, free: 10.27 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.1475, allocations: 3.984 kB / 0.9455 GB, free: 10.27 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002876/0.1478, allocations: 248.7 kB / 0.9458 GB, free: 10 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1478, allocations: 0 / 0.9458 GB, free: 10 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001676/0.148, allocations: 43.95 kB / 0.9458 GB, free: 9.957 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001103/0.1491, allocations: 335 kB / 0.9461 GB, free: 9.621 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.114e-05/0.1491, allocations: 19.97 kB / 0.9461 GB, free: 9.602 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003437/0.1526, allocations: 3.855 MB / 0.9499 GB, free: 5.516 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1526, allocations: 8 kB / 0.9499 GB, free: 5.508 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001678/0.1542, allocations: 0.6001 MB / 0.9505 GB, free: 4.879 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 3.842e-05/0.1543, allocations: 31.73 kB / 0.9505 GB, free: 4.848 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.217e-05/0.1543, allocations: 8 kB / 0.9505 GB, free: 4.84 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000218/0.1545, allocations: 27.98 kB / 0.9506 GB, free: 4.812 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.004e-05/0.1546, allocations: 19.91 kB / 0.9506 GB, free: 4.793 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.646e-05/0.1546, allocations: 15.97 kB / 0.9506 GB, free: 4.777 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 8.758e-05/0.1547, allocations: 189.1 kB / 0.9508 GB, free: 4.59 MB / 0.9011 GB Notification: Performance of sort global known variables: time 5e-08/0.1547, allocations: 0 / 0.9508 GB, free: 4.59 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.000623/0.1553, allocations: 119.8 kB / 0.9509 GB, free: 4.473 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.000184/0.1555, allocations: 123.2 kB / 0.951 GB, free: 4.34 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0006816/0.1562, allocations: 0.5914 MB / 0.9516 GB, free: 3.711 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 3.287e-06/0.1562, allocations: 8.125 kB / 0.9516 GB, free: 3.703 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0003841/0.1566, allocations: 495.1 kB / 0.9521 GB, free: 3.18 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003691/0.1569, allocations: 98.38 kB / 0.9522 GB, free: 3.086 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001026/0.158, allocations: 0.5259 MB / 0.9527 GB, free: 2.527 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.859e-05/0.158, allocations: 92.56 kB / 0.9528 GB, free: 2.418 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0002208/0.1583, allocations: 62.2 kB / 0.9528 GB, free: 2.359 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002108/0.1585, allocations: 142.1 kB / 0.953 GB, free: 2.219 MB / 0.9011 GB Notification: Performance of SimCode: time 7.62e-07/0.1585, allocations: 0 / 0.953 GB, free: 2.219 MB / 0.9011 GB Notification: Performance of Templates: time 0.01503/0.1735, allocations: 14.72 MB / 0.9673 GB, free: 3.602 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.485091212205589]