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.001254/0.001254, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.001088/0.001088, allocations: 181 kB / 24.09 MB, free: 420 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.9599/0.9599, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.78/1.78, allocations: 359 MB / 0.6055 GB, free: 10.88 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 2.044e-06/2.044e-06, allocations: 0 / 0.7875 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.884e-05/3.089e-05, allocations: 2.312 kB / 0.7875 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.002982/0.003013, allocations: 2.284 MB / 0.7897 GB, free: 9.949 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.1261/0.1291, allocations: 145.2 MB / 0.9315 GB, free: 8.297 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002217/0.1293, allocations: 7.938 kB / 0.9315 GB, free: 8.289 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0001831/0.1295, allocations: 51.45 kB / 0.9315 GB, free: 8.238 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.0003475/0.1298, allocations: 103.1 kB / 0.9316 GB, free: 8.137 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006648/0.1305, allocations: 306.8 kB / 0.9319 GB, free: 7.836 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.0004839/0.131, allocations: 447.4 kB / 0.9324 GB, free: 7.398 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001729/0.1312, allocations: 70.03 kB / 0.9324 GB, free: 7.336 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001153/0.1323, allocations: 412.3 kB / 0.9328 GB, free: 7.008 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001762/0.1325, allocations: 151.5 kB / 0.933 GB, free: 6.859 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 4.152e-05/0.1325, allocations: 28 kB / 0.933 GB, free: 6.832 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004807/0.133, allocations: 271.4 kB / 0.9333 GB, free: 6.566 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 8.314e-05/0.1331, allocations: 75.73 kB / 0.9333 GB, free: 6.492 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0001064/0.1332, allocations: 123.7 kB / 0.9334 GB, free: 6.371 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.0006411/0.1338, allocations: 446.4 kB / 0.9339 GB, free: 5.934 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.1338, allocations: 0 / 0.9339 GB, free: 5.934 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.182e-06/0.1339, allocations: 0 / 0.9339 GB, free: 5.934 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.1339, allocations: 0 / 0.9339 GB, free: 5.934 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.0009202/0.1348, allocations: 0.7257 MB / 0.9346 GB, free: 5.172 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.1348, allocations: 12.03 kB / 0.9346 GB, free: 5.16 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001179/0.136, allocations: 291.3 kB / 0.9349 GB, free: 4.875 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003196/0.1363, allocations: 260.4 kB / 0.9351 GB, free: 4.594 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.1363, allocations: 16.66 kB / 0.9351 GB, free: 4.578 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.189e-05/0.1364, allocations: 35.94 kB / 0.9352 GB, free: 4.543 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004874/0.1369, allocations: 310.5 kB / 0.9355 GB, free: 4.227 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.926e-06/0.1369, allocations: 4 kB / 0.9355 GB, free: 4.223 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.72e-05/0.1369, allocations: 8 kB / 0.9355 GB, free: 4.215 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/0.1369, allocations: 8 kB / 0.9355 GB, free: 4.207 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002839/0.1372, allocations: 211 kB / 0.9357 GB, free: 4 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001325/0.1385, allocations: 0.8707 MB / 0.9365 GB, free: 3.102 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004494/0.139, allocations: 250.6 kB / 0.9368 GB, free: 2.848 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001148/0.1391, allocations: 91.61 kB / 0.9369 GB, free: 2.754 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 3.235e-05/0.1391, allocations: 7.984 kB / 0.9369 GB, free: 2.746 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.137e-05/0.1391, allocations: 37.39 kB / 0.9369 GB, free: 2.699 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=25): time 1.252e-06/0.1391, allocations: 0 / 0.9369 GB, free: 2.699 MB / 0.8855 GB Notification: Performance of matching and sorting (n=25): time 0.003464/0.1426, allocations: 0.8239 MB / 0.9377 GB, free: 1.859 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.891e-05/0.1426, allocations: 63.34 kB / 0.9378 GB, free: 1.785 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001408/0.1428, allocations: 256.2 kB / 0.938 GB, free: 1.52 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.149e-05/0.1428, allocations: 37.7 kB / 0.9381 GB, free: 1.477 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001031/0.1429, allocations: 227.2 kB / 0.9383 GB, free: 1.246 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 5.693e-05/0.143, allocations: 87.22 kB / 0.9384 GB, free: 1.16 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001082/0.1431, allocations: 91.48 kB / 0.9384 GB, free: 1.059 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001173/0.1432, allocations: 0.5001 MB / 0.9389 GB, free: 0.5469 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001102/0.1433, allocations: 68.48 kB / 0.939 GB, free: 492 kB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001656/0.1435, allocations: 175.4 kB / 0.9392 GB, free: 284 kB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002463/0.1437, allocations: 174.9 kB / 0.9393 GB, free: 96 kB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1437, allocations: 0 / 0.9393 GB, free: 96 kB / 0.8855 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001506/0.1452, allocations: 0.4937 MB / 0.9398 GB, free: 15.59 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.1452, allocations: 8 kB / 0.9398 GB, free: 15.58 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.1452, allocations: 0 / 0.9398 GB, free: 15.58 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001085/0.1463, allocations: 335 kB / 0.9401 GB, free: 15.24 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002068/0.1465, allocations: 59.89 kB / 0.9402 GB, free: 15.18 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003483/0.15, allocations: 3.887 MB / 0.944 GB, free: 11.07 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002576/0.1503, allocations: 39.86 kB / 0.944 GB, free: 11.03 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.094e-05/0.1503, allocations: 23.95 kB / 0.944 GB, free: 11 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.0001383/0.1504, allocations: 164.6 kB / 0.9442 GB, free: 10.83 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.483e-05/0.1505, allocations: 39.73 kB / 0.9442 GB, free: 10.79 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001578/0.1521, allocations: 0.5328 MB / 0.9448 GB, free: 10.25 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.1521, allocations: 4 kB / 0.9448 GB, free: 10.25 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.1521, allocations: 0 / 0.9448 GB, free: 10.25 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.1521, allocations: 3.984 kB / 0.9448 GB, free: 10.24 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002937/0.1524, allocations: 240.7 kB / 0.945 GB, free: 9.98 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.1524, allocations: 0 / 0.945 GB, free: 9.98 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001701/0.1526, allocations: 55.89 kB / 0.9451 GB, free: 9.926 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00103/0.1536, allocations: 331 kB / 0.9454 GB, free: 9.594 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.923e-05/0.1536, allocations: 15.97 kB / 0.9454 GB, free: 9.578 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003164/0.1568, allocations: 3.863 MB / 0.9492 GB, free: 5.484 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1568, allocations: 0 / 0.9492 GB, free: 5.484 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001546/0.1583, allocations: 0.6081 MB / 0.9498 GB, free: 4.848 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 3.666e-05/0.1584, allocations: 31.73 kB / 0.9498 GB, free: 4.816 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.71e-05/0.1584, allocations: 8 kB / 0.9498 GB, free: 4.809 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001966/0.1586, allocations: 19.98 kB / 0.9498 GB, free: 4.789 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.637e-05/0.1587, allocations: 19.97 kB / 0.9498 GB, free: 4.77 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.367e-05/0.1587, allocations: 19.91 kB / 0.9498 GB, free: 4.75 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 8.92e-05/0.1588, allocations: 189.1 kB / 0.95 GB, free: 4.566 MB / 0.9011 GB Notification: Performance of sort global known variables: time 8e-08/0.1588, allocations: 0 / 0.95 GB, free: 4.566 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0004534/0.1592, allocations: 123.8 kB / 0.9501 GB, free: 4.445 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.0001763/0.1594, allocations: 119.1 kB / 0.9503 GB, free: 4.316 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0006569/0.1601, allocations: 0.591 MB / 0.9508 GB, free: 3.688 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1601, allocations: 0 / 0.9508 GB, free: 3.688 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0003806/0.1605, allocations: 0.4914 MB / 0.9513 GB, free: 3.156 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000358/0.1608, allocations: 96.28 kB / 0.9514 GB, free: 3.062 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001024/0.1618, allocations: 0.5287 MB / 0.9519 GB, free: 2.508 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.829e-05/0.1619, allocations: 92.61 kB / 0.952 GB, free: 2.395 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0002128/0.1621, allocations: 62.2 kB / 0.9521 GB, free: 2.336 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002107/0.1623, allocations: 146.1 kB / 0.9522 GB, free: 2.191 MB / 0.9011 GB Notification: Performance of SimCode: time 7.62e-07/0.1623, allocations: 0 / 0.9522 GB, free: 2.191 MB / 0.9011 GB Notification: Performance of Templates: time 0.0152/0.1775, allocations: 14.52 MB / 0.9664 GB, free: 3.809 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.241099590901285]