Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Or,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Or,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.333/2.333, allocations: 251.3 MB / 266.2 MB, free: 11.53 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001937/0.001936, allocations: 180.7 kB / 325.8 MB, free: 2.785 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.662/2.662, allocations: 205.4 MB / 0.5767 GB, free: 20.73 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00125/0.00125, allocations: 88.23 kB / 0.6812 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004674/0.0004677, allocations: 11.41 kB / 0.7953 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.228/0.2285, allocations: 106.3 MB / 0.899 GB, free: 65.38 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.001648/0.2302, allocations: 1.099 MB / 0.9001 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004721/0.2308, allocations: 193.5 kB / 0.9003 GB, free: 64.08 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.3e-05/0.2308, allocations: 0 / 0.9003 GB, free: 64.08 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.423e-05/0.2309, allocations: 7.922 kB / 0.9003 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.63e-05/0.231, allocations: 3.938 kB / 0.9003 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001534/0.2311, allocations: 15.92 kB / 0.9003 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.175e-05/0.2312, allocations: 59.78 kB / 0.9004 GB, free: 63.99 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.2313, allocations: 11.98 kB / 0.9004 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.766e-05/0.2314, allocations: 15.94 kB / 0.9004 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.865e-05/0.2315, allocations: 19.91 kB / 0.9004 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.289e-05/0.2315, allocations: 4 kB / 0.9004 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.387e-05/0.2315, allocations: 0 / 0.9004 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.727e-05/0.2316, allocations: 8 kB / 0.9004 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.506e-05/0.2316, allocations: 33.64 kB / 0.9005 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.54e-05/0.2317, allocations: 35.86 kB / 0.9005 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.2317, allocations: 0 / 0.9005 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.114e-06/0.2317, allocations: 0 / 0.9005 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.369e-06/0.2317, allocations: 0 / 0.9005 GB, free: 63.86 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005859/0.2323, allocations: 381 kB / 0.9009 GB, free: 63.44 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.2324, allocations: 12.02 kB / 0.9009 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.47e-05/0.2324, allocations: 4.938 kB / 0.9009 GB, free: 63.42 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001121/0.2325, allocations: 184.2 kB / 0.9011 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.782e-05/0.2326, allocations: 384 / 0.9011 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.494e-05/0.2326, allocations: 4.375 kB / 0.9011 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000126/0.2327, allocations: 58.17 kB / 0.9011 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.2328, allocations: 192 / 0.9011 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.411e-05/0.2328, allocations: 7.938 kB / 0.9011 GB, free: 63.13 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.2328, allocations: 0 / 0.9011 GB, free: 63.13 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.191e-05/0.2329, allocations: 20 kB / 0.9012 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004585/0.2334, allocations: 272.9 kB / 0.9014 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001295/0.2335, allocations: 50.5 kB / 0.9015 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.831e-05/0.2336, allocations: 24.92 kB / 0.9015 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.509e-05/0.2336, allocations: 0 / 0.9015 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001894/0.2338, allocations: 71.44 kB / 0.9016 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 2.525e-06/0.2338, allocations: 0 / 0.9016 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0002771/0.2341, allocations: 81.59 kB / 0.9016 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.75e-05/0.2341, allocations: 63.34 kB / 0.9017 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.898e-05/0.2342, allocations: 117.8 kB / 0.9018 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.449e-05/0.2343, allocations: 25.7 kB / 0.9018 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.76e-05/0.2343, allocations: 88.14 kB / 0.9019 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.268e-05/0.2343, allocations: 11.81 kB / 0.9019 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.731e-06/0.2344, allocations: 0 / 0.9019 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.202e-05/0.2344, allocations: 322.8 kB / 0.9022 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.419e-05/0.2345, allocations: 12 kB / 0.9022 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.872e-05/0.2346, allocations: 42.5 kB / 0.9023 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.558e-05/0.2346, allocations: 20.55 kB / 0.9023 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.2346, allocations: 0 / 0.9023 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001495/0.2348, allocations: 81.52 kB / 0.9024 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.2348, allocations: 8 kB / 0.9024 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.2348, allocations: 3.938 kB / 0.9024 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.2349, allocations: 0 / 0.9024 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.516e-05/0.2349, allocations: 16 kB / 0.9024 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.186e-06/0.235, allocations: 4 kB / 0.9024 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001492/0.2351, allocations: 15.92 kB / 0.9024 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.037e-05/0.2351, allocations: 4 kB / 0.9024 GB, free: 61.66 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,booPul1.y,$PRE.booPul1.pulseStart,booPul1.pulseStart,booPul2.y,$PRE.booPul2.pulseStart,booPul2.pulseStart,or1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.076e-05/0.2352, allocations: 121.8 kB / 0.9025 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.804e-05/0.2353, allocations: 7.906 kB / 0.9026 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.755e-05/0.2353, allocations: 8.375 kB / 0.9026 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.2353, allocations: 4 kB / 0.9026 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.2353, allocations: 0 / 0.9026 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.2353, allocations: 0 / 0.9026 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001598/0.2355, allocations: 181.6 kB / 0.9027 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.2355, allocations: 0 / 0.9027 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.339e-05/0.2355, allocations: 4 kB / 0.9027 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.2356, allocations: 0 / 0.9027 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.2356, allocations: 3.938 kB / 0.9027 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.2356, allocations: 0 / 0.9027 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.2356, allocations: 0 / 0.9027 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001744/0.2358, allocations: 105 kB / 0.9028 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.262e-05/0.2358, allocations: 85.02 kB / 0.9029 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.09e-05/0.2359, allocations: 0 / 0.9029 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001329/0.236, allocations: 15.98 kB / 0.9029 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.941e-05/0.2361, allocations: 11.98 kB / 0.903 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.807e-06/0.2361, allocations: 0 / 0.903 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.853e-05/0.2361, allocations: 95.27 kB / 0.903 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.81e-07/0.2362, allocations: 0 / 0.903 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002462/0.2364, allocations: 12 kB / 0.9031 GB, free: 60.93 MB / 0.6042 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 ($whenCondition2,$whenCondition1,booPul1.y,booPul1.pulseStart,booPul2.y,booPul2.pulseStart,or1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000116/0.2365, allocations: 107.2 kB / 0.9032 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001622/0.2367, allocations: 39.98 kB / 0.9032 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.2367, allocations: 0 / 0.9032 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.44e-05/0.2368, allocations: 27.92 kB / 0.9032 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003185/0.2371, allocations: 24.23 kB / 0.9032 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004001/0.2376, allocations: 170.4 kB / 0.9034 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001296/0.2377, allocations: 0.6848 MB / 0.9041 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.458e-05/0.2378, allocations: 11.86 kB / 0.9041 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.562e-05/0.2378, allocations: 11.44 kB / 0.9041 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of SimCode: time 7.92e-07/0.2378, allocations: 0 / 0.9041 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of Templates: time 0.003663/0.2415, allocations: 0.7499 MB / 0.9048 GB, free: 59.05 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1)