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.001151/0.001151, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001239/0.001239, allocations: 189 kB / 16.25 MB, free: 6.625 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.664/1.664, allocations: 205.1 MB / 222.1 MB, free: 4.715 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.806/1.806, allocations: 292.2 MB / 0.5485 GB, free: 13.66 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.001429/0.001429, allocations: 73.91 kB / 0.671 GB, free: 26.47 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3059/0.3073, allocations: 114.5 MB / 0.7829 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo): time 0.003395/0.3108, allocations: 0.771 MB / 0.7836 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001465/0.3123, allocations: 0.8672 MB / 0.7845 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.492e-05/0.3124, allocations: 7.875 kB / 0.7845 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 5.144e-05/0.3124, allocations: 0 / 0.7845 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.652e-05/0.3126, allocations: 3.938 kB / 0.7845 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002219/0.3128, allocations: 15.98 kB / 0.7845 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000105/0.3129, allocations: 43.92 kB / 0.7845 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001414/0.3131, allocations: 19.97 kB / 0.7846 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.146e-05/0.3132, allocations: 11.94 kB / 0.7846 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.302e-05/0.3133, allocations: 23.91 kB / 0.7846 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.859e-05/0.3133, allocations: 4 kB / 0.7846 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.632e-05/0.3133, allocations: 0 / 0.7846 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.627e-05/0.3133, allocations: 11.94 kB / 0.7846 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.294e-05/0.3134, allocations: 23.86 kB / 0.7846 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001181/0.3135, allocations: 39.86 kB / 0.7847 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.735e-06/0.3135, allocations: 4 kB / 0.7847 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.006e-06/0.3135, allocations: 0 / 0.7847 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.298e-06/0.3136, allocations: 0 / 0.7847 GB, free: 12.02 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.0006868/0.3143, allocations: 355.7 kB / 0.785 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.886e-05/0.3143, allocations: 12.02 kB / 0.785 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.386e-05/0.3144, allocations: 12.84 kB / 0.785 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001623/0.3145, allocations: 168.2 kB / 0.7852 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.443e-05/0.3145, allocations: 384 / 0.7852 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.678e-05/0.3146, allocations: 8.375 kB / 0.7852 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000272/0.3148, allocations: 66.22 kB / 0.7853 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.3149, allocations: 192 / 0.7853 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.5e-05/0.3149, allocations: 3.938 kB / 0.7853 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.331e-05/0.3149, allocations: 4 kB / 0.7853 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002994/0.3152, allocations: 67.86 kB / 0.7853 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004107/0.3156, allocations: 265 kB / 0.7856 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002036/0.3158, allocations: 54.47 kB / 0.7856 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001437/0.316, allocations: 44.91 kB / 0.7857 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.552e-05/0.316, allocations: 0 / 0.7857 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.214e-05/0.3161, allocations: 38.56 kB / 0.7857 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 7.01e-07/0.3161, allocations: 3.938 kB / 0.7857 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0005481/0.3166, allocations: 129.6 kB / 0.7859 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.967e-05/0.3167, allocations: 55.34 kB / 0.7859 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001618/0.3169, allocations: 109.8 kB / 0.786 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.671e-05/0.3169, allocations: 25.7 kB / 0.786 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.892e-05/0.3169, allocations: 93.11 kB / 0.7861 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.924e-05/0.317, allocations: 7.891 kB / 0.7861 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.854e-05/0.317, allocations: 17.72 kB / 0.7861 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001864/0.3172, allocations: 310.8 kB / 0.7864 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001985/0.3174, allocations: 39.95 kB / 0.7865 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001222/0.3175, allocations: 27.97 kB / 0.7865 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000252/0.3178, allocations: 72.72 kB / 0.7866 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.676e-06/0.3178, allocations: 7.938 kB / 0.7866 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000296/0.3181, allocations: 93.62 kB / 0.7867 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.701e-05/0.3181, allocations: 4 kB / 0.7867 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.3182, allocations: 0 / 0.7867 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.277e-05/0.3182, allocations: 0 / 0.7867 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001557/0.3183, allocations: 19.97 kB / 0.7867 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/0.3184, allocations: 0 / 0.7867 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.185e-05/0.3184, allocations: 23.89 kB / 0.7867 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.039e-05/0.3185, allocations: 0 / 0.7867 GB, free: 9.691 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 0.0001033/0.3186, allocations: 114.4 kB / 0.7868 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.356e-05/0.3186, allocations: 0 / 0.7868 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.219e-05/0.3187, allocations: 7.906 kB / 0.7868 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.3187, allocations: 7.938 kB / 0.7868 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/0.3187, allocations: 7.984 kB / 0.7869 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.3187, allocations: 0 / 0.7869 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000181/0.3189, allocations: 177.5 kB / 0.787 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3189, allocations: 0 / 0.787 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001035/0.319, allocations: 11.98 kB / 0.787 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.319, allocations: 0 / 0.787 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.319, allocations: 4 kB / 0.787 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.319, allocations: 0 / 0.787 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.319, allocations: 3.984 kB / 0.787 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003767/0.3194, allocations: 195.3 kB / 0.7872 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.21e-05/0.3195, allocations: 77.11 kB / 0.7873 GB, free: 9 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.197e-05/0.3195, allocations: 8 kB / 0.7873 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.968e-05/0.3196, allocations: 7.984 kB / 0.7873 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.009e-05/0.3197, allocations: 12.3 kB / 0.7873 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.978e-06/0.3197, allocations: 0 / 0.7873 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.308e-05/0.3197, allocations: 103.2 kB / 0.7874 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3198, allocations: 0 / 0.7874 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002111/0.32, allocations: 4 kB / 0.7874 GB, free: 8.867 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.0001908/0.3202, allocations: 99.25 kB / 0.7875 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003527/0.3205, allocations: 71.91 kB / 0.7876 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.3205, allocations: 11.94 kB / 0.7876 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001487/0.3207, allocations: 35.95 kB / 0.7876 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004073/0.3211, allocations: 7.938 kB / 0.7876 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004922/0.3216, allocations: 141.3 kB / 0.7878 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004208/0.3221, allocations: 0.6807 MB / 0.7884 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.035e-05/0.3221, allocations: 7.984 kB / 0.7885 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.086e-05/0.3222, allocations: 7.438 kB / 0.7885 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of SimCode: time 6.71e-07/0.3222, allocations: 0 / 0.7885 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of Templates: time 0.003253/0.3254, allocations: 0.6141 MB / 0.7891 GB, free: 7.141 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)