Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001288/0.001288, 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.001384/0.001384, 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.9407/0.9407, allocations: 177.1 MB / 204.2 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.953/1.953, allocations: 377.9 MB / 0.6236 GB, free: 8.52 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|zon.T",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 0.8115 GB, free: 1.719 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.122e-05/3.333e-05, allocations: 4.422 kB / 0.8115 GB, free: 1.715 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3): time 0.1354/0.1354, allocations: 150.7 MB / 0.9587 GB, free: 10.57 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.0102/0.1456, allocations: 7.427 MB / 0.9659 GB, free: 3.113 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001369/0.147, allocations: 43.69 kB / 0.966 GB, free: 3.07 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0009404/0.1479, allocations: 341.1 kB / 0.9663 GB, free: 2.734 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.002795/0.1507, allocations: 1.223 MB / 0.9675 GB, free: 1.504 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.002203/0.1529, allocations: 1.184 MB / 0.9686 GB, free: 324 kB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.002489/0.1554, allocations: 2.456 MB / 0.971 GB, free: 13.85 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001613/0.157, allocations: 1.019 MB / 0.972 GB, free: 12.81 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002148/0.1592, allocations: 1.367 MB / 0.9734 GB, free: 11.46 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000836/0.16, allocations: 0.6387 MB / 0.974 GB, free: 10.82 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.0002171/0.1602, allocations: 144 kB / 0.9741 GB, free: 10.68 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001294/0.1615, allocations: 0.7602 MB / 0.9749 GB, free: 9.918 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.0002784/0.1618, allocations: 442.5 kB / 0.9753 GB, free: 9.484 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.0004964/0.1623, allocations: 0.526 MB / 0.9758 GB, free: 8.957 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.002194/0.1645, allocations: 1.705 MB / 0.9775 GB, free: 7.246 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.1645, allocations: 3.984 kB / 0.9775 GB, free: 7.242 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.333e-06/0.1645, allocations: 0 / 0.9775 GB, free: 7.242 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.579e-05/0.1645, allocations: 0 / 0.9775 GB, free: 7.242 MB / 0.9323 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.002492/0.167, allocations: 1.964 MB / 0.9794 GB, free: 5.227 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.1671, allocations: 8.031 kB / 0.9794 GB, free: 5.219 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001375/0.1684, allocations: 491 kB / 0.9799 GB, free: 4.738 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001139/0.1696, allocations: 0.9752 MB / 0.9808 GB, free: 3.727 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.913e-05/0.1696, allocations: 86.22 kB / 0.9809 GB, free: 3.641 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001152/0.1697, allocations: 124 kB / 0.981 GB, free: 3.52 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001345/0.1711, allocations: 1.216 MB / 0.9822 GB, free: 2.152 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.424e-05/0.1711, allocations: 0 / 0.9822 GB, free: 2.152 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.927e-05/0.1712, allocations: 55.98 kB / 0.9823 GB, free: 2.098 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.882e-05/0.1712, allocations: 38.17 kB / 0.9823 GB, free: 2.059 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00104/0.1723, allocations: 0.8982 MB / 0.9832 GB, free: 1.148 MB / 0.9323 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.003778/0.176, allocations: 2.985 MB / 0.9861 GB, free: 14.09 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009456/0.177, allocations: 0.6336 MB / 0.9867 GB, free: 13.45 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003038/0.1773, allocations: 236.2 kB / 0.9869 GB, free: 13.21 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.491e-05/0.1774, allocations: 40.91 kB / 0.987 GB, free: 13.18 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005917/0.1779, allocations: 0.6461 MB / 0.9876 GB, free: 12.46 MB / 0.948 GB Notification: Performance of pre-optimization done (n=110): time 3.416e-06/0.1779, allocations: 3.938 kB / 0.9876 GB, free: 12.46 MB / 0.948 GB Notification: Performance of matching and sorting (n=110): time 0.00187/0.1798, allocations: 1.015 MB / 0.9886 GB, free: 11.43 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.063e-05/0.1799, allocations: 208.8 kB / 0.9888 GB, free: 11.18 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006512/0.1805, allocations: 0.7571 MB / 0.9895 GB, free: 10.41 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 6.435e-05/0.1806, allocations: 49.7 kB / 0.9896 GB, free: 10.36 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003204/0.1809, allocations: 0.59 MB / 0.9902 GB, free: 9.758 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002217/0.1812, allocations: 376.8 kB / 0.9905 GB, free: 9.387 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002116/0.1814, allocations: 216.5 kB / 0.9907 GB, free: 9.164 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001343/0.1815, allocations: 0.5199 MB / 0.9912 GB, free: 8.637 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002738/0.1818, allocations: 178.5 kB / 0.9914 GB, free: 8.465 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000408/0.1822, allocations: 491.3 kB / 0.9919 GB, free: 7.906 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006344/0.1828, allocations: 0.5333 MB / 0.9924 GB, free: 7.332 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.097e-06/0.1828, allocations: 0 / 0.9924 GB, free: 7.332 MB / 0.948 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.00147/0.1843, allocations: 0.867 MB / 0.9932 GB, free: 6.453 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.1843, allocations: 8 kB / 0.9932 GB, free: 6.445 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.1843, allocations: 0 / 0.9932 GB, free: 6.445 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004551/0.1848, allocations: 131.5 kB / 0.9934 GB, free: 6.312 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000498/0.1853, allocations: 235.7 kB / 0.9936 GB, free: 6.082 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001395/0.1867, allocations: 1.913 MB / 0.9955 GB, free: 4.035 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000492/0.1872, allocations: 97.31 kB / 0.9956 GB, free: 3.941 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.675e-05/0.1872, allocations: 43.98 kB / 0.9956 GB, free: 3.898 MB / 0.948 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.conTim.canRepeatWeatherFile,weaDat.conTimMin.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.0002902/0.1875, allocations: 239.1 kB / 0.9958 GB, free: 3.652 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001706/0.1877, allocations: 155.3 kB / 0.996 GB, free: 3.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001278/0.189, allocations: 0.9702 MB / 0.9969 GB, free: 2.52 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.044e-06/0.189, allocations: 12 kB / 0.9969 GB, free: 2.508 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.315e-06/0.189, allocations: 0 / 0.9969 GB, free: 2.508 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.288e-06/0.189, allocations: 7.969 kB / 0.9969 GB, free: 2.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002386/0.1914, allocations: 1.952 MB / 0.9989 GB, free: 500 kB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.1914, allocations: 4 kB / 0.9989 GB, free: 496 kB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004597/0.1918, allocations: 207.8 kB / 0.9991 GB, free: 288 kB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003518/0.1922, allocations: 111.6 kB / 0.9992 GB, free: 172 kB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.689e-05/0.1922, allocations: 39.91 kB / 0.9992 GB, free: 132 kB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00144/0.1937, allocations: 1.925 MB / 1.001 GB, free: 14.07 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1937, allocations: 0 / 1.001 GB, free: 14.07 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001508/0.1952, allocations: 1.227 MB / 1.002 GB, free: 12.82 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003374/0.1955, allocations: 242.9 kB / 1.003 GB, free: 12.59 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001047/0.1956, allocations: 35.88 kB / 1.003 GB, free: 12.55 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003356/0.196, allocations: 45.84 kB / 1.003 GB, free: 12.51 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001332/0.1961, allocations: 92.83 kB / 1.003 GB, free: 12.42 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.258e-05/0.1962, allocations: 39.98 kB / 1.003 GB, free: 12.38 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0004268/0.1966, allocations: 490.9 kB / 1.003 GB, free: 11.91 MB / 0.9636 GB Notification: Performance of sort global known variables: time 3.31e-07/0.1966, allocations: 0 / 1.003 GB, free: 11.91 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0008945/0.1975, allocations: 451 kB / 1.004 GB, free: 11.46 MB / 0.9636 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.001281/0.1988, allocations: 0.6585 MB / 1.004 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.001072/0.1998, allocations: 0.7868 MB / 1.005 GB, free: 10.17 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.1998, allocations: 0 / 1.005 GB, free: 10.17 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0005146/0.2003, allocations: 0.5327 MB / 1.006 GB, free: 9.617 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001093/0.2014, allocations: 0.501 MB / 1.006 GB, free: 9.137 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003394/0.2048, allocations: 2.187 MB / 1.008 GB, free: 6.91 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001632/0.205, allocations: 252.8 kB / 1.008 GB, free: 6.637 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0006161/0.2056, allocations: 317.3 kB / 1.009 GB, free: 6.324 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002259/0.2058, allocations: 128.4 kB / 1.009 GB, free: 6.199 MB / 0.9636 GB Notification: Performance of SimCode: time 9.41e-07/0.2058, allocations: 0 / 1.009 GB, free: 6.199 MB / 0.9636 GB Notification: Performance of Templates: time 0.02637/0.2322, allocations: 23.21 MB / 1.031 GB, free: 15.43 MB / 0.9948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; mkfifo Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe >> ../files/Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.sim & ./Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.999419332016259]