Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.Controls.OBC.CDL.Continuous.Validation.Modulo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001247/0.001247, allocations: 104.5 kB / 16.27 MB, free: 6.004 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.001115/0.001116, allocations: 186.8 kB / 17.2 MB, free: 5.617 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.691/1.691, allocations: 205.1 MB / 223.1 MB, free: 12.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.882/1.882, allocations: 292.3 MB / 0.5495 GB, free: 17.51 MB / 462.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.001497/0.001497, allocations: 72.28 kB / 0.6722 GB, free: 6.605 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.277/0.2785, allocations: 114.6 MB / 0.784 GB, free: 3.93 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo): time 0.002214/0.2807, allocations: 0.6948 MB / 0.7847 GB, free: 3.227 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001113/0.2819, allocations: 0.871 MB / 0.7856 GB, free: 2.34 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.061e-05/0.2819, allocations: 0 / 0.7856 GB, free: 2.34 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.278e-05/0.282, allocations: 7.938 kB / 0.7856 GB, free: 2.332 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 7.067e-05/0.282, allocations: 3.938 kB / 0.7856 GB, free: 2.328 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001802/0.2822, allocations: 23.92 kB / 0.7856 GB, free: 2.305 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 8.187e-05/0.2823, allocations: 35.92 kB / 0.7856 GB, free: 2.27 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.2824, allocations: 15.98 kB / 0.7857 GB, free: 2.254 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 7.235e-05/0.2825, allocations: 27.84 kB / 0.7857 GB, free: 2.227 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.278e-05/0.2826, allocations: 19.92 kB / 0.7857 GB, free: 2.207 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.923e-05/0.2826, allocations: 4 kB / 0.7857 GB, free: 2.203 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.284e-05/0.2826, allocations: 4 kB / 0.7857 GB, free: 2.199 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.132e-05/0.2827, allocations: 11.92 kB / 0.7857 GB, free: 2.188 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.678e-05/0.2827, allocations: 11.94 kB / 0.7857 GB, free: 2.176 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 9.453e-05/0.2828, allocations: 35.88 kB / 0.7858 GB, free: 2.141 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.2828, allocations: 7.938 kB / 0.7858 GB, free: 2.133 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.994e-06/0.2828, allocations: 0 / 0.7858 GB, free: 2.133 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.109e-06/0.2828, allocations: 0 / 0.7858 GB, free: 2.133 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005524/0.2834, allocations: 363.7 kB / 0.7861 GB, free: 1.727 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.813e-05/0.2835, allocations: 12.03 kB / 0.7861 GB, free: 1.715 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.196e-05/0.2835, allocations: 4.844 kB / 0.7861 GB, free: 1.711 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001334/0.2837, allocations: 172.3 kB / 0.7863 GB, free: 1.504 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.513e-05/0.2837, allocations: 384 / 0.7863 GB, free: 1.504 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.364e-05/0.2837, allocations: 8.375 kB / 0.7863 GB, free: 1.496 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002665/0.284, allocations: 74.2 kB / 0.7864 GB, free: 1.418 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.284, allocations: 192 / 0.7864 GB, free: 1.418 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/0.284, allocations: 3.938 kB / 0.7864 GB, free: 1.414 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.284, allocations: 0 / 0.7864 GB, free: 1.414 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002778/0.2843, allocations: 71.8 kB / 0.7865 GB, free: 1.344 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003818/0.2847, allocations: 264.9 kB / 0.7867 GB, free: 1.035 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002085/0.2849, allocations: 62.47 kB / 0.7868 GB, free: 0.9648 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000149/0.2851, allocations: 44.91 kB / 0.7868 GB, free: 0.918 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.389e-05/0.2851, allocations: 3.984 kB / 0.7868 GB, free: 0.9141 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.619e-05/0.2851, allocations: 30.56 kB / 0.7868 GB, free: 0.875 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=3): time 9.51e-07/0.2851, allocations: 0 / 0.7868 GB, free: 0.875 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3): time 0.0005363/0.2857, allocations: 129.5 kB / 0.787 GB, free: 0.7422 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.809e-05/0.2857, allocations: 51.41 kB / 0.787 GB, free: 0.6797 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.193e-05/0.2858, allocations: 109.8 kB / 0.7871 GB, free: 0.5625 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.42e-05/0.2858, allocations: 25.7 kB / 0.7871 GB, free: 0.5312 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.619e-05/0.2859, allocations: 92.03 kB / 0.7872 GB, free: 448 kB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.403e-05/0.2859, allocations: 11.91 kB / 0.7872 GB, free: 436 kB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.113e-05/0.286, allocations: 13.72 kB / 0.7873 GB, free: 416 kB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.2861, allocations: 314.8 kB / 0.7876 GB, free: 92 kB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001414/0.2863, allocations: 31.97 kB / 0.7876 GB, free: 60 kB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001397/0.2864, allocations: 31.97 kB / 0.7876 GB, free: 28 kB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.4872/0.7736, allocations: 65.34 kB / 0.7877 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.983e-06/0.7737, allocations: 7.359 kB / 0.7877 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003585/0.774, allocations: 98.42 kB / 0.7878 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/0.7741, allocations: 5.719 kB / 0.7878 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/0.7741, allocations: 0 / 0.7878 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.444e-05/0.7741, allocations: 3.688 kB / 0.7878 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001409/0.7743, allocations: 21.42 kB / 0.7878 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/0.7743, allocations: 0 / 0.7878 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.196e-05/0.7744, allocations: 11.3 kB / 0.7878 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.877e-06/0.7744, allocations: 0 / 0.7878 GB, free: 48.49 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 7.303e-05/0.7745, allocations: 120.3 kB / 0.7879 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.905e-05/0.7745, allocations: 2.812 kB / 0.7879 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.44e-05/0.7745, allocations: 8.062 kB / 0.7879 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.7746, allocations: 0 / 0.7879 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.348e-05/0.7746, allocations: 3.375 kB / 0.788 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.7746, allocations: 0 / 0.788 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001551/0.7747, allocations: 175 kB / 0.7881 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.7747, allocations: 0 / 0.7881 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.996e-05/0.7748, allocations: 17.69 kB / 0.7881 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.7749, allocations: 3.719 kB / 0.7881 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.356e-06/0.7749, allocations: 0 / 0.7881 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.7749, allocations: 0 / 0.7881 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.7749, allocations: 0.5 kB / 0.7881 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003234/0.7752, allocations: 206.1 kB / 0.7883 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.136e-05/0.7752, allocations: 79.77 kB / 0.7884 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.492e-05/0.7753, allocations: 2.562 kB / 0.7884 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/0.7754, allocations: 18.91 kB / 0.7884 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.486e-05/0.7754, allocations: 4.094 kB / 0.7884 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.039e-06/0.7754, allocations: 4.266 kB / 0.7884 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.555e-05/0.7755, allocations: 92.38 kB / 0.7885 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7755, allocations: 0 / 0.7885 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002166/0.7757, allocations: 10.25 kB / 0.7885 GB, free: 47.88 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001282/0.7758, allocations: 106.1 kB / 0.7886 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003282/0.7762, allocations: 69.12 kB / 0.7887 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.7762, allocations: 2.969 kB / 0.7887 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001382/0.7763, allocations: 37.48 kB / 0.7887 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003299/0.7767, allocations: 6.047 kB / 0.7887 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003196/0.777, allocations: 144.7 kB / 0.7889 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000124/0.7771, allocations: 0.6823 MB / 0.7896 GB, free: 46.97 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.369e-05/0.7772, allocations: 7.438 kB / 0.7896 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of SimCode: time 1.262e-06/0.7772, allocations: 0 / 0.7896 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of Templates: time 0.002028/0.7792, allocations: 0.7449 MB / 0.7903 GB, free: 46.96 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe 2>&1)