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.01037/0.01037, allocations: 100.1 kB / 15.73 MB, free: 5.965 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.002158/0.002158, allocations: 198.7 kB / 16.68 MB, free: 5.887 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.762/1.762, allocations: 205.1 MB / 222.5 MB, free: 4.496 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.659/1.659, allocations: 251.7 MB / 0.5094 GB, free: 3.062 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.001441/0.001442, allocations: 71.89 kB / 0.7258 GB, free: 9 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2949/0.2963, allocations: 104.7 MB / 0.8281 GB, free: 196 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And3): time 0.002742/0.2991, allocations: 1.432 MB / 0.8295 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0005211/0.2997, allocations: 232.5 kB / 0.8297 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.354e-05/0.2997, allocations: 0 / 0.8297 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.546e-05/0.2998, allocations: 7.922 kB / 0.8297 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001228/0.2999, allocations: 15.88 kB / 0.8297 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001972/0.3001, allocations: 23.91 kB / 0.8297 GB, free: 14.48 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.000144/0.3003, allocations: 95.69 kB / 0.8298 GB, free: 14.38 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001558/0.3004, allocations: 12.19 kB / 0.8298 GB, free: 14.37 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 7.397e-05/0.3005, allocations: 31.86 kB / 0.8299 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 7.8e-05/0.3006, allocations: 35.84 kB / 0.8299 GB, free: 14.3 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.475e-05/0.3006, allocations: 4 kB / 0.8299 GB, free: 14.3 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.767e-05/0.3007, allocations: 8 kB / 0.8299 GB, free: 14.29 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.343e-05/0.3007, allocations: 15.92 kB / 0.8299 GB, free: 14.27 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 7.223e-05/0.3008, allocations: 35.84 kB / 0.83 GB, free: 14.24 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001503/0.3009, allocations: 71.7 kB / 0.83 GB, free: 14.17 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.71e-06/0.3009, allocations: 0 / 0.83 GB, free: 14.17 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.866e-06/0.301, allocations: 3.938 kB / 0.83 GB, free: 14.16 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.313e-05/0.301, allocations: 4 kB / 0.83 GB, free: 14.16 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.0007246/0.3017, allocations: 403.1 kB / 0.8304 GB, free: 13.72 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.3018, allocations: 11.97 kB / 0.8304 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.578e-05/0.3018, allocations: 8.844 kB / 0.8304 GB, free: 13.7 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000193/0.302, allocations: 184.3 kB / 0.8306 GB, free: 13.48 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.581e-05/0.302, allocations: 384 / 0.8306 GB, free: 13.48 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.112e-05/0.3021, allocations: 4.375 kB / 0.8306 GB, free: 13.48 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001552/0.3022, allocations: 70.17 kB / 0.8307 GB, free: 13.4 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.3022, allocations: 3.938 kB / 0.8307 GB, free: 13.4 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.581e-05/0.3023, allocations: 0 / 0.8307 GB, free: 13.4 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.075e-05/0.3023, allocations: 11.92 kB / 0.8307 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.934e-05/0.3024, allocations: 27.98 kB / 0.8307 GB, free: 13.36 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005098/0.3029, allocations: 304.7 kB / 0.831 GB, free: 13.01 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000108/0.303, allocations: 58.59 kB / 0.8311 GB, free: 12.95 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.282e-05/0.303, allocations: 24.84 kB / 0.8311 GB, free: 12.92 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.459e-05/0.3031, allocations: 0 / 0.8311 GB, free: 12.92 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001818/0.3033, allocations: 83.28 kB / 0.8312 GB, free: 12.82 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=10): time 1.383e-06/0.3033, allocations: 0 / 0.8312 GB, free: 12.82 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10): time 0.0002714/0.3035, allocations: 109.6 kB / 0.8313 GB, free: 12.71 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.73e-05/0.3036, allocations: 55.41 kB / 0.8313 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/0.3037, allocations: 133.7 kB / 0.8315 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.313e-05/0.3037, allocations: 29.7 kB / 0.8315 GB, free: 12.47 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.184e-05/0.3038, allocations: 96.06 kB / 0.8316 GB, free: 12.37 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.607e-05/0.3038, allocations: 23.86 kB / 0.8316 GB, free: 12.35 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.785e-05/0.3039, allocations: 29.7 kB / 0.8316 GB, free: 12.31 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001189/0.304, allocations: 322.8 kB / 0.8319 GB, free: 11.99 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.569e-05/0.3041, allocations: 23.98 kB / 0.832 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.379e-05/0.3041, allocations: 50.92 kB / 0.832 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.413e-05/0.3042, allocations: 71.62 kB / 0.8321 GB, free: 11.82 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.3042, allocations: 4 kB / 0.8321 GB, free: 11.82 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001504/0.3044, allocations: 101.5 kB / 0.8322 GB, free: 11.71 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.3044, allocations: 12.09 kB / 0.8322 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.3044, allocations: 0 / 0.8322 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.041e-05/0.3045, allocations: 4 kB / 0.8322 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.865e-05/0.3045, allocations: 4 kB / 0.8322 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.3046, allocations: 0 / 0.8322 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000108/0.3047, allocations: 27.91 kB / 0.8322 GB, free: 11.67 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.778e-06/0.3047, allocations: 4 kB / 0.8322 GB, free: 11.66 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.0001682/0.3049, allocations: 125.7 kB / 0.8323 GB, free: 11.53 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.475e-05/0.3049, allocations: 11.91 kB / 0.8324 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.326e-05/0.3049, allocations: 16.38 kB / 0.8324 GB, free: 11.5 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.3049, allocations: 3.984 kB / 0.8324 GB, free: 11.5 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.3049, allocations: 0 / 0.8324 GB, free: 11.5 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.305, allocations: 0 / 0.8324 GB, free: 11.5 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002061/0.3052, allocations: 189.6 kB / 0.8326 GB, free: 11.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.3052, allocations: 0 / 0.8326 GB, free: 11.27 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.568e-06/0.3052, allocations: 0 / 0.8326 GB, free: 11.27 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.3052, allocations: 4 kB / 0.8326 GB, free: 11.26 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.3052, allocations: 0 / 0.8326 GB, free: 11.26 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.3052, allocations: 0 / 0.8326 GB, free: 11.26 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3052, allocations: 4 kB / 0.8326 GB, free: 11.26 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001717/0.3054, allocations: 128.9 kB / 0.8327 GB, free: 11.11 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.322e-05/0.3055, allocations: 81.02 kB / 0.8328 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.606e-05/0.3055, allocations: 0 / 0.8328 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.568e-05/0.3056, allocations: 19.97 kB / 0.8328 GB, free: 11 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.837e-05/0.3057, allocations: 11.98 kB / 0.8328 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.051e-05/0.3057, allocations: 8.188 kB / 0.8328 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 6.287e-05/0.3058, allocations: 103.2 kB / 0.8329 GB, free: 10.88 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3058, allocations: 3.938 kB / 0.8329 GB, free: 10.87 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0001952/0.306, allocations: 16 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.0001764/0.3062, allocations: 107.2 kB / 0.833 GB, free: 10.74 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001877/0.3063, allocations: 71.8 kB / 0.8331 GB, free: 10.67 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.3064, allocations: 0 / 0.8331 GB, free: 10.67 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 7.897e-05/0.3064, allocations: 44.09 kB / 0.8331 GB, free: 10.63 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002884/0.3067, allocations: 23.56 kB / 0.8332 GB, free: 10.61 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004407/0.3072, allocations: 182.5 kB / 0.8333 GB, free: 10.4 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002833/0.3075, allocations: 0.6961 MB / 0.834 GB, free: 9.68 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.543e-05/0.3075, allocations: 12.55 kB / 0.834 GB, free: 9.668 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.606e-05/0.3076, allocations: 11.44 kB / 0.834 GB, free: 9.656 MB / 0.6544 GB Notification: Performance of SimCode: time 2.31e-07/0.3076, allocations: 0 / 0.834 GB, free: 9.656 MB / 0.6544 GB Notification: Performance of Templates: time 0.004021/0.3116, allocations: 1.282 MB / 0.8353 GB, free: 8.387 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)