Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.404/1.404, allocations: 252 MB / 268 MB, free: 10.86 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001074/0.001074, allocations: 179.4 kB / 327.6 MB, free: 2.098 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.717/1.717, allocations: 205.4 MB / 0.5786 GB, free: 20.18 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007912/0.0007912, allocations: 95.67 kB / 0.6832 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000308/0.000308, allocations: 13.08 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1809/0.1812, allocations: 106.3 MB / 0.9015 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos): time 0.00141/0.1826, allocations: 1.097 MB / 0.9025 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002771/0.1829, allocations: 125.8 kB / 0.9027 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.954e-05/0.183, allocations: 3.938 kB / 0.9027 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.917e-05/0.183, allocations: 3.984 kB / 0.9027 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.065e-05/0.1831, allocations: 0 / 0.9027 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001408/0.1832, allocations: 11.94 kB / 0.9027 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.925e-05/0.1833, allocations: 19.98 kB / 0.9027 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.855e-05/0.1834, allocations: 4 kB / 0.9027 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.045e-05/0.1835, allocations: 15.91 kB / 0.9027 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.8e-05/0.1835, allocations: 8 kB / 0.9027 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.638e-05/0.1835, allocations: 0 / 0.9027 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.037e-06/0.1835, allocations: 4 kB / 0.9027 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.591e-05/0.1836, allocations: 3.938 kB / 0.9027 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.626e-05/0.1836, allocations: 33.69 kB / 0.9028 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 5.632e-05/0.1837, allocations: 15.91 kB / 0.9028 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.1837, allocations: 3.938 kB / 0.9028 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.644e-06/0.1837, allocations: 0 / 0.9028 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.817e-06/0.1837, allocations: 0 / 0.9028 GB, free: 62.12 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003587/0.1841, allocations: 343.5 kB / 0.9031 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.1841, allocations: 12.03 kB / 0.9031 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.949e-05/0.1841, allocations: 0.9375 kB / 0.9031 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.887e-05/0.1842, allocations: 164.3 kB / 0.9033 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.184e-05/0.1842, allocations: 384 / 0.9033 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.264e-05/0.1843, allocations: 4.375 kB / 0.9033 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001694/0.1844, allocations: 62.22 kB / 0.9033 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.1845, allocations: 192 / 0.9033 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.907e-06/0.1845, allocations: 3.938 kB / 0.9033 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.1845, allocations: 0 / 0.9033 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001616/0.1847, allocations: 47.89 kB / 0.9034 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002704/0.1849, allocations: 249.2 kB / 0.9036 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001147/0.1851, allocations: 50.48 kB / 0.9037 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.374e-05/0.1851, allocations: 28.91 kB / 0.9037 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.966e-05/0.1852, allocations: 0 / 0.9037 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.674e-05/0.1852, allocations: 38.56 kB / 0.9037 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.1852, allocations: 0 / 0.9037 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.000321/0.1855, allocations: 101.6 kB / 0.9038 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.013e-05/0.1856, allocations: 51.41 kB / 0.9039 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.865e-05/0.1856, allocations: 93.86 kB / 0.904 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.714e-06/0.1856, allocations: 33.7 kB / 0.904 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.269e-05/0.1857, allocations: 84.12 kB / 0.9041 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.444e-05/0.1857, allocations: 7.891 kB / 0.9041 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.996e-06/0.1857, allocations: 4.125 kB / 0.9041 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.225e-05/0.1857, allocations: 310.8 kB / 0.9044 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.631e-05/0.1858, allocations: 23.98 kB / 0.9044 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.756e-05/0.1859, allocations: 27.91 kB / 0.9044 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001388/0.186, allocations: 52.89 kB / 0.9045 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.186, allocations: 3.938 kB / 0.9045 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001718/0.1862, allocations: 81.59 kB / 0.9046 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.1862, allocations: 4 kB / 0.9046 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.838e-06/0.1863, allocations: 0 / 0.9046 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.1863, allocations: 0 / 0.9046 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.3e-05/0.1864, allocations: 19.92 kB / 0.9046 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.1864, allocations: 4 kB / 0.9046 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.642e-05/0.1864, allocations: 8.031 kB / 0.9046 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.991e-06/0.1864, allocations: 0 / 0.9046 GB, free: 60.02 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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 4.89e-05/0.1865, allocations: 113.8 kB / 0.9047 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.154e-05/0.1865, allocations: 3.906 kB / 0.9047 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002335/0.1868, allocations: 92.7 kB / 0.9048 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.1868, allocations: 0 / 0.9048 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.1868, allocations: 0 / 0.9048 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.1868, allocations: 0 / 0.9048 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001052/0.1869, allocations: 157.6 kB / 0.905 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.1869, allocations: 0 / 0.905 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.713e-05/0.187, allocations: 15.98 kB / 0.905 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.187, allocations: 0 / 0.905 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.001e-06/0.187, allocations: 4.031 kB / 0.905 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.187, allocations: 0 / 0.905 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.187, allocations: 0 / 0.905 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001981/0.1872, allocations: 179.4 kB / 0.9052 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.665e-05/0.1872, allocations: 81.11 kB / 0.9052 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.155e-05/0.1872, allocations: 0 / 0.9052 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.998e-05/0.1873, allocations: 7.984 kB / 0.9052 GB, free: 59.28 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.159e-05/0.1874, allocations: 4 kB / 0.9052 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-06/0.1874, allocations: 0 / 0.9052 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.262e-05/0.1874, allocations: 91.44 kB / 0.9053 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.1874, allocations: 0 / 0.9053 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001912/0.1876, allocations: 4.031 kB / 0.9053 GB, free: 59.18 MB / 0.6042 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 (2): * Single equations (assignments): 2 * 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 0.000106/0.1877, allocations: 99.25 kB / 0.9054 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001936/0.1879, allocations: 47.95 kB / 0.9055 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.1879, allocations: 4.062 kB / 0.9055 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.875e-05/0.188, allocations: 23.98 kB / 0.9055 GB, free: 59 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002691/0.1883, allocations: 8.922 kB / 0.9055 GB, free: 58.99 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002392/0.1885, allocations: 142.2 kB / 0.9056 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.866e-05/0.1886, allocations: 0.6771 MB / 0.9063 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.49e-05/0.1887, allocations: 15.38 kB / 0.9063 GB, free: 58.1 MB / 0.6042 GB Notification: Performance of SimCode: time 3.11e-07/0.1887, allocations: 0 / 0.9063 GB, free: 58.1 MB / 0.6042 GB Notification: Performance of Templates: time 0.001487/0.1902, allocations: 0.5394 MB / 0.9068 GB, free: 57.57 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe 2>&1)