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.001477/0.001477, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001726/0.001726, allocations: 188 kB / 16.62 MB, free: 6.582 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.602/1.602, allocations: 205.1 MB / 222.5 MB, free: 4.543 MB / 174.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.824/1.824, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.002746/0.002746, allocations: 73.36 kB / 0.6723 GB, free: 26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.303/0.3057, allocations: 114.6 MB / 0.7841 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo): time 0.002945/0.3087, allocations: 0.6943 MB / 0.7848 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001396/0.3102, allocations: 0.871 MB / 0.7857 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.504e-05/0.3103, allocations: 3.938 kB / 0.7857 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.224e-05/0.3103, allocations: 3.938 kB / 0.7857 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.559e-05/0.3104, allocations: 7.938 kB / 0.7857 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002007/0.3106, allocations: 23.91 kB / 0.7857 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.556e-05/0.3107, allocations: 35.92 kB / 0.7857 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001223/0.3108, allocations: 15.98 kB / 0.7858 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.284e-05/0.3109, allocations: 15.92 kB / 0.7858 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.264e-05/0.311, allocations: 19.91 kB / 0.7858 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.018e-05/0.311, allocations: 4 kB / 0.7858 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.421e-05/0.311, allocations: 4 kB / 0.7858 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.465e-05/0.3111, allocations: 16 kB / 0.7858 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.852e-05/0.3111, allocations: 15.86 kB / 0.7858 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001142/0.3113, allocations: 43.86 kB / 0.7859 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.3113, allocations: 4 kB / 0.7859 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.194e-06/0.3113, allocations: 0 / 0.7859 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.124e-06/0.3113, allocations: 0 / 0.7859 GB, free: 10.93 MB / 0.6075 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.0005465/0.3118, allocations: 363.3 kB / 0.7862 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/0.3119, allocations: 8.031 kB / 0.7862 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.024e-05/0.3119, allocations: 16.77 kB / 0.7862 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001321/0.3121, allocations: 172.2 kB / 0.7864 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/0.3121, allocations: 384 / 0.7864 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.292e-05/0.3121, allocations: 4.375 kB / 0.7864 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002624/0.3124, allocations: 66.22 kB / 0.7865 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.3124, allocations: 192 / 0.7865 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.385e-05/0.3124, allocations: 3.938 kB / 0.7865 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.3124, allocations: 4 kB / 0.7865 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002661/0.3127, allocations: 63.92 kB / 0.7865 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003873/0.3131, allocations: 272.9 kB / 0.7868 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001966/0.3133, allocations: 58.47 kB / 0.7869 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000148/0.3135, allocations: 44.86 kB / 0.7869 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.368e-05/0.3135, allocations: 0 / 0.7869 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.459e-05/0.3136, allocations: 30.56 kB / 0.7869 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.313e-06/0.3136, allocations: 0 / 0.7869 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0006065/0.3142, allocations: 137.5 kB / 0.7871 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.941e-05/0.3143, allocations: 51.41 kB / 0.7871 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001287/0.3144, allocations: 105.8 kB / 0.7872 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.03e-05/0.3144, allocations: 25.7 kB / 0.7872 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.618e-05/0.3145, allocations: 92.05 kB / 0.7873 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.085e-05/0.3146, allocations: 7.891 kB / 0.7873 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.945e-05/0.3146, allocations: 21.72 kB / 0.7874 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001472/0.3148, allocations: 310.8 kB / 0.7877 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001509/0.3149, allocations: 35.95 kB / 0.7877 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001287/0.3151, allocations: 27.97 kB / 0.7877 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002787/0.3154, allocations: 73.06 kB / 0.7878 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/0.3154, allocations: 3.938 kB / 0.7878 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003402/0.3157, allocations: 101.5 kB / 0.7879 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.3158, allocations: 4.938 kB / 0.7879 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.3158, allocations: 0 / 0.7879 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.3158, allocations: 0 / 0.7879 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001351/0.3159, allocations: 23.97 kB / 0.7879 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/0.3159, allocations: 320 / 0.7879 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.09e-05/0.316, allocations: 19.89 kB / 0.7879 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.041e-05/0.316, allocations: 0 / 0.7879 GB, free: 8.594 MB / 0.6075 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 9.189e-05/0.3161, allocations: 109.8 kB / 0.788 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.872e-05/0.3162, allocations: 4 kB / 0.788 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.185e-05/0.3163, allocations: 7.906 kB / 0.788 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.3163, allocations: 4 kB / 0.788 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/0.3163, allocations: 4 kB / 0.7881 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.179e-06/0.3163, allocations: 7.922 kB / 0.7881 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000217/0.3165, allocations: 173.5 kB / 0.7882 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.3165, allocations: 0 / 0.7882 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.843e-05/0.3166, allocations: 15.92 kB / 0.7882 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.3166, allocations: 0 / 0.7882 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.303e-05/0.3167, allocations: 4 kB / 0.7882 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/0.3167, allocations: 0 / 0.7882 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3167, allocations: 3.938 kB / 0.7882 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003876/0.3171, allocations: 203.3 kB / 0.7884 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.705e-05/0.3171, allocations: 77.11 kB / 0.7885 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.882e-05/0.3172, allocations: 4 kB / 0.7885 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/0.3173, allocations: 7.984 kB / 0.7885 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.54e-05/0.3173, allocations: 11.98 kB / 0.7885 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-06/0.3173, allocations: 0 / 0.7885 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.986e-05/0.3174, allocations: 99.23 kB / 0.7886 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3174, allocations: 0 / 0.7886 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002426/0.3177, allocations: 4 kB / 0.7886 GB, free: 7.77 MB / 0.6075 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.0001738/0.3178, allocations: 99.25 kB / 0.7887 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003643/0.3182, allocations: 79.86 kB / 0.7888 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.3182, allocations: 0 / 0.7888 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001459/0.3184, allocations: 31.97 kB / 0.7888 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003849/0.3188, allocations: 15.92 kB / 0.7889 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004153/0.3192, allocations: 129.4 kB / 0.789 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002711/0.3195, allocations: 0.6807 MB / 0.7896 GB, free: 6.676 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.453e-05/0.3195, allocations: 4 kB / 0.7896 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.42e-05/0.3196, allocations: 11.42 kB / 0.7897 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of SimCode: time 1.854e-06/0.3196, allocations: 0 / 0.7897 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of Templates: time 0.00312/0.3227, allocations: 0.7315 MB / 0.7904 GB, free: 5.941 MB / 0.6075 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)