Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.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.001072/0.001072, allocations: 82.64 kB / 20.68 MB, free: 3.812 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.001187/0.001187, allocations: 185 kB / 24.09 MB, free: 412 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.9584/0.9584, allocations: 177.1 MB / 204.5 MB, free: 5.48 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.828/1.828, allocations: 359 MB / 0.6055 GB, free: 10.86 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.Examples.Tutorial.SimpleHouse.SimpleHouse3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|zon.T",fileNamePrefix="Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|zon.T",fileNamePrefix="Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 0.7876 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.182e-05/3.378e-05, allocations: 2.312 kB / 0.7876 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3): time 0.14/0.14, allocations: 147.7 MB / 0.9318 GB, free: 7.961 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.00999/0.15, allocations: 7.355 MB / 0.939 GB, free: 0.5859 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001427/0.1514, allocations: 47.62 kB / 0.9391 GB, free: 0.5391 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0009802/0.1524, allocations: 345.1 kB / 0.9394 GB, free: 204 kB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.002978/0.1554, allocations: 1.223 MB / 0.9406 GB, free: 14.97 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.002308/0.1577, allocations: 1.176 MB / 0.9417 GB, free: 13.79 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.002823/0.1605, allocations: 2.456 MB / 0.9441 GB, free: 11.33 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001345/0.1619, allocations: 1.019 MB / 0.9451 GB, free: 10.29 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00226/0.1641, allocations: 1.34 MB / 0.9464 GB, free: 8.957 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008921/0.165, allocations: 0.6309 MB / 0.9471 GB, free: 8.324 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.0002254/0.1652, allocations: 144 kB / 0.9472 GB, free: 8.184 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001336/0.1666, allocations: 0.7602 MB / 0.9479 GB, free: 7.422 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.0003001/0.1669, allocations: 446.5 kB / 0.9484 GB, free: 6.984 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.0004968/0.1674, allocations: 0.526 MB / 0.9489 GB, free: 6.457 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.002303/0.1697, allocations: 1.716 MB / 0.9505 GB, free: 4.734 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1697, allocations: 7.938 kB / 0.9506 GB, free: 4.727 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.002e-06/0.1697, allocations: 0 / 0.9506 GB, free: 4.727 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 2.453e-05/0.1697, allocations: 0 / 0.9506 GB, free: 4.727 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 284 * Number of variables: 284 Notification: Performance of Generate backend data structure: time 0.002253/0.172, allocations: 1.956 MB / 0.9525 GB, free: 2.719 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.172, allocations: 12.03 kB / 0.9525 GB, free: 2.707 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00132/0.1733, allocations: 495 kB / 0.9529 GB, free: 2.223 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001117/0.1744, allocations: 0.9557 MB / 0.9539 GB, free: 1.23 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.017e-05/0.1745, allocations: 86.23 kB / 0.954 GB, free: 1.145 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001107/0.1746, allocations: 128 kB / 0.9541 GB, free: 1.02 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001024/0.1756, allocations: 1.145 MB / 0.9552 GB, free: 15.72 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.425e-05/0.1756, allocations: 7.922 kB / 0.9552 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.082e-05/0.1757, allocations: 44 kB / 0.9553 GB, free: 15.67 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.91e-05/0.1757, allocations: 46.16 kB / 0.9553 GB, free: 15.62 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007605/0.1765, allocations: 0.7644 MB / 0.956 GB, free: 14.84 MB / 0.9167 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003197/0.1797, allocations: 2.84 MB / 0.9588 GB, free: 11.93 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007091/0.1804, allocations: 0.5824 MB / 0.9594 GB, free: 11.35 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002066/0.1806, allocations: 199.6 kB / 0.9596 GB, free: 11.15 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 7e-05/0.1807, allocations: 56.77 kB / 0.9596 GB, free: 11.09 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004914/0.1812, allocations: 0.6264 MB / 0.9602 GB, free: 10.39 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=110): time 2.776e-06/0.1812, allocations: 4 kB / 0.9602 GB, free: 10.39 MB / 0.9167 GB Notification: Performance of matching and sorting (n=110): time 0.001481/0.1827, allocations: 0.9131 MB / 0.9611 GB, free: 9.469 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.321e-05/0.1827, allocations: 196.9 kB / 0.9613 GB, free: 9.234 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005301/0.1833, allocations: 0.7449 MB / 0.9621 GB, free: 8.473 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 5.987e-05/0.1833, allocations: 57.7 kB / 0.9621 GB, free: 8.41 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003218/0.1836, allocations: 0.5859 MB / 0.9627 GB, free: 7.816 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002085/0.1839, allocations: 376.7 kB / 0.963 GB, free: 7.445 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002083/0.1841, allocations: 228.4 kB / 0.9633 GB, free: 7.215 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.1842, allocations: 0.5237 MB / 0.9638 GB, free: 6.684 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001782/0.1844, allocations: 138.5 kB / 0.9639 GB, free: 6.547 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000498/0.1849, allocations: 447.2 kB / 0.9643 GB, free: 6.031 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004812/0.1854, allocations: 482 kB / 0.9648 GB, free: 5.523 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.1854, allocations: 0 / 0.9648 GB, free: 5.523 MB / 0.9167 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.0009849/0.1864, allocations: 0.7771 MB / 0.9655 GB, free: 4.734 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.1864, allocations: 8 kB / 0.9656 GB, free: 4.727 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.617e-06/0.1864, allocations: 3.938 kB / 0.9656 GB, free: 4.723 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004023/0.1868, allocations: 139.6 kB / 0.9657 GB, free: 4.582 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004611/0.1872, allocations: 231.7 kB / 0.9659 GB, free: 4.355 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001334/0.1886, allocations: 1.874 MB / 0.9677 GB, free: 2.355 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004787/0.1891, allocations: 103.4 kB / 0.9678 GB, free: 2.254 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.254e-05/0.1891, allocations: 39.97 kB / 0.9679 GB, free: 2.215 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 27 (weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile,weaDat.decAng.k,$PRE.weaDat.decAng.k,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.k,$PRE.weaDat.eqnTim.k,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.k,$PRE.weaDat.conTim.k,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.k,$PRE.weaDat.conTimMin.k,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.k,$PRE.weaDat.locTim.k,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (137): * Single equations (assignments): 136 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002728/0.1894, allocations: 227 kB / 0.9681 GB, free: 1.98 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000154/0.1895, allocations: 159.2 kB / 0.9682 GB, free: 1.824 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001094/0.1906, allocations: 0.9 MB / 0.9691 GB, free: 0.9141 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.515e-06/0.1906, allocations: 12 kB / 0.9691 GB, free: 0.9023 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.1906, allocations: 4 kB / 0.9691 GB, free: 0.8984 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.638e-06/0.1907, allocations: 7.922 kB / 0.9691 GB, free: 0.8906 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002036/0.1927, allocations: 1.722 MB / 0.9708 GB, free: 15.11 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.1927, allocations: 0 / 0.9708 GB, free: 15.11 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006016/0.1933, allocations: 211.7 kB / 0.971 GB, free: 14.91 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003196/0.1936, allocations: 115.6 kB / 0.9711 GB, free: 14.79 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.025e-05/0.1937, allocations: 35.92 kB / 0.9712 GB, free: 14.75 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001066/0.1947, allocations: 1.895 MB / 0.973 GB, free: 12.74 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1947, allocations: 0 / 0.973 GB, free: 12.74 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001234/0.196, allocations: 1.11 MB / 0.9741 GB, free: 11.61 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003228/0.1963, allocations: 238.9 kB / 0.9743 GB, free: 11.38 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.952e-05/0.1964, allocations: 35.94 kB / 0.9744 GB, free: 11.34 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003216/0.1967, allocations: 43.97 kB / 0.9744 GB, free: 11.3 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001187/0.1968, allocations: 84.83 kB / 0.9745 GB, free: 11.21 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.442e-05/0.1969, allocations: 35.92 kB / 0.9745 GB, free: 11.18 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0003495/0.1972, allocations: 462.7 kB / 0.975 GB, free: 10.73 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.9e-07/0.1972, allocations: 0 / 0.975 GB, free: 10.73 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0009904/0.1982, allocations: 450.9 kB / 0.9754 GB, free: 10.29 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (walCap.T,zon.dynBal.medium.Xi[1],zon.dynBal.U,zon.dynBal.m) * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.locTim.k,weaDat.conTimMin.tNext,weaDat.conTimMin.k,weaDat.conTim.tNext,weaDat.conTim.k,weaDat.eqnTim.tNext,weaDat.eqnTim.k,weaDat.decAng.tNext,weaDat.decAng.k) * Number of discrete states: 10 (weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.locTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext,weaDat.decAng.k,weaDat.eqnTim.k,weaDat.conTim.k,weaDat.conTimMin.k,weaDat.locTim.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (121): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001481/0.1997, allocations: 0.6451 MB / 0.976 GB, free: 9.82 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.00101/0.2007, allocations: 0.7086 MB / 0.9767 GB, free: 9.094 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 4.097e-06/0.2007, allocations: 4 kB / 0.9767 GB, free: 9.09 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0004925/0.2012, allocations: 0.4969 MB / 0.9772 GB, free: 8.57 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00115/0.2023, allocations: 0.5036 MB / 0.9777 GB, free: 8.086 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003378/0.2057, allocations: 2.157 MB / 0.9798 GB, free: 5.887 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000191/0.2059, allocations: 252.9 kB / 0.9801 GB, free: 5.609 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0006497/0.2066, allocations: 241.4 kB / 0.9803 GB, free: 5.371 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000817/0.2074, allocations: 0.4939 MB / 0.9808 GB, free: 4.875 MB / 0.9323 GB Notification: Performance of SimCode: time 1.924e-06/0.2074, allocations: 0 / 0.9808 GB, free: 4.875 MB / 0.9323 GB Notification: Performance of Templates: time 0.02962/0.237, allocations: 23.74 MB / 1.004 GB, free: 13.62 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; mkfifo Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe >> ../files/Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.sim & ./Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse3.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.890975229907781]