Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005864/0.005864, allocations: 103.2 kB / 15.73 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001275/0.001275, allocations: 190.5 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.213/1.213, allocations: 205.1 MB / 222.5 MB, free: 4.512 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.367/1.367, allocations: 251.7 MB / 0.5094 GB, free: 3.094 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001438/0.001438, allocations: 67.91 kB / 0.7258 GB, free: 9.02 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1757/0.1772, allocations: 104.7 MB / 0.828 GB, free: 208 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.002383/0.1796, allocations: 1.597 MB / 0.8296 GB, free: 14.6 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0003839/0.18, allocations: 192.2 kB / 0.8298 GB, free: 14.41 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.721e-05/0.18, allocations: 4 kB / 0.8298 GB, free: 14.4 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.213e-05/0.1801, allocations: 7.875 kB / 0.8298 GB, free: 14.39 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 9.368e-05/0.1802, allocations: 23.78 kB / 0.8298 GB, free: 14.37 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.000153/0.1803, allocations: 35.97 kB / 0.8298 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001157/0.1805, allocations: 107.7 kB / 0.83 GB, free: 14.23 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000131/0.1806, allocations: 36.97 kB / 0.83 GB, free: 14.19 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001065/0.1807, allocations: 51.78 kB / 0.83 GB, free: 14.14 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 8.82e-05/0.1808, allocations: 51.77 kB / 0.8301 GB, free: 14.09 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.149e-05/0.1808, allocations: 12 kB / 0.8301 GB, free: 14.08 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.631e-05/0.1808, allocations: 12 kB / 0.8301 GB, free: 14.07 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.777e-05/0.1809, allocations: 19.92 kB / 0.8301 GB, free: 14.05 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.856e-05/0.1809, allocations: 51.72 kB / 0.8302 GB, free: 14 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001401/0.1811, allocations: 131.5 kB / 0.8303 GB, free: 13.87 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.1811, allocations: 0 / 0.8303 GB, free: 13.87 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.062e-06/0.1811, allocations: 0 / 0.8303 GB, free: 13.87 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.042e-06/0.1811, allocations: 0 / 0.8303 GB, free: 13.87 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007733/0.1819, allocations: 466.9 kB / 0.8307 GB, free: 13.36 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 2.918e-05/0.1819, allocations: 11.97 kB / 0.8308 GB, free: 13.35 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.523e-05/0.182, allocations: 16.75 kB / 0.8308 GB, free: 13.33 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000135/0.1821, allocations: 184.1 kB / 0.831 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.1821, allocations: 8.375 kB / 0.831 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.834e-05/0.1821, allocations: 8.375 kB / 0.831 GB, free: 13.1 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001979/0.1823, allocations: 94.14 kB / 0.8311 GB, free: 13 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.204e-06/0.1824, allocations: 192 / 0.8311 GB, free: 13 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/0.1824, allocations: 7.938 kB / 0.8311 GB, free: 12.99 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.1824, allocations: 8 kB / 0.8311 GB, free: 12.98 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001672/0.1826, allocations: 63.95 kB / 0.8311 GB, free: 12.92 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006562/0.1832, allocations: 412.4 kB / 0.8315 GB, free: 12.47 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001388/0.1834, allocations: 54.56 kB / 0.8316 GB, free: 12.41 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.504e-05/0.1835, allocations: 32.97 kB / 0.8316 GB, free: 12.37 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.943e-05/0.1835, allocations: 0 / 0.8316 GB, free: 12.37 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.068e-05/0.1835, allocations: 38.55 kB / 0.8316 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=5): time 1.032e-06/0.1835, allocations: 4 kB / 0.8317 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of matching and sorting (n=5): time 0.0003182/0.1838, allocations: 109.5 kB / 0.8318 GB, free: 12.21 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.031e-05/0.1839, allocations: 51.41 kB / 0.8318 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001222/0.184, allocations: 161.5 kB / 0.832 GB, free: 11.98 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.601e-05/0.184, allocations: 25.7 kB / 0.832 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 6.358e-05/0.1841, allocations: 108 kB / 0.8321 GB, free: 11.84 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.805e-05/0.1841, allocations: 15.89 kB / 0.8321 GB, free: 11.82 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.536e-05/0.1842, allocations: 29.7 kB / 0.8321 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001072/0.1843, allocations: 318.8 kB / 0.8324 GB, free: 11.47 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.141e-05/0.1844, allocations: 27.98 kB / 0.8325 GB, free: 11.44 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.761e-05/0.1844, allocations: 27.98 kB / 0.8325 GB, free: 11.41 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001209/0.1846, allocations: 44.83 kB / 0.8325 GB, free: 11.37 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.1846, allocations: 4 kB / 0.8325 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001808/0.1848, allocations: 101.5 kB / 0.8326 GB, free: 11.26 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/0.1848, allocations: 4 kB / 0.8326 GB, free: 11.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.1848, allocations: 0 / 0.8326 GB, free: 11.25 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.083e-05/0.1848, allocations: 0 / 0.8326 GB, free: 11.25 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.414e-05/0.1849, allocations: 11.98 kB / 0.8326 GB, free: 11.24 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.1849, allocations: 3.938 kB / 0.8326 GB, free: 11.24 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001523/0.1851, allocations: 35.91 kB / 0.8327 GB, free: 11.2 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.749e-06/0.1851, allocations: 0 / 0.8327 GB, free: 11.2 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (conSysSta.onTRoo.y,$PRE.conSysSta.onTRoo.y,conSysSta.onTOut.y,$PRE.conSysSta.onTOut.y,conSysSta.onSys) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.214e-05/0.1852, allocations: 121.8 kB / 0.8328 GB, free: 11.07 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.811e-05/0.1852, allocations: 7.906 kB / 0.8328 GB, free: 11.07 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.334e-05/0.1852, allocations: 12.31 kB / 0.8328 GB, free: 11.05 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-06/0.1852, allocations: 3.938 kB / 0.8328 GB, free: 11.05 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.1853, allocations: 11.94 kB / 0.8328 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.1853, allocations: 0 / 0.8328 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00017/0.1854, allocations: 201.5 kB / 0.833 GB, free: 10.79 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.1854, allocations: 0 / 0.833 GB, free: 10.79 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.316e-05/0.1855, allocations: 11.98 kB / 0.833 GB, free: 10.78 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.1855, allocations: 0 / 0.833 GB, free: 10.78 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.997e-06/0.1855, allocations: 0 / 0.833 GB, free: 10.78 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.1855, allocations: 0 / 0.833 GB, free: 10.78 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.1855, allocations: 3.938 kB / 0.833 GB, free: 10.77 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002073/0.1858, allocations: 191.7 kB / 0.8332 GB, free: 10.57 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.616e-05/0.1858, allocations: 85.02 kB / 0.8333 GB, free: 10.47 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.165e-05/0.1858, allocations: 11.97 kB / 0.8333 GB, free: 10.46 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001733/0.186, allocations: 19.97 kB / 0.8333 GB, free: 10.44 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.97e-05/0.1861, allocations: 23.92 kB / 0.8334 GB, free: 10.41 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.46e-06/0.1861, allocations: 3.938 kB / 0.8334 GB, free: 10.41 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 6.447e-05/0.1862, allocations: 117.9 kB / 0.8335 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1862, allocations: 0 / 0.8335 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000212/0.1864, allocations: 15.94 kB / 0.8335 GB, free: 10.28 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (conSysSta.onSys,conSysSta.onTOut.y,conSysSta.onTRoo.y) * Number of discrete states: 2 (conSysSta.onTRoo.y,conSysSta.onTOut.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.39e-05/0.1865, allocations: 99.25 kB / 0.8336 GB, free: 10.18 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002054/0.1867, allocations: 67.95 kB / 0.8336 GB, free: 10.11 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.1867, allocations: 4 kB / 0.8337 GB, free: 10.11 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 8.298e-05/0.1868, allocations: 35.92 kB / 0.8337 GB, free: 10.07 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002421/0.187, allocations: 10.27 kB / 0.8337 GB, free: 10.06 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003456/0.1874, allocations: 207.7 kB / 0.8339 GB, free: 9.832 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002068/0.1876, allocations: 0.7001 MB / 0.8346 GB, free: 9.105 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 4.332e-05/0.1876, allocations: 7.984 kB / 0.8346 GB, free: 9.098 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.094e-05/0.1877, allocations: 15.44 kB / 0.8346 GB, free: 9.082 MB / 0.6544 GB Notification: Performance of SimCode: time 1.9e-07/0.1877, allocations: 0 / 0.8346 GB, free: 9.082 MB / 0.6544 GB Notification: Performance of Templates: time 0.003204/0.1909, allocations: 1.375 MB / 0.8359 GB, free: 7.719 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.makefile (rm -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & ./Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1)