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.001317/0.001317, allocations: 105.4 kB / 15.7 MB, free: 24 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.001439/0.001439, allocations: 198 kB / 16.64 MB, free: 6.449 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.686/1.686, allocations: 205.1 MB / 222.5 MB, free: 4.562 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.94/1.94, 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.001593/0.001594, allocations: 72.94 kB / 0.6723 GB, free: 26.02 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2675/0.2691, allocations: 114.6 MB / 0.7841 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.002207/0.2714, allocations: 0.76 MB / 0.7849 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001638/0.2731, allocations: 1.149 MB / 0.786 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.508e-05/0.2731, allocations: 0 / 0.786 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.255e-05/0.2732, allocations: 3.938 kB / 0.786 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.836e-05/0.2733, allocations: 11.91 kB / 0.786 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005104/0.2738, allocations: 134.4 kB / 0.7862 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001776/0.274, allocations: 119.8 kB / 0.7863 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.2741, allocations: 19.98 kB / 0.7863 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.485e-05/0.2742, allocations: 51.84 kB / 0.7863 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001018/0.2743, allocations: 43.88 kB / 0.7864 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.41e-05/0.2743, allocations: 11.98 kB / 0.7864 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.559e-05/0.2744, allocations: 27.98 kB / 0.7864 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.011e-05/0.2744, allocations: 7.938 kB / 0.7864 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.557e-05/0.2745, allocations: 43.84 kB / 0.7865 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001838/0.2747, allocations: 111.7 kB / 0.7866 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.2747, allocations: 0 / 0.7866 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.364e-06/0.2747, allocations: 0 / 0.7866 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.2747, allocations: 0 / 0.7866 GB, free: 10.21 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.0006769/0.2754, allocations: 420.9 kB / 0.787 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.2755, allocations: 8.031 kB / 0.787 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.449e-05/0.2755, allocations: 12.84 kB / 0.787 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001275/0.2757, allocations: 172.3 kB / 0.7872 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.691e-05/0.2757, allocations: 4.375 kB / 0.7872 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.152e-05/0.2757, allocations: 8.359 kB / 0.7872 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001877/0.2759, allocations: 66.17 kB / 0.7872 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.2759, allocations: 192 / 0.7872 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.2759, allocations: 7.938 kB / 0.7872 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.2759, allocations: 0 / 0.7872 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000173/0.2761, allocations: 43.95 kB / 0.7873 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005764/0.2767, allocations: 332.6 kB / 0.7876 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001745/0.2769, allocations: 62.48 kB / 0.7877 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001039/0.277, allocations: 41.02 kB / 0.7877 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.427e-05/0.277, allocations: 3.984 kB / 0.7877 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002663/0.2773, allocations: 87.38 kB / 0.7878 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 1.492e-06/0.2773, allocations: 0 / 0.7878 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.000437/0.2778, allocations: 145.5 kB / 0.7879 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.351e-05/0.2778, allocations: 55.41 kB / 0.788 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.563e-05/0.2779, allocations: 113.8 kB / 0.7881 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.865e-05/0.2779, allocations: 29.7 kB / 0.7881 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.755e-05/0.278, allocations: 99.97 kB / 0.7882 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.198e-05/0.278, allocations: 19.8 kB / 0.7882 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.248e-05/0.2781, allocations: 41.7 kB / 0.7883 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001247/0.2783, allocations: 318.8 kB / 0.7886 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001517/0.2784, allocations: 51.95 kB / 0.7886 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001748/0.2786, allocations: 88.64 kB / 0.7887 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002603/0.2789, allocations: 149.8 kB / 0.7888 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.2789, allocations: 0 / 0.7888 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004861/0.2794, allocations: 207.2 kB / 0.789 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.586e-05/0.2794, allocations: 33.7 kB / 0.7891 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.2794, allocations: 4 kB / 0.7891 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/0.2795, allocations: 3.938 kB / 0.7891 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001011/0.2796, allocations: 15.98 kB / 0.7891 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.936e-06/0.2796, allocations: 0 / 0.7891 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002019/0.2798, allocations: 35.89 kB / 0.7891 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.225e-05/0.2798, allocations: 12.06 kB / 0.7891 GB, free: 7.285 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 0.0001989/0.28, allocations: 125.8 kB / 0.7893 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.779e-05/0.2801, allocations: 15.83 kB / 0.7893 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.664e-05/0.2801, allocations: 8.375 kB / 0.7893 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.786e-06/0.2801, allocations: 0 / 0.7893 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.513e-06/0.2801, allocations: 0 / 0.7893 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.116e-06/0.2801, allocations: 4 kB / 0.7893 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004981/0.2806, allocations: 374.8 kB / 0.7897 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.2807, allocations: 0 / 0.7897 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.328e-05/0.2807, allocations: 11.92 kB / 0.7897 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.2807, allocations: 0 / 0.7897 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.2807, allocations: 4 kB / 0.7897 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.2808, allocations: 8 kB / 0.7897 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.2808, allocations: 80 / 0.7897 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003048/0.2811, allocations: 215.3 kB / 0.7899 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.143e-05/0.2811, allocations: 85.02 kB / 0.79 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.156e-05/0.2812, allocations: 3.938 kB / 0.79 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001118/0.2813, allocations: 7.984 kB / 0.79 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.461e-05/0.2813, allocations: 11.98 kB / 0.79 GB, free: 6.328 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.488e-06/0.2814, allocations: 3.938 kB / 0.79 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.808e-05/0.2814, allocations: 95.33 kB / 0.7901 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2814, allocations: 4 kB / 0.7901 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002836/0.2817, allocations: 23.98 kB / 0.7901 GB, free: 6.203 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.0001977/0.2819, allocations: 110.6 kB / 0.7902 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004206/0.2824, allocations: 179.2 kB / 0.7904 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.2824, allocations: 4 kB / 0.7904 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001273/0.2825, allocations: 44.22 kB / 0.7904 GB, free: 5.855 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003129/0.2828, allocations: 8 kB / 0.7904 GB, free: 5.848 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004391/0.2833, allocations: 166.6 kB / 0.7906 GB, free: 5.652 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003074/0.2836, allocations: 0.6873 MB / 0.7913 GB, free: 4.941 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.875e-05/0.2836, allocations: 7.984 kB / 0.7913 GB, free: 4.934 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.538e-05/0.2837, allocations: 19.38 kB / 0.7913 GB, free: 4.918 MB / 0.6075 GB Notification: Performance of SimCode: time 3.81e-07/0.2837, allocations: 0 / 0.7913 GB, free: 4.918 MB / 0.6075 GB Notification: Performance of Templates: time 0.004199/0.2879, allocations: 1.433 MB / 0.7927 GB, free: 3.496 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)