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.0009448/0.0009448, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.0009056/0.0009056, allocations: 169 kB / 24.28 MB, free: 280 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.9615/0.9615, allocations: 177.1 MB / 204.6 MB, free: 5.621 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.74/1.74, allocations: 359 MB / 0.6055 GB, free: 11.01 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.192e-06/1.192e-06, allocations: 0 / 0.7871 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.509e-05/1.628e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.002293/0.00231, allocations: 2.298 MB / 0.7893 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.1248/0.1271, allocations: 147.6 MB / 0.9335 GB, free: 6.434 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001719/0.1273, allocations: 7.938 kB / 0.9335 GB, free: 6.426 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0001736/0.1274, allocations: 43.47 kB / 0.9335 GB, free: 6.383 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.0003081/0.1277, allocations: 115 kB / 0.9336 GB, free: 6.27 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004002/0.1281, allocations: 306.8 kB / 0.9339 GB, free: 5.969 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.0003015/0.1284, allocations: 443.5 kB / 0.9343 GB, free: 5.535 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001491/0.1286, allocations: 72.33 kB / 0.9344 GB, free: 5.469 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008888/0.1295, allocations: 419.5 kB / 0.9348 GB, free: 5.133 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001417/0.1296, allocations: 143.6 kB / 0.935 GB, free: 4.992 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 3.766e-05/0.1297, allocations: 32 kB / 0.935 GB, free: 4.961 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003047/0.13, allocations: 271.5 kB / 0.9352 GB, free: 4.695 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0001336/0.1301, allocations: 79.7 kB / 0.9353 GB, free: 4.617 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 8.942e-05/0.1302, allocations: 115.7 kB / 0.9354 GB, free: 4.504 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.0004203/0.1306, allocations: 446.4 kB / 0.9359 GB, free: 4.066 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.1306, allocations: 3.984 kB / 0.9359 GB, free: 4.062 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.152e-06/0.1306, allocations: 0 / 0.9359 GB, free: 4.062 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.1306, allocations: 4 kB / 0.9359 GB, free: 4.059 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.0008386/0.1315, allocations: 0.7218 MB / 0.9366 GB, free: 3.301 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.1315, allocations: 8.031 kB / 0.9366 GB, free: 3.293 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001181/0.1327, allocations: 295.3 kB / 0.9369 GB, free: 3.004 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002733/0.1329, allocations: 260.3 kB / 0.9371 GB, free: 2.723 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.8e-05/0.133, allocations: 20.66 kB / 0.9371 GB, free: 2.703 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.988e-05/0.133, allocations: 24 kB / 0.9371 GB, free: 2.68 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000524/0.1335, allocations: 346.5 kB / 0.9375 GB, free: 2.332 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.1335, allocations: 3.984 kB / 0.9375 GB, free: 2.328 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.953e-05/0.1336, allocations: 19.94 kB / 0.9375 GB, free: 2.309 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.716e-06/0.1336, allocations: 4 kB / 0.9375 GB, free: 2.305 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003786/0.134, allocations: 267.7 kB / 0.9378 GB, free: 2.043 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001325/0.1353, allocations: 0.9207 MB / 0.9387 GB, free: 1.086 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005878/0.1359, allocations: 263 kB / 0.9389 GB, free: 0.8164 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000205/0.1361, allocations: 114.9 kB / 0.939 GB, free: 0.7031 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 3.256e-05/0.1361, allocations: 4 kB / 0.939 GB, free: 0.6992 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.13e-05/0.1361, allocations: 41.39 kB / 0.9391 GB, free: 0.6484 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=25): time 1.823e-06/0.1361, allocations: 0 / 0.9391 GB, free: 0.6484 MB / 0.8855 GB Notification: Performance of matching and sorting (n=25): time 0.003753/0.1399, allocations: 0.8591 MB / 0.9399 GB, free: 15.77 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.056e-05/0.1399, allocations: 67.33 kB / 0.94 GB, free: 15.7 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00016/0.1401, allocations: 264.3 kB / 0.9402 GB, free: 15.43 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 3.025e-05/0.1401, allocations: 25.7 kB / 0.9402 GB, free: 15.39 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001029/0.1402, allocations: 243.5 kB / 0.9405 GB, free: 15.15 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 5.267e-05/0.1403, allocations: 83.3 kB / 0.9406 GB, free: 15.07 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001029/0.1404, allocations: 79.53 kB / 0.9406 GB, free: 14.98 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001143/0.1405, allocations: 0.504 MB / 0.9411 GB, free: 14.46 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001421/0.1406, allocations: 80.5 kB / 0.9412 GB, free: 14.38 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002137/0.1408, allocations: 265.7 kB / 0.9415 GB, free: 14.07 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00031/0.1411, allocations: 206.9 kB / 0.9416 GB, free: 13.86 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1411, allocations: 0 / 0.9416 GB, free: 13.86 MB / 0.9011 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.00162/0.1428, allocations: 0.5211 MB / 0.9422 GB, free: 13.32 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.1428, allocations: 4 kB / 0.9422 GB, free: 13.32 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.1428, allocations: 0 / 0.9422 GB, free: 13.32 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001136/0.1439, allocations: 335.1 kB / 0.9425 GB, free: 12.98 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001991/0.1441, allocations: 67.88 kB / 0.9425 GB, free: 12.91 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003539/0.1477, allocations: 3.922 MB / 0.9464 GB, free: 8.746 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002152/0.1479, allocations: 43.86 kB / 0.9464 GB, free: 8.703 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.543e-05/0.1479, allocations: 23.95 kB / 0.9464 GB, free: 8.68 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.0001301/0.148, allocations: 172.5 kB / 0.9466 GB, free: 8.5 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.41e-05/0.1481, allocations: 27.86 kB / 0.9466 GB, free: 8.473 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001666/0.1498, allocations: 0.5757 MB / 0.9472 GB, free: 7.887 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.1498, allocations: 4 kB / 0.9472 GB, free: 7.883 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-06/0.1498, allocations: 0 / 0.9472 GB, free: 7.883 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.1498, allocations: 3.938 kB / 0.9472 GB, free: 7.879 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002623/0.15, allocations: 284.1 kB / 0.9475 GB, free: 7.566 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.15, allocations: 0 / 0.9475 GB, free: 7.566 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000157/0.1502, allocations: 51.95 kB / 0.9475 GB, free: 7.516 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001035/0.1512, allocations: 335 kB / 0.9478 GB, free: 7.18 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.856e-05/0.1513, allocations: 15.97 kB / 0.9479 GB, free: 7.164 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003256/0.1545, allocations: 3.901 MB / 0.9517 GB, free: 3.02 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1545, allocations: 0 / 0.9517 GB, free: 3.02 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00165/0.1562, allocations: 0.6431 MB / 0.9523 GB, free: 2.348 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 2.117e-05/0.1562, allocations: 31.75 kB / 0.9523 GB, free: 2.316 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.829e-05/0.1562, allocations: 11.98 kB / 0.9523 GB, free: 2.305 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002021/0.1564, allocations: 19.92 kB / 0.9524 GB, free: 2.285 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.074e-05/0.1565, allocations: 23.97 kB / 0.9524 GB, free: 2.262 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.438e-05/0.1565, allocations: 19.97 kB / 0.9524 GB, free: 2.242 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 9.31e-05/0.1566, allocations: 193.1 kB / 0.9526 GB, free: 2.051 MB / 0.9011 GB Notification: Performance of sort global known variables: time 7e-08/0.1566, allocations: 0 / 0.9526 GB, free: 2.051 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0003842/0.157, allocations: 123.8 kB / 0.9527 GB, free: 1.93 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.0001676/0.1572, allocations: 123.1 kB / 0.9528 GB, free: 1.797 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0006896/0.1579, allocations: 0.6266 MB / 0.9534 GB, free: 1.133 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.1579, allocations: 0 / 0.9534 GB, free: 1.133 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0003853/0.1582, allocations: 0.5032 MB / 0.9539 GB, free: 0.5898 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003435/0.1586, allocations: 104.2 kB / 0.954 GB, free: 500 kB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001007/0.1596, allocations: 0.5299 MB / 0.9545 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.117e-05/0.1596, allocations: 88.62 kB / 0.9546 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0001968/0.1598, allocations: 66.2 kB / 0.9547 GB, free: 15.75 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.941e-05/0.1599, allocations: 32.48 kB / 0.9547 GB, free: 15.72 MB / 0.9167 GB Notification: Performance of SimCode: time 9.02e-07/0.1599, allocations: 0 / 0.9547 GB, free: 15.72 MB / 0.9167 GB Notification: Performance of Templates: time 0.01229/0.1722, allocations: 13.68 MB / 0.9681 GB, free: 2.137 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.326204472919926]