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.001315/0.001315, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.001355/0.001355, 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.9426/0.9426, allocations: 177.1 MB / 204.6 MB, free: 5.641 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.895/1.895, allocations: 377.8 MB / 0.6239 GB, free: 8.535 MB / 0.5886 GB " [Timeout remaining time 178] 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 1.813e-06/1.813e-06, allocations: 0 / 0.8115 GB, free: 2.086 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.625e-05/2.806e-05, allocations: 2.312 kB / 0.8115 GB, free: 2.082 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3): time 0.1419/0.1419, allocations: 162 MB / 0.9698 GB, free: 15.54 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.009874/0.1518, allocations: 8.085 MB / 0.9776 GB, free: 7.426 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001214/0.153, allocations: 43.69 kB / 0.9777 GB, free: 7.383 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.001021/0.154, allocations: 408.8 kB / 0.9781 GB, free: 6.98 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.00296/0.157, allocations: 1.402 MB / 0.9795 GB, free: 5.57 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.002164/0.1591, allocations: 1.219 MB / 0.9806 GB, free: 4.348 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.002276/0.1614, allocations: 2.491 MB / 0.9831 GB, free: 1.852 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001052/0.1625, allocations: 1.011 MB / 0.9841 GB, free: 0.8203 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001204/0.1637, allocations: 1.243 MB / 0.9853 GB, free: 15.57 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009488/0.1646, allocations: 0.6708 MB / 0.9859 GB, free: 14.91 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001461/0.1648, allocations: 160 kB / 0.9861 GB, free: 14.75 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001505/0.1663, allocations: 1.044 MB / 0.9871 GB, free: 13.7 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002975/0.1666, allocations: 466.4 kB / 0.9875 GB, free: 13.25 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0004087/0.167, allocations: 0.5416 MB / 0.9881 GB, free: 12.7 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.00222/0.1692, allocations: 1.865 MB / 0.9899 GB, free: 10.83 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.1692, allocations: 0 / 0.9899 GB, free: 10.83 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.413e-06/0.1692, allocations: 0 / 0.9899 GB, free: 10.83 MB / 0.948 GB Notification: Performance of Transformations before backend: time 1.322e-05/0.1692, allocations: 0 / 0.9899 GB, free: 10.83 MB / 0.948 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.002098/0.1713, allocations: 1.983 MB / 0.9918 GB, free: 8.797 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.1714, allocations: 16.02 kB / 0.9918 GB, free: 8.781 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001529/0.1729, allocations: 0.4941 MB / 0.9923 GB, free: 8.285 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001098/0.174, allocations: 0.9851 MB / 0.9933 GB, free: 7.27 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.686e-05/0.174, allocations: 90.17 kB / 0.9934 GB, free: 7.18 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001299/0.1742, allocations: 116 kB / 0.9935 GB, free: 7.066 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001216/0.1754, allocations: 1.293 MB / 0.9948 GB, free: 5.602 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.535e-05/0.1754, allocations: 3.984 kB / 0.9948 GB, free: 5.598 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.29e-05/0.1755, allocations: 48 kB / 0.9948 GB, free: 5.551 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.781e-05/0.1755, allocations: 38.17 kB / 0.9948 GB, free: 5.512 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001049/0.1766, allocations: 0.906 MB / 0.9957 GB, free: 4.594 MB / 0.948 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.003427/0.18, allocations: 3.051 MB / 0.9987 GB, free: 1.469 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009959/0.181, allocations: 0.6369 MB / 0.9993 GB, free: 0.8281 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003242/0.1813, allocations: 229.3 kB / 0.9995 GB, free: 0.6016 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.055e-05/0.1814, allocations: 36.97 kB / 0.9996 GB, free: 0.5664 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006169/0.182, allocations: 0.6617 MB / 1 GB, free: 15.83 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=110): time 3.707e-06/0.182, allocations: 0 / 1 GB, free: 15.83 MB / 0.9636 GB Notification: Performance of matching and sorting (n=110): time 0.001919/0.1839, allocations: 1.019 MB / 1.001 GB, free: 14.8 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.397e-05/0.184, allocations: 204.9 kB / 1.001 GB, free: 14.56 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007602/0.1848, allocations: 0.7572 MB / 1.002 GB, free: 13.79 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 6.752e-05/0.1848, allocations: 61.62 kB / 1.002 GB, free: 13.73 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003297/0.1852, allocations: 0.5939 MB / 1.003 GB, free: 13.12 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002154/0.1854, allocations: 372.8 kB / 1.003 GB, free: 12.76 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002142/0.1856, allocations: 228.5 kB / 1.003 GB, free: 12.52 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001264/0.1857, allocations: 0.5199 MB / 1.004 GB, free: 12 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002992/0.186, allocations: 182.5 kB / 1.004 GB, free: 11.82 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004551/0.1865, allocations: 483.3 kB / 1.005 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006861/0.1872, allocations: 0.5372 MB / 1.005 GB, free: 10.69 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.469e-06/0.1872, allocations: 0 / 1.005 GB, free: 10.69 MB / 0.9636 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.001278/0.1884, allocations: 0.859 MB / 1.006 GB, free: 9.82 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/0.1885, allocations: 8.281 kB / 1.006 GB, free: 9.812 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.874e-06/0.1885, allocations: 4 kB / 1.006 GB, free: 9.809 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004877/0.189, allocations: 139.5 kB / 1.006 GB, free: 9.668 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005204/0.1895, allocations: 235.6 kB / 1.006 GB, free: 9.438 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001415/0.1909, allocations: 1.902 MB / 1.008 GB, free: 7.402 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004944/0.1914, allocations: 97.62 kB / 1.008 GB, free: 7.309 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.77e-05/0.1914, allocations: 39.98 kB / 1.008 GB, free: 7.27 MB / 0.9636 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.0003075/0.1918, allocations: 247 kB / 1.008 GB, free: 7.016 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001684/0.1919, allocations: 151.2 kB / 1.009 GB, free: 6.867 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001562/0.1935, allocations: 0.9898 MB / 1.01 GB, free: 5.867 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.1935, allocations: 12 kB / 1.01 GB, free: 5.855 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.806e-06/0.1935, allocations: 0 / 1.01 GB, free: 5.855 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.487e-06/0.1935, allocations: 7.922 kB / 1.01 GB, free: 5.848 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002388/0.1959, allocations: 1.968 MB / 1.012 GB, free: 3.816 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.152e-06/0.1959, allocations: 0 / 1.012 GB, free: 3.816 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004917/0.1964, allocations: 211.7 kB / 1.012 GB, free: 3.609 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003594/0.1967, allocations: 119.5 kB / 1.012 GB, free: 3.488 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.155e-05/0.1968, allocations: 31.97 kB / 1.012 GB, free: 3.457 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001195/0.198, allocations: 1.925 MB / 1.014 GB, free: 1.398 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.198, allocations: 3.938 kB / 1.014 GB, free: 1.395 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00154/0.1995, allocations: 1.231 MB / 1.015 GB, free: 152 kB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003677/0.1999, allocations: 250.8 kB / 1.015 GB, free: 15.9 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001113/0.2, allocations: 36.05 kB / 1.015 GB, free: 15.86 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003671/0.2004, allocations: 47.97 kB / 1.015 GB, free: 15.82 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001396/0.2005, allocations: 88.83 kB / 1.015 GB, free: 15.73 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.101e-05/0.2006, allocations: 47.97 kB / 1.015 GB, free: 15.68 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0004638/0.201, allocations: 498.9 kB / 1.016 GB, free: 15.2 MB / 0.9792 GB Notification: Performance of sort global known variables: time 8.1e-08/0.201, allocations: 0 / 1.016 GB, free: 15.2 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.001041/0.2021, allocations: 454.9 kB / 1.016 GB, free: 14.76 MB / 0.9792 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.001445/0.2035, allocations: 0.6552 MB / 1.017 GB, free: 14.28 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.001166/0.2047, allocations: 0.7874 MB / 1.018 GB, free: 13.46 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.2047, allocations: 0 / 1.018 GB, free: 13.46 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0005579/0.2053, allocations: 0.5366 MB / 1.018 GB, free: 12.91 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001179/0.2064, allocations: 0.5044 MB / 1.019 GB, free: 12.42 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003415/0.2098, allocations: 2.191 MB / 1.021 GB, free: 10.19 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001784/0.21, allocations: 256.9 kB / 1.021 GB, free: 9.914 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0006906/0.2107, allocations: 305.3 kB / 1.021 GB, free: 9.613 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002441/0.211, allocations: 140.3 kB / 1.022 GB, free: 9.477 MB / 0.9792 GB Notification: Performance of SimCode: time 2.354e-06/0.211, allocations: 0 / 1.022 GB, free: 9.477 MB / 0.9792 GB Notification: Performance of Templates: time 0.02732/0.2383, allocations: 22.18 MB / 1.043 GB, free: 3.734 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: 6.2789615211077034]