Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Change.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.Logical.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Change") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Change") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001296/0.001296, allocations: 103.7 kB / 15.98 MB, free: 6.348 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.001292/0.001292, allocations: 198.9 kB / 16.91 MB, free: 6.188 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.455/1.455, allocations: 205.1 MB / 222.8 MB, free: 4.707 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.726/1.726, allocations: 292.3 MB / 0.5492 GB, free: 13.62 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.001382/0.001382, allocations: 71.98 kB / 0.6717 GB, free: 26.43 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2742/0.2756, allocations: 114.5 MB / 0.7835 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.002164/0.2778, allocations: 0.8173 MB / 0.7843 GB, free: 13.06 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001465/0.2793, allocations: 1.153 MB / 0.7855 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.619e-05/0.2793, allocations: 0 / 0.7855 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.143e-05/0.2794, allocations: 0 / 0.7855 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.797e-05/0.2795, allocations: 3.938 kB / 0.7855 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005138/0.28, allocations: 124 kB / 0.7856 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001572/0.2802, allocations: 123.8 kB / 0.7857 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.2803, allocations: 19.98 kB / 0.7857 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.114e-05/0.2804, allocations: 43.92 kB / 0.7858 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.129e-05/0.2805, allocations: 43.81 kB / 0.7858 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.455e-05/0.2805, allocations: 8 kB / 0.7858 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.676e-05/0.2806, allocations: 35.92 kB / 0.7858 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.267e-05/0.2806, allocations: 15.92 kB / 0.7859 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.268e-05/0.2807, allocations: 43.84 kB / 0.7859 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001312/0.2808, allocations: 71.84 kB / 0.786 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.2808, allocations: 0 / 0.786 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.036e-06/0.2808, allocations: 3.984 kB / 0.786 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.2809, allocations: 0 / 0.786 GB, free: 11.37 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006151/0.2815, allocations: 413.2 kB / 0.7864 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.2815, allocations: 12.03 kB / 0.7864 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.88e-05/0.2816, allocations: 8.844 kB / 0.7864 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001192/0.2817, allocations: 168.4 kB / 0.7865 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.009e-05/0.2817, allocations: 8.375 kB / 0.7866 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.306e-05/0.2818, allocations: 4.375 kB / 0.7866 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002037/0.282, allocations: 70.2 kB / 0.7866 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.617e-06/0.282, allocations: 192 / 0.7866 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.705e-05/0.282, allocations: 7.938 kB / 0.7866 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.282, allocations: 0 / 0.7866 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001849/0.2822, allocations: 47.89 kB / 0.7867 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004946/0.2827, allocations: 332.6 kB / 0.787 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001817/0.2829, allocations: 66.48 kB / 0.7871 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001039/0.283, allocations: 36.97 kB / 0.7871 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.563e-05/0.283, allocations: 3.938 kB / 0.7871 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002463/0.2833, allocations: 83.36 kB / 0.7872 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 1.753e-06/0.2833, allocations: 0 / 0.7872 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.0004629/0.2838, allocations: 145.6 kB / 0.7873 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.276e-05/0.2838, allocations: 55.34 kB / 0.7874 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.67e-05/0.2839, allocations: 121.8 kB / 0.7875 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.803e-05/0.284, allocations: 29.7 kB / 0.7875 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.431e-05/0.284, allocations: 95.98 kB / 0.7876 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.542e-05/0.2841, allocations: 19.8 kB / 0.7876 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.292e-05/0.2841, allocations: 37.7 kB / 0.7877 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001138/0.2843, allocations: 318.8 kB / 0.788 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000156/0.2844, allocations: 55.97 kB / 0.788 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001619/0.2846, allocations: 80.25 kB / 0.7881 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002683/0.2849, allocations: 145.8 kB / 0.7882 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.2849, allocations: 0 / 0.7882 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004243/0.2853, allocations: 215.4 kB / 0.7884 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.458e-05/0.2854, allocations: 37.69 kB / 0.7885 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.279e-06/0.2854, allocations: 4.125 kB / 0.7885 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.2854, allocations: 0 / 0.7885 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.017e-05/0.2855, allocations: 11.98 kB / 0.7885 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/0.2855, allocations: 7.984 kB / 0.7885 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002147/0.2857, allocations: 39.89 kB / 0.7885 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.149e-05/0.2858, allocations: 4 kB / 0.7885 GB, free: 8.457 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,change.y,change.u,$PRE.change.u,booPul.y,$PRE.booPul.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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.474e-05/0.2859, allocations: 129.7 kB / 0.7887 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.092e-05/0.2859, allocations: 7.906 kB / 0.7887 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.316e-05/0.2859, allocations: 16.34 kB / 0.7887 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.127e-06/0.2859, allocations: 4 kB / 0.7887 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.2859, allocations: 0 / 0.7887 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.286, allocations: 0 / 0.7887 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004495/0.2864, allocations: 378.4 kB / 0.789 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.2864, allocations: 0 / 0.789 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.177e-05/0.2865, allocations: 8 kB / 0.7891 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.2865, allocations: 0 / 0.7891 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/0.2865, allocations: 7.984 kB / 0.7891 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.2865, allocations: 0 / 0.7891 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.2865, allocations: 0 / 0.7891 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002781/0.2868, allocations: 215.3 kB / 0.7893 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.3e-05/0.2868, allocations: 81.08 kB / 0.7893 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.186e-05/0.2869, allocations: 15.94 kB / 0.7894 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.192e-05/0.287, allocations: 7.984 kB / 0.7894 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.745e-05/0.287, allocations: 3.938 kB / 0.7894 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.193e-05/0.287, allocations: 11.92 kB / 0.7894 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.571e-05/0.2871, allocations: 87.28 kB / 0.7895 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2871, allocations: 0 / 0.7895 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002565/0.2873, allocations: 28 kB / 0.7895 GB, free: 7.375 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: 7 (change.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,change.u,triggeredSampler.y) * Number of discrete states: 1 (change.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.000182/0.2875, allocations: 107.2 kB / 0.7896 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003798/0.2879, allocations: 183.3 kB / 0.7898 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.2879, allocations: 0 / 0.7898 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001184/0.2881, allocations: 39.91 kB / 0.7898 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002774/0.2883, allocations: 12.25 kB / 0.7898 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003914/0.2887, allocations: 212.3 kB / 0.79 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002856/0.289, allocations: 0.6875 MB / 0.7907 GB, free: 6.062 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.128e-05/0.2891, allocations: 15.44 kB / 0.7907 GB, free: 6.051 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.2891, allocations: 4 kB / 0.7907 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of Templates: time 0.003033/0.2921, allocations: 1.263 MB / 0.7919 GB, free: 4.793 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Change.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Change.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Change -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1)