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.Sin.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.Sin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Sin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.379/1.379, allocations: 252 MB / 267.6 MB, free: 10.95 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.001095/0.001095, allocations: 181.9 kB / 327.3 MB, free: 2.191 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.808/1.808, allocations: 205.4 MB / 0.5783 GB, free: 20.47 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.0007679/0.0007679, allocations: 109.4 kB / 0.6829 GB, free: 13.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003256/0.0003257, allocations: 17.03 kB / 0.797 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1813/0.1816, allocations: 106.3 MB / 0.9009 GB, free: 64.24 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sin): time 0.001285/0.183, allocations: 1.089 MB / 0.9019 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002654/0.1833, allocations: 125.8 kB / 0.902 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.942e-05/0.1833, allocations: 0 / 0.902 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.69e-05/0.1833, allocations: 3.938 kB / 0.902 GB, free: 63.01 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.323e-05/0.1834, allocations: 0 / 0.902 GB, free: 63.01 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001171/0.1835, allocations: 8 kB / 0.902 GB, free: 63 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.379e-05/0.1836, allocations: 19.92 kB / 0.9021 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 7.973e-05/0.1837, allocations: 4 kB / 0.9021 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.706e-05/0.1837, allocations: 11.92 kB / 0.9021 GB, free: 62.97 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.202e-05/0.1838, allocations: 12 kB / 0.9021 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.192e-05/0.1838, allocations: 0 / 0.9021 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.265e-06/0.1838, allocations: 0 / 0.9021 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.605e-06/0.1838, allocations: 3.984 kB / 0.9021 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.802e-05/0.1838, allocations: 29.7 kB / 0.9021 GB, free: 62.92 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 4.24e-05/0.1839, allocations: 15.89 kB / 0.9021 GB, free: 62.9 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.1839, allocations: 8 kB / 0.9022 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.322e-06/0.1839, allocations: 0 / 0.9022 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.978e-06/0.1839, allocations: 0 / 0.9022 GB, free: 62.89 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.0003459/0.1843, allocations: 339.3 kB / 0.9025 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.009e-05/0.1843, allocations: 11.97 kB / 0.9025 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.315e-05/0.1843, allocations: 3.938 kB / 0.9025 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.341e-05/0.1844, allocations: 167 kB / 0.9026 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.1844, allocations: 0 / 0.9026 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.127e-05/0.1844, allocations: 0 / 0.9026 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001547/0.1846, allocations: 57.67 kB / 0.9027 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.1846, allocations: 0 / 0.9027 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.304e-06/0.1846, allocations: 0 / 0.9027 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.217e-06/0.1846, allocations: 4 kB / 0.9027 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001586/0.1848, allocations: 47.89 kB / 0.9028 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002295/0.185, allocations: 261.1 kB / 0.903 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001143/0.1852, allocations: 38.55 kB / 0.903 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.536e-05/0.1853, allocations: 32.91 kB / 0.9031 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.774e-05/0.1853, allocations: 0 / 0.9031 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.034e-05/0.1853, allocations: 30.56 kB / 0.9031 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 7.52e-07/0.1853, allocations: 0 / 0.9031 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0003198/0.1856, allocations: 101.6 kB / 0.9032 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.838e-05/0.1857, allocations: 59.41 kB / 0.9033 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.37e-05/0.1857, allocations: 101.8 kB / 0.9033 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.572e-06/0.1857, allocations: 25.7 kB / 0.9034 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.094e-05/0.1857, allocations: 80.14 kB / 0.9035 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.147e-05/0.1858, allocations: 3.906 kB / 0.9035 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.775e-06/0.1858, allocations: 128 / 0.9035 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.869e-05/0.1858, allocations: 326.8 kB / 0.9038 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.966e-05/0.1859, allocations: 15.98 kB / 0.9038 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.176e-05/0.186, allocations: 27.97 kB / 0.9038 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.476e-05/0.1861, allocations: 20.05 kB / 0.9038 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.1861, allocations: 0 / 0.9038 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001752/0.1862, allocations: 77.59 kB / 0.9039 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.038e-05/0.1863, allocations: 12.03 kB / 0.9039 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.1863, allocations: 4 kB / 0.9039 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.1863, allocations: 0 / 0.9039 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.266e-05/0.1864, allocations: 12 kB / 0.9039 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.1864, allocations: 0 / 0.9039 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.896e-05/0.1865, allocations: 11.98 kB / 0.9039 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.559e-06/0.1865, allocations: 0 / 0.9039 GB, free: 60.84 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.301e-05/0.1865, allocations: 113.8 kB / 0.904 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.173e-05/0.1865, allocations: 7.938 kB / 0.9041 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002224/0.1868, allocations: 92.8 kB / 0.9041 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.1868, allocations: 3.984 kB / 0.9041 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.1868, allocations: 4.031 kB / 0.9042 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.1868, allocations: 0 / 0.9042 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001002/0.1869, allocations: 161.6 kB / 0.9043 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.1869, allocations: 0 / 0.9043 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.931e-05/0.187, allocations: 11.98 kB / 0.9043 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.187, allocations: 0 / 0.9043 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.67e-06/0.187, allocations: 0 / 0.9043 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.187, allocations: 4 kB / 0.9043 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.187, allocations: 0 / 0.9043 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001977/0.1872, allocations: 175.5 kB / 0.9045 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.399e-05/0.1872, allocations: 77.11 kB / 0.9046 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.888e-06/0.1872, allocations: 0 / 0.9046 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.731e-05/0.1873, allocations: 16.02 kB / 0.9046 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.055e-05/0.1874, allocations: 0 / 0.9046 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.575e-06/0.1874, allocations: 3.938 kB / 0.9046 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.917e-05/0.1874, allocations: 83.27 kB / 0.9047 GB, free: 60 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1874, allocations: 0 / 0.9047 GB, free: 60 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001981/0.1876, allocations: 8 kB / 0.9047 GB, free: 60 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001261/0.1877, allocations: 99.25 kB / 0.9048 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002067/0.1879, allocations: 43.97 kB / 0.9048 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.188, allocations: 4 kB / 0.9048 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.368e-05/0.188, allocations: 28.03 kB / 0.9048 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002563/0.1883, allocations: 9.641 kB / 0.9048 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000222/0.1885, allocations: 142.3 kB / 0.905 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.999e-05/0.1886, allocations: 0.677 MB / 0.9056 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.329e-05/0.1887, allocations: 7.438 kB / 0.9056 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of SimCode: time 2.4e-07/0.1887, allocations: 0 / 0.9056 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of Templates: time 0.001384/0.1901, allocations: 0.5319 MB / 0.9062 GB, free: 58.4 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe 2>&1)