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.001688/0.001688, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.002078/0.002079, allocations: 191.9 kB / 16.13 MB, free: 6.668 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.775/1.775, allocations: 205.1 MB / 222 MB, free: 4.734 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.825/1.825, allocations: 292.2 MB / 0.5484 GB, free: 13.65 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.001332/0.001332, allocations: 64.56 kB / 0.6708 GB, free: 26.26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2729/0.2742, allocations: 114.6 MB / 0.7827 GB, free: 14 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.003253/0.2776, allocations: 0.8095 MB / 0.7835 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002032/0.2796, allocations: 1.161 MB / 0.7846 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.089e-05/0.2797, allocations: 4 kB / 0.7846 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.501e-05/0.2798, allocations: 3.938 kB / 0.7846 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.483e-05/0.2799, allocations: 7.938 kB / 0.7846 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005364/0.2804, allocations: 129.6 kB / 0.7848 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001849/0.2806, allocations: 103.8 kB / 0.7849 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.2807, allocations: 8 kB / 0.7849 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001119/0.2809, allocations: 39.91 kB / 0.7849 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.982e-05/0.2809, allocations: 47.81 kB / 0.7849 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.225e-05/0.281, allocations: 4 kB / 0.7849 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.239e-05/0.2811, allocations: 23.98 kB / 0.785 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.846e-05/0.2811, allocations: 15.92 kB / 0.785 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001327/0.2813, allocations: 43.83 kB / 0.785 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000194/0.2815, allocations: 95.75 kB / 0.7851 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.2815, allocations: 0 / 0.7851 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.456e-06/0.2815, allocations: 4 kB / 0.7851 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.641e-06/0.2815, allocations: 0 / 0.7851 GB, free: 11.49 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.0007034/0.2822, allocations: 417.2 kB / 0.7855 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/0.2823, allocations: 8.031 kB / 0.7855 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.86e-05/0.2823, allocations: 12.84 kB / 0.7855 GB, free: 11 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001524/0.2825, allocations: 172.3 kB / 0.7857 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.117e-05/0.2825, allocations: 4.375 kB / 0.7857 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.584e-05/0.2826, allocations: 12.31 kB / 0.7857 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002195/0.2828, allocations: 62.22 kB / 0.7858 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.2828, allocations: 192 / 0.7858 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.535e-05/0.2828, allocations: 7.938 kB / 0.7858 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.2828, allocations: 4 kB / 0.7858 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001973/0.283, allocations: 39.95 kB / 0.7858 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006142/0.2837, allocations: 336.6 kB / 0.7862 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001857/0.2839, allocations: 66.55 kB / 0.7862 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001772/0.2841, allocations: 40.89 kB / 0.7863 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.217e-05/0.2841, allocations: 3.984 kB / 0.7863 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002693/0.2843, allocations: 91.3 kB / 0.7863 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 1.543e-06/0.2844, allocations: 0 / 0.7863 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.0004641/0.2848, allocations: 141.5 kB / 0.7865 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.613e-05/0.2849, allocations: 55.41 kB / 0.7865 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001161/0.285, allocations: 117.8 kB / 0.7866 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.564e-05/0.2851, allocations: 29.7 kB / 0.7867 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.012e-05/0.2851, allocations: 96.11 kB / 0.7868 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.883e-05/0.2852, allocations: 11.81 kB / 0.7868 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.564e-05/0.2852, allocations: 41.69 kB / 0.7868 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.2854, allocations: 322.8 kB / 0.7871 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001623/0.2855, allocations: 51.95 kB / 0.7872 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001724/0.2857, allocations: 92.19 kB / 0.7873 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003096/0.286, allocations: 145.8 kB / 0.7874 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.2861, allocations: 0 / 0.7874 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004433/0.2865, allocations: 203.2 kB / 0.7876 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.168e-05/0.2866, allocations: 45.81 kB / 0.7876 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.2866, allocations: 0 / 0.7876 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.12e-05/0.2866, allocations: 4 kB / 0.7876 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001028/0.2867, allocations: 15.88 kB / 0.7877 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/0.2867, allocations: 4.297 kB / 0.7877 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002369/0.287, allocations: 31.91 kB / 0.7877 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.049e-05/0.287, allocations: 15.98 kB / 0.7877 GB, free: 8.559 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.0001258/0.2872, allocations: 126.7 kB / 0.7878 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.641e-05/0.2872, allocations: 3.906 kB / 0.7878 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.055e-05/0.2872, allocations: 12.38 kB / 0.7878 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.2872, allocations: 3.938 kB / 0.7878 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.2873, allocations: 0 / 0.7878 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.2873, allocations: 3.984 kB / 0.7878 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005034/0.2878, allocations: 374.5 kB / 0.7882 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.2878, allocations: 4 kB / 0.7882 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.539e-05/0.2879, allocations: 7.984 kB / 0.7882 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.2879, allocations: 3.938 kB / 0.7882 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.2879, allocations: 0 / 0.7882 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.2879, allocations: 4 kB / 0.7882 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.2879, allocations: 0 / 0.7882 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000303/0.2882, allocations: 215.3 kB / 0.7884 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.688e-05/0.2883, allocations: 85 kB / 0.7885 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.916e-05/0.2883, allocations: 4 kB / 0.7885 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.172e-05/0.2884, allocations: 8 kB / 0.7885 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.95e-05/0.2884, allocations: 15.98 kB / 0.7885 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.728e-06/0.2885, allocations: 3.938 kB / 0.7885 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.819e-05/0.2885, allocations: 91.27 kB / 0.7886 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2885, allocations: 0 / 0.7886 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002696/0.2888, allocations: 28 kB / 0.7887 GB, free: 7.484 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.0002036/0.289, allocations: 111.2 kB / 0.7888 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003973/0.2894, allocations: 175.3 kB / 0.7889 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.2894, allocations: 0 / 0.7889 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001645/0.2896, allocations: 36.23 kB / 0.789 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003032/0.2899, allocations: 11.98 kB / 0.789 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004332/0.2904, allocations: 176.4 kB / 0.7891 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003437/0.2907, allocations: 0.6926 MB / 0.7898 GB, free: 6.215 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.707e-05/0.2908, allocations: 4 kB / 0.7898 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.519e-05/0.2908, allocations: 11.44 kB / 0.7898 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of SimCode: time 3.6e-07/0.2908, allocations: 0 / 0.7898 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of Templates: time 0.004218/0.295, allocations: 1.348 MB / 0.7912 GB, free: 4.871 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)