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.Edge.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.Edge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Edge") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Edge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Edge") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.432/2.432, allocations: 251.3 MB / 266.2 MB, free: 11.52 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.001911/0.001911, allocations: 181.6 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.49/2.49, allocations: 205.4 MB / 0.5767 GB, free: 20.77 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.0009928/0.0009921, allocations: 108.9 kB / 0.6813 GB, free: 13.58 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006433/0.0006436, allocations: 11.12 kB / 0.7953 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2326/0.2333, allocations: 106.3 MB / 0.8991 GB, free: 65.41 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.001723/0.2351, allocations: 1.179 MB / 0.9002 GB, free: 64.22 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000527/0.2357, allocations: 220.3 kB / 0.9004 GB, free: 64 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.904e-05/0.2357, allocations: 0 / 0.9004 GB, free: 64 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.205e-05/0.2358, allocations: 0 / 0.9004 GB, free: 64 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.841e-05/0.2359, allocations: 7.922 kB / 0.9004 GB, free: 63.99 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001861/0.2361, allocations: 23.91 kB / 0.9004 GB, free: 63.97 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.43e-05/0.2362, allocations: 55.84 kB / 0.9005 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.2363, allocations: 8 kB / 0.9005 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.511e-05/0.2364, allocations: 19.92 kB / 0.9005 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.825e-05/0.2365, allocations: 27.86 kB / 0.9006 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.942e-05/0.2365, allocations: 0 / 0.9006 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.471e-05/0.2365, allocations: 4 kB / 0.9006 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.814e-05/0.2365, allocations: 11.97 kB / 0.9006 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.547e-05/0.2366, allocations: 33.64 kB / 0.9006 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.409e-05/0.2367, allocations: 43.84 kB / 0.9006 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.2367, allocations: 3.938 kB / 0.9006 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.803e-06/0.2367, allocations: 4 kB / 0.9006 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.2367, allocations: 0 / 0.9006 GB, free: 63.75 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000658/0.2374, allocations: 381 kB / 0.901 GB, free: 63.33 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.2374, allocations: 8.031 kB / 0.901 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.705e-05/0.2375, allocations: 8.844 kB / 0.901 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001115/0.2376, allocations: 172.3 kB / 0.9012 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.682e-05/0.2376, allocations: 4.375 kB / 0.9012 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.052e-05/0.2377, allocations: 4.375 kB / 0.9012 GB, free: 63.1 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002617/0.2379, allocations: 74.22 kB / 0.9013 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.238, allocations: 192 / 0.9013 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.515e-05/0.238, allocations: 7.875 kB / 0.9013 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.238, allocations: 4 kB / 0.9013 GB, free: 63.01 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003154/0.2383, allocations: 59.94 kB / 0.9013 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006045/0.2389, allocations: 308.7 kB / 0.9016 GB, free: 62.6 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006639/0.2396, allocations: 118.5 kB / 0.9017 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001672/0.2398, allocations: 40.95 kB / 0.9018 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.7e-05/0.2398, allocations: 0 / 0.9018 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003104/0.2402, allocations: 87.38 kB / 0.9019 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 2.324e-06/0.2402, allocations: 0 / 0.9019 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.000652/0.2408, allocations: 141.6 kB / 0.902 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7e-05/0.2409, allocations: 59.34 kB / 0.9021 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.772e-05/0.241, allocations: 117.8 kB / 0.9022 GB, free: 62 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.001e-05/0.2411, allocations: 33.69 kB / 0.9022 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.431e-05/0.2411, allocations: 88.14 kB / 0.9023 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.624e-05/0.2412, allocations: 15.75 kB / 0.9023 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.993e-06/0.2412, allocations: 0 / 0.9023 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.763e-05/0.2413, allocations: 327.1 kB / 0.9026 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001702/0.2414, allocations: 31.98 kB / 0.9026 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001858/0.2416, allocations: 63.34 kB / 0.9027 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001743/0.2418, allocations: 39.97 kB / 0.9027 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.2418, allocations: 0 / 0.9027 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004279/0.2423, allocations: 125.5 kB / 0.9029 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/0.2423, allocations: 4 kB / 0.9029 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.2423, allocations: 7.938 kB / 0.9029 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.005e-05/0.2424, allocations: 0 / 0.9029 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001329/0.2425, allocations: 15.98 kB / 0.9029 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.235e-06/0.2425, allocations: 0 / 0.9029 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000155/0.2427, allocations: 19.98 kB / 0.9029 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.213e-05/0.2427, allocations: 8.031 kB / 0.9029 GB, free: 61.2 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: 9 ($PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,$whenCondition2,$PRE.booPul.pulseStart,booPul.pulseStart,$PRE.edge1.u,edge1.u,edge1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 9.649e-05/0.2428, allocations: 121.7 kB / 0.903 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.289e-05/0.2429, allocations: 11.89 kB / 0.903 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.802e-05/0.2429, allocations: 8.375 kB / 0.9031 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.2429, allocations: 4 kB / 0.9031 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.2429, allocations: 3.984 kB / 0.9031 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.2429, allocations: 0 / 0.9031 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006359/0.2436, allocations: 378.4 kB / 0.9034 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.2436, allocations: 0 / 0.9034 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.587e-05/0.2437, allocations: 11.98 kB / 0.9034 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.2437, allocations: 0 / 0.9034 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/0.2437, allocations: 0 / 0.9034 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.2438, allocations: 4.391 kB / 0.9034 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.377e-06/0.2438, allocations: 3.938 kB / 0.9034 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004147/0.2442, allocations: 207.4 kB / 0.9036 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.235e-05/0.2442, allocations: 89.02 kB / 0.9037 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.785e-05/0.2443, allocations: 3.984 kB / 0.9037 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001843/0.2445, allocations: 15.98 kB / 0.9037 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.198e-05/0.2446, allocations: 15.92 kB / 0.9038 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.004e-05/0.2446, allocations: 0 / 0.9038 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.382e-05/0.2447, allocations: 95.39 kB / 0.9038 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.51e-07/0.2447, allocations: 288 / 0.9038 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003156/0.245, allocations: 12 kB / 0.9039 GB, free: 60.13 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: 6 (edge1.y,$whenCondition2,$whenCondition1,booPul.pulseStart,edge1.u,triggeredSampler.y) * Number of discrete states: 1 (edge1.u) * 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.0001229/0.2451, allocations: 103.2 kB / 0.904 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004217/0.2456, allocations: 87.89 kB / 0.904 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.2456, allocations: 4.188 kB / 0.904 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001929/0.2458, allocations: 43.95 kB / 0.9041 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003749/0.2462, allocations: 11.94 kB / 0.9041 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000451/0.2466, allocations: 176.7 kB / 0.9043 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001422/0.2468, allocations: 0.6926 MB / 0.9049 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 5.392e-05/0.2469, allocations: 7.859 kB / 0.905 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.197e-05/0.2469, allocations: 11.44 kB / 0.905 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of SimCode: time 9.82e-07/0.2469, allocations: 0 / 0.905 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of Templates: time 0.003786/0.2507, allocations: 0.7326 MB / 0.9057 GB, free: 58.21 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Edge -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1)