Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3.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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.And3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.And3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006446/0.006446, allocations: 105.4 kB / 15.74 MB, free: 6.008 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.001528/0.001529, allocations: 188.5 kB / 16.67 MB, free: 5.926 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.77/1.77, allocations: 205.1 MB / 222.6 MB, free: 4.484 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.66/1.66, allocations: 251.7 MB / 0.5094 GB, free: 3.031 MB / 414.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.001474/0.001474, allocations: 67.91 kB / 0.7258 GB, free: 9.012 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3044/0.3059, allocations: 104.7 MB / 0.8281 GB, free: 212 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And3): time 0.002793/0.3087, allocations: 1.433 MB / 0.8295 GB, free: 14.77 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0005147/0.3093, allocations: 228.5 kB / 0.8297 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.567e-05/0.3093, allocations: 4 kB / 0.8297 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.806e-05/0.3094, allocations: 3.938 kB / 0.8297 GB, free: 14.53 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 9.64e-05/0.3095, allocations: 19.8 kB / 0.8297 GB, free: 14.51 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001711/0.3096, allocations: 23.95 kB / 0.8297 GB, free: 14.49 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001464/0.3098, allocations: 87.66 kB / 0.8298 GB, free: 14.4 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001379/0.3099, allocations: 16.17 kB / 0.8298 GB, free: 14.38 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 6.897e-05/0.31, allocations: 31.92 kB / 0.8299 GB, free: 14.35 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 7.111e-05/0.3101, allocations: 31.84 kB / 0.8299 GB, free: 14.32 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.922e-05/0.3101, allocations: 11.98 kB / 0.8299 GB, free: 14.31 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.672e-05/0.3102, allocations: 4 kB / 0.8299 GB, free: 14.3 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.12e-05/0.3102, allocations: 19.92 kB / 0.8299 GB, free: 14.29 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 5.63e-05/0.3102, allocations: 27.86 kB / 0.83 GB, free: 14.26 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.000152/0.3104, allocations: 87.56 kB / 0.83 GB, free: 14.17 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.3104, allocations: 0 / 0.83 GB, free: 14.17 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.877e-06/0.3104, allocations: 0 / 0.83 GB, free: 14.17 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.3104, allocations: 3.938 kB / 0.83 GB, free: 14.17 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006974/0.3111, allocations: 399.1 kB / 0.8304 GB, free: 13.73 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.3112, allocations: 12.03 kB / 0.8304 GB, free: 13.72 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.531e-05/0.3113, allocations: 8.891 kB / 0.8304 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000157/0.3114, allocations: 176.3 kB / 0.8306 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.984e-05/0.3114, allocations: 8.359 kB / 0.8306 GB, free: 13.49 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.17e-05/0.3115, allocations: 8.375 kB / 0.8306 GB, free: 13.48 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001367/0.3116, allocations: 62.17 kB / 0.8307 GB, free: 13.42 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.3116, allocations: 3.938 kB / 0.8307 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.3117, allocations: 4 kB / 0.8307 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.3117, allocations: 0 / 0.8307 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.794e-05/0.3118, allocations: 31.98 kB / 0.8307 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005132/0.3123, allocations: 316.6 kB / 0.831 GB, free: 13.02 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001101/0.3124, allocations: 42.56 kB / 0.8311 GB, free: 12.97 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.988e-05/0.3125, allocations: 24.86 kB / 0.8311 GB, free: 12.94 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.464e-05/0.3125, allocations: 7.984 kB / 0.8311 GB, free: 12.93 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001785/0.3127, allocations: 83.39 kB / 0.8312 GB, free: 12.84 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=10): time 1.773e-06/0.3127, allocations: 4 kB / 0.8312 GB, free: 12.84 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10): time 0.0002861/0.313, allocations: 113.6 kB / 0.8313 GB, free: 12.72 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.5e-05/0.313, allocations: 59.55 kB / 0.8313 GB, free: 12.65 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001278/0.3132, allocations: 125.8 kB / 0.8315 GB, free: 12.52 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.137e-05/0.3132, allocations: 29.7 kB / 0.8315 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.314e-05/0.3133, allocations: 96.09 kB / 0.8316 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.031e-05/0.3133, allocations: 11.91 kB / 0.8316 GB, free: 12.37 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.033e-05/0.3133, allocations: 33.7 kB / 0.8316 GB, free: 12.33 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001477/0.3135, allocations: 322.8 kB / 0.8319 GB, free: 12.01 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.534e-05/0.3135, allocations: 24 kB / 0.832 GB, free: 11.98 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.726e-05/0.3136, allocations: 51.42 kB / 0.832 GB, free: 11.92 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001049/0.3137, allocations: 71.36 kB / 0.8321 GB, free: 11.84 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.3137, allocations: 3.938 kB / 0.8321 GB, free: 11.84 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001507/0.3139, allocations: 101.8 kB / 0.8322 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.3139, allocations: 4 kB / 0.8322 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.3139, allocations: 4 kB / 0.8322 GB, free: 11.72 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.3139, allocations: 4.094 kB / 0.8322 GB, free: 11.72 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.982e-05/0.314, allocations: 7.984 kB / 0.8322 GB, free: 11.71 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.314, allocations: 7.938 kB / 0.8322 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001179/0.3142, allocations: 23.88 kB / 0.8322 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.498e-06/0.3142, allocations: 4 kB / 0.8322 GB, free: 11.68 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition3,$whenCondition2,$whenCondition1,booPul3.pulseStart,$PRE.booPul3.pulseStart,booPul3.y,and1.y,booPul2.pulseStart,$PRE.booPul2.pulseStart,booPul2.y,booPul1.pulseStart,$PRE.booPul1.pulseStart,booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001093/0.3143, allocations: 133.8 kB / 0.8324 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.586e-05/0.3143, allocations: 7.953 kB / 0.8324 GB, free: 11.53 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.033e-05/0.3144, allocations: 8.375 kB / 0.8324 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.3144, allocations: 4 kB / 0.8324 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.3144, allocations: 0 / 0.8324 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.3144, allocations: 4 kB / 0.8324 GB, free: 11.51 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001742/0.3146, allocations: 189.5 kB / 0.8326 GB, free: 11.28 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.3146, allocations: 4 kB / 0.8326 GB, free: 11.27 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.909e-06/0.3146, allocations: 0 / 0.8326 GB, free: 11.27 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.3146, allocations: 0 / 0.8326 GB, free: 11.27 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.3146, allocations: 11.92 kB / 0.8326 GB, free: 11.26 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.3146, allocations: 4 kB / 0.8326 GB, free: 11.26 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.3146, allocations: 0 / 0.8326 GB, free: 11.26 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001717/0.3148, allocations: 124.9 kB / 0.8327 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.572e-05/0.3149, allocations: 85.06 kB / 0.8328 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.735e-05/0.3149, allocations: 0 / 0.8328 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001035/0.315, allocations: 19.97 kB / 0.8328 GB, free: 11 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.453e-05/0.3151, allocations: 15.98 kB / 0.8328 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.951e-06/0.3151, allocations: 0 / 0.8328 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 7.476e-05/0.3151, allocations: 95.27 kB / 0.8329 GB, free: 10.89 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3152, allocations: 4 kB / 0.8329 GB, free: 10.88 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002048/0.3154, allocations: 23.94 kB / 0.8329 GB, free: 10.86 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: 10 ($whenCondition3,$whenCondition2,$whenCondition1,booPul1.y,booPul1.pulseStart,booPul2.y,booPul2.pulseStart,and1.y,booPul3.y,booPul3.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001385/0.3155, allocations: 99.25 kB / 0.833 GB, free: 10.75 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001573/0.3157, allocations: 71.97 kB / 0.8331 GB, free: 10.68 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.3157, allocations: 3.938 kB / 0.8331 GB, free: 10.68 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 8.206e-05/0.3158, allocations: 39.92 kB / 0.8331 GB, free: 10.64 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002581/0.316, allocations: 24.17 kB / 0.8332 GB, free: 10.62 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004154/0.3165, allocations: 186.3 kB / 0.8333 GB, free: 10.41 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003665/0.3168, allocations: 0.6961 MB / 0.834 GB, free: 9.684 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 4.241e-05/0.3169, allocations: 8.562 kB / 0.834 GB, free: 9.676 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.904e-05/0.3169, allocations: 19.44 kB / 0.834 GB, free: 9.656 MB / 0.6544 GB Notification: Performance of SimCode: time 2.51e-07/0.3169, allocations: 0 / 0.834 GB, free: 9.656 MB / 0.6544 GB Notification: Performance of Templates: time 0.003793/0.3207, allocations: 1.275 MB / 0.8353 GB, free: 8.402 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe 2>&1)