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.LogicalSwitch.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.507/1.507, allocations: 251.5 MB / 267.4 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001303/0.001303, allocations: 178 kB / 326.5 MB, free: 2.691 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.946/1.946, allocations: 205 MB / 0.5766 GB, free: 21 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007697/0.0007696, allocations: 107.4 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003222/0.0003221, allocations: 15.36 kB / 0.7938 GB, free: 136.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2191/0.2195, allocations: 105.4 MB / 0.8968 GB, free: 68.16 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch): time 0.00167/0.2212, allocations: 1.158 MB / 0.8979 GB, free: 66.98 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004118/0.2216, allocations: 221 kB / 0.8981 GB, free: 66.77 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.877e-05/0.2217, allocations: 0 / 0.8981 GB, free: 66.77 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 4.4e-05/0.2218, allocations: 7.922 kB / 0.8981 GB, free: 66.76 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.076e-05/0.2219, allocations: 23.84 kB / 0.8981 GB, free: 66.73 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001511/0.222, allocations: 15.98 kB / 0.8982 GB, free: 66.72 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.956e-05/0.2221, allocations: 79.72 kB / 0.8982 GB, free: 66.64 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.2222, allocations: 16.47 kB / 0.8983 GB, free: 66.62 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.707e-05/0.2223, allocations: 23.86 kB / 0.8983 GB, free: 66.6 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.262e-05/0.2224, allocations: 31.84 kB / 0.8983 GB, free: 66.57 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.748e-05/0.2224, allocations: 0 / 0.8983 GB, free: 66.57 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.277e-05/0.2224, allocations: 4 kB / 0.8983 GB, free: 66.56 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.303e-05/0.2224, allocations: 19.91 kB / 0.8983 GB, free: 66.54 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.278e-05/0.2225, allocations: 27.86 kB / 0.8984 GB, free: 66.52 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.128e-05/0.2226, allocations: 63.7 kB / 0.8984 GB, free: 66.45 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.2226, allocations: 0 / 0.8984 GB, free: 66.45 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.943e-06/0.2226, allocations: 4 kB / 0.8984 GB, free: 66.45 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.2226, allocations: 0 / 0.8984 GB, free: 66.45 MB / 0.6042 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.000565/0.2232, allocations: 403.2 kB / 0.8988 GB, free: 66.01 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.2232, allocations: 12.03 kB / 0.8988 GB, free: 66 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.525e-05/0.2233, allocations: 8.844 kB / 0.8988 GB, free: 65.99 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001546/0.2234, allocations: 188.1 kB / 0.899 GB, free: 65.77 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.212e-05/0.2235, allocations: 4.375 kB / 0.899 GB, free: 65.76 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.449e-05/0.2235, allocations: 4.375 kB / 0.899 GB, free: 65.76 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001239/0.2236, allocations: 66.17 kB / 0.8991 GB, free: 65.69 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.2236, allocations: 3.938 kB / 0.8991 GB, free: 65.68 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.2236, allocations: 0 / 0.8991 GB, free: 65.68 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.2236, allocations: 0 / 0.8991 GB, free: 65.68 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.546e-05/0.2237, allocations: 35.92 kB / 0.8991 GB, free: 65.65 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004008/0.2241, allocations: 316.6 kB / 0.8994 GB, free: 65.29 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 8.341e-05/0.2242, allocations: 50.56 kB / 0.8995 GB, free: 65.23 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.915e-05/0.2243, allocations: 25.75 kB / 0.8995 GB, free: 65.2 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.462e-05/0.2243, allocations: 0 / 0.8995 GB, free: 65.2 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001612/0.2245, allocations: 87.38 kB / 0.8996 GB, free: 65.11 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=10): time 2.144e-06/0.2245, allocations: 0 / 0.8996 GB, free: 65.11 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10): time 0.0002423/0.2247, allocations: 113.5 kB / 0.8997 GB, free: 64.99 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.467e-05/0.2248, allocations: 55.41 kB / 0.8997 GB, free: 64.92 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.032e-05/0.2248, allocations: 125.8 kB / 0.8999 GB, free: 64.79 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.591e-05/0.2249, allocations: 29.7 kB / 0.8999 GB, free: 64.75 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.942e-05/0.2249, allocations: 96.19 kB / 0.9 GB, free: 64.66 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.881e-05/0.2249, allocations: 23.8 kB / 0.9 GB, free: 64.63 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.967e-05/0.225, allocations: 17.72 kB / 0.9 GB, free: 64.61 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.886e-05/0.225, allocations: 326.8 kB / 0.9003 GB, free: 64.28 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.584e-05/0.2251, allocations: 19.98 kB / 0.9003 GB, free: 64.26 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.693e-05/0.2251, allocations: 51.36 kB / 0.9004 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.037e-05/0.2252, allocations: 67.38 kB / 0.9005 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.2252, allocations: 0 / 0.9005 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001226/0.2253, allocations: 113.8 kB / 0.9006 GB, free: 64 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.2254, allocations: 7.984 kB / 0.9006 GB, free: 64 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.2254, allocations: 0 / 0.9006 GB, free: 64 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.2254, allocations: 4 kB / 0.9006 GB, free: 63.99 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.59e-05/0.2255, allocations: 4 kB / 0.9006 GB, free: 63.99 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.2255, allocations: 4 kB / 0.9006 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001127/0.2256, allocations: 35.91 kB / 0.9006 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.032e-06/0.2256, allocations: 0 / 0.9006 GB, free: 63.95 MB / 0.6042 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,logicalSwitch.y,booPul3.pulseStart,$PRE.booPul3.pulseStart,booPul3.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 6.295e-05/0.2257, allocations: 129.7 kB / 0.9007 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.474e-05/0.2257, allocations: 4 kB / 0.9007 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.3e-05/0.2257, allocations: 12.31 kB / 0.9008 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.2257, allocations: 4 kB / 0.9008 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.2257, allocations: 4 kB / 0.9008 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.907e-05/0.2258, allocations: 85 kB / 0.9008 GB, free: 63.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.006e-05/0.2258, allocations: 8 kB / 0.9009 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.2259, allocations: 23.92 kB / 0.9009 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.333e-05/0.226, allocations: 15.97 kB / 0.9009 GB, free: 63.64 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002117/0.2262, allocations: 188.9 kB / 0.9011 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001655/0.2264, allocations: 274.6 kB / 0.9013 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.433e-05/0.2264, allocations: 27.98 kB / 0.9014 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.007e-05/0.2265, allocations: 99.27 kB / 0.9015 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of Backend: time 3.4e-07/0.2265, allocations: 4.281 kB / 0.9015 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003721/0.2269, allocations: 123 kB / 0.9016 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0005248/0.2274, allocations: 0.6496 MB / 0.9022 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of Templates: time 0.003149/0.2306, allocations: 1.194 MB / 0.9034 GB, free: 61.04 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe 2>&1)