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.001433/0.001433, allocations: 105.2 kB / 16.29 MB, free: 6.426 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.001236/0.001236, allocations: 189.5 kB / 17.22 MB, free: 5.957 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.603/1.603, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.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.989/1.989, allocations: 292.3 MB / 0.5495 GB, free: 17.61 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.001496/0.001496, allocations: 68.47 kB / 0.6722 GB, free: 6.555 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2794/0.2809, allocations: 114.6 MB / 0.7841 GB, free: 3.887 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.002383/0.2834, allocations: 0.7605 MB / 0.7848 GB, free: 3.117 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001918/0.2853, allocations: 1.145 MB / 0.7859 GB, free: 1.957 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.791e-05/0.2854, allocations: 4 kB / 0.7859 GB, free: 1.953 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 4.243e-05/0.2855, allocations: 3.938 kB / 0.786 GB, free: 1.949 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001038/0.2856, allocations: 19.84 kB / 0.786 GB, free: 1.93 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006231/0.2862, allocations: 134.4 kB / 0.7861 GB, free: 1.801 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.000304/0.2865, allocations: 119.8 kB / 0.7862 GB, free: 1.684 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001409/0.2867, allocations: 15.98 kB / 0.7862 GB, free: 1.668 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001313/0.2868, allocations: 47.91 kB / 0.7863 GB, free: 1.621 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001325/0.2869, allocations: 47.86 kB / 0.7863 GB, free: 1.574 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.485e-05/0.287, allocations: 12 kB / 0.7863 GB, free: 1.562 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 9.552e-05/0.2871, allocations: 23.98 kB / 0.7864 GB, free: 1.539 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.955e-05/0.2871, allocations: 11.94 kB / 0.7864 GB, free: 1.527 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 8.909e-05/0.2872, allocations: 43.84 kB / 0.7864 GB, free: 1.484 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002319/0.2875, allocations: 115.7 kB / 0.7865 GB, free: 1.371 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.2875, allocations: 3.938 kB / 0.7865 GB, free: 1.367 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.924e-06/0.2875, allocations: 0 / 0.7865 GB, free: 1.367 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.081e-05/0.2875, allocations: 0 / 0.7865 GB, free: 1.367 MB / 0.6544 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.0008106/0.2883, allocations: 413.2 kB / 0.7869 GB, free: 0.9062 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.192e-05/0.2884, allocations: 12.03 kB / 0.7869 GB, free: 0.8945 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.142e-05/0.2884, allocations: 8.844 kB / 0.7869 GB, free: 0.8867 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000188/0.2886, allocations: 164.4 kB / 0.7871 GB, free: 0.6875 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.114e-05/0.2887, allocations: 12.38 kB / 0.7871 GB, free: 0.6758 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.683e-05/0.2887, allocations: 8.359 kB / 0.7871 GB, free: 0.668 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002345/0.2889, allocations: 62.23 kB / 0.7872 GB, free: 0.6016 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.289, allocations: 4.125 kB / 0.7872 GB, free: 0.5977 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.637e-05/0.289, allocations: 7.875 kB / 0.7872 GB, free: 0.5898 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.004e-06/0.289, allocations: 0 / 0.7872 GB, free: 0.5898 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000203/0.2892, allocations: 43.95 kB / 0.7872 GB, free: 0.5469 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005942/0.2898, allocations: 332.6 kB / 0.7875 GB, free: 176 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001787/0.29, allocations: 66.48 kB / 0.7876 GB, free: 100 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00011/0.2901, allocations: 36.95 kB / 0.7876 GB, free: 60 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.418e-05/0.2902, allocations: 0 / 0.7876 GB, free: 60 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.5704/0.8605, allocations: 87.8 kB / 0.7877 GB, free: 48.89 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=8): time 4.659e-06/0.8606, allocations: 1.156 kB / 0.7877 GB, free: 48.89 MB / 0.6544 GB Notification: Performance of matching and sorting (n=8): time 0.0005048/0.8611, allocations: 135.1 kB / 0.7879 GB, free: 48.86 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.005e-05/0.8611, allocations: 54.58 kB / 0.7879 GB, free: 48.8 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.074e-05/0.8612, allocations: 119.5 kB / 0.788 GB, free: 48.7 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.878e-05/0.8613, allocations: 31.89 kB / 0.7881 GB, free: 48.67 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.827e-05/0.8613, allocations: 92.61 kB / 0.7881 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.431e-05/0.8614, allocations: 15.42 kB / 0.7882 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.151e-05/0.8615, allocations: 38.48 kB / 0.7882 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.365e-05/0.8615, allocations: 319.3 kB / 0.7885 GB, free: 48.26 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001434/0.8617, allocations: 57.59 kB / 0.7886 GB, free: 48.26 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001455/0.8618, allocations: 86.42 kB / 0.7886 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002314/0.8621, allocations: 144.8 kB / 0.7888 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.8621, allocations: 0 / 0.7888 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003757/0.8625, allocations: 219.2 kB / 0.789 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.624e-05/0.8625, allocations: 38.77 kB / 0.789 GB, free: 48.06 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.8625, allocations: 0 / 0.789 GB, free: 48.06 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.889e-05/0.8625, allocations: 4.578 kB / 0.789 GB, free: 48.06 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001007/0.8626, allocations: 12.59 kB / 0.789 GB, free: 48.06 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.8627, allocations: 2.391 kB / 0.789 GB, free: 48.06 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001868/0.8629, allocations: 38.98 kB / 0.7891 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.217e-05/0.8629, allocations: 9.703 kB / 0.7891 GB, free: 48.05 MB / 0.6544 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 8.737e-05/0.863, allocations: 135 kB / 0.7892 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.268e-05/0.863, allocations: 8.469 kB / 0.7892 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.107e-05/0.863, allocations: 7.375 kB / 0.7892 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.863, allocations: 3.5 kB / 0.7892 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.8631, allocations: 0 / 0.7892 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.8631, allocations: 3.094 kB / 0.7892 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003738/0.8634, allocations: 374.7 kB / 0.7896 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.8635, allocations: 0 / 0.7896 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.777e-05/0.8635, allocations: 11.61 kB / 0.7896 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.8635, allocations: 3.25 kB / 0.7896 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/0.8635, allocations: 5.938 kB / 0.7896 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.8635, allocations: 0 / 0.7896 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.8635, allocations: 0 / 0.7896 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002423/0.8638, allocations: 212.9 kB / 0.7898 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.493e-05/0.8638, allocations: 80.7 kB / 0.7899 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.941e-05/0.8639, allocations: 6 kB / 0.7899 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.632e-05/0.8639, allocations: 4 kB / 0.7899 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.473e-05/0.864, allocations: 9.688 kB / 0.7899 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.654e-06/0.864, allocations: 2.625 kB / 0.7899 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.953e-05/0.8641, allocations: 96.45 kB / 0.79 GB, free: 47.33 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.8641, allocations: 2.438 kB / 0.79 GB, free: 47.33 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002771/0.8644, allocations: 28.84 kB / 0.79 GB, free: 47.32 MB / 0.6544 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.0001531/0.8645, allocations: 106.2 kB / 0.7901 GB, free: 47.24 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003492/0.8649, allocations: 178.8 kB / 0.7903 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.8649, allocations: 1.125 kB / 0.7903 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001063/0.865, allocations: 40.16 kB / 0.7903 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002868/0.8653, allocations: 17.56 kB / 0.7904 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003692/0.8657, allocations: 160.2 kB / 0.7905 GB, free: 47.06 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001391/0.8658, allocations: 0.6883 MB / 0.7912 GB, free: 46.37 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.003e-05/0.8659, allocations: 6.812 kB / 0.7912 GB, free: 46.37 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.379e-05/0.8659, allocations: 15.62 kB / 0.7912 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of SimCode: time 2.21e-07/0.8659, allocations: 3.172 kB / 0.7912 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of Templates: time 0.003955/0.8699, allocations: 1.44 MB / 0.7926 GB, free: 46.32 MB / 0.6544 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1)