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.ZeroCrossing.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.ZeroCrossing,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.457/2.457, allocations: 251.3 MB / 266.2 MB, free: 11.5 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.001432/0.001431, allocations: 170.9 kB / 325.8 MB, free: 2.793 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.54/2.54, allocations: 205.4 MB / 0.5767 GB, free: 20.7 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.0008847/0.0008845, allocations: 104.5 kB / 0.6812 GB, free: 13.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004742/0.0004743, allocations: 17.25 kB / 0.7953 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2239/0.2244, allocations: 106.3 MB / 0.8991 GB, free: 65.38 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing): time 0.00183/0.2263, allocations: 1.23 MB / 0.9003 GB, free: 64.13 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006473/0.227, allocations: 276.1 kB / 0.9005 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.987e-05/0.2271, allocations: 0 / 0.9005 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.748e-05/0.2271, allocations: 7.922 kB / 0.9005 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.000102/0.2272, allocations: 15.86 kB / 0.9005 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002249/0.2274, allocations: 27.97 kB / 0.9006 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001251/0.2276, allocations: 83.75 kB / 0.9007 GB, free: 63.72 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001261/0.2277, allocations: 32.16 kB / 0.9007 GB, free: 63.69 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.563e-05/0.2278, allocations: 23.92 kB / 0.9007 GB, free: 63.67 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.646e-05/0.2279, allocations: 39.81 kB / 0.9007 GB, free: 63.63 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.592e-05/0.2279, allocations: 4 kB / 0.9007 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 2.023e-05/0.228, allocations: 4 kB / 0.9008 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.318e-05/0.228, allocations: 15.92 kB / 0.9008 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.929e-05/0.228, allocations: 41.64 kB / 0.9008 GB, free: 63.56 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001344/0.2282, allocations: 63.84 kB / 0.9009 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.623e-06/0.2282, allocations: 0 / 0.9009 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.624e-06/0.2282, allocations: 4 kB / 0.9009 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.2282, allocations: 0 / 0.9009 GB, free: 63.49 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0008441/0.2291, allocations: 415.4 kB / 0.9013 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.2292, allocations: 8.031 kB / 0.9013 GB, free: 63.03 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.093e-05/0.2292, allocations: 8.844 kB / 0.9013 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001321/0.2294, allocations: 174.3 kB / 0.9015 GB, free: 62.81 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.055e-05/0.2294, allocations: 4.375 kB / 0.9015 GB, free: 62.81 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.354e-05/0.2294, allocations: 8.375 kB / 0.9015 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004235/0.2299, allocations: 118.1 kB / 0.9016 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.2299, allocations: 192 / 0.9016 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.06e-05/0.2299, allocations: 7.938 kB / 0.9016 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.2299, allocations: 0 / 0.9016 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005914/0.2305, allocations: 111.9 kB / 0.9017 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007508/0.2313, allocations: 364.6 kB / 0.902 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008112/0.2321, allocations: 162.5 kB / 0.9022 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003061/0.2325, allocations: 68.81 kB / 0.9023 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.62e-05/0.2325, allocations: 0 / 0.9023 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004591/0.233, allocations: 131.2 kB / 0.9024 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=11): time 2.335e-06/0.233, allocations: 0 / 0.9024 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.001231/0.2342, allocations: 225.5 kB / 0.9026 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.877e-05/0.2343, allocations: 59.41 kB / 0.9027 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001078/0.2344, allocations: 129 kB / 0.9028 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.689e-05/0.2345, allocations: 33.64 kB / 0.9028 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.838e-05/0.2345, allocations: 96.12 kB / 0.9029 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.828e-05/0.2346, allocations: 23.66 kB / 0.9029 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.314e-05/0.2346, allocations: 8 kB / 0.9029 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.904e-05/0.2347, allocations: 322.8 kB / 0.9032 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003175/0.235, allocations: 67.95 kB / 0.9033 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003324/0.2353, allocations: 97.98 kB / 0.9034 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003095/0.2357, allocations: 59.97 kB / 0.9035 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.2357, allocations: 0 / 0.9035 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0007413/0.2364, allocations: 193.4 kB / 0.9036 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/0.2365, allocations: 4 kB / 0.9036 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.2365, allocations: 4 kB / 0.9036 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.206e-05/0.2365, allocations: 3.938 kB / 0.9037 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002282/0.2368, allocations: 31.91 kB / 0.9037 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/0.2368, allocations: 4 kB / 0.9037 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002285/0.237, allocations: 35.94 kB / 0.9037 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.698e-05/0.2371, allocations: 4 kB / 0.9037 GB, free: 60.34 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 ($PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,$whenCondition2,$PRE.booPul1.pulseStart,booPul1.pulseStart,zeroCrossing.y,$PRE.zeroCrossing.enable,zeroCrossing.enable,$PRE.zeroCrossing.disable,zeroCrossing.disable,$PRE.zeroCrossing.u_pos,zeroCrossing.u_pos) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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 0.0001147/0.2372, allocations: 133.6 kB / 0.9039 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.746e-05/0.2372, allocations: 7.906 kB / 0.9039 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007666/0.238, allocations: 178 kB / 0.904 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.238, allocations: 0 / 0.904 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.238, allocations: 0 / 0.904 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.238, allocations: 8 kB / 0.904 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000941/0.239, allocations: 466.8 kB / 0.9045 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.239, allocations: 0 / 0.9045 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001883/0.2392, allocations: 23.98 kB / 0.9045 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.523e-06/0.2392, allocations: 4 kB / 0.9045 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.546e-05/0.2393, allocations: 0 / 0.9045 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.2393, allocations: 0 / 0.9045 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.125e-06/0.2393, allocations: 7.938 kB / 0.9045 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006991/0.24, allocations: 275.3 kB / 0.9048 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.754e-05/0.2401, allocations: 88.95 kB / 0.9049 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.502e-05/0.2401, allocations: 4 kB / 0.9049 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002451/0.2404, allocations: 31.91 kB / 0.9049 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001048/0.2405, allocations: 27.89 kB / 0.9049 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.647e-05/0.2405, allocations: 4 kB / 0.9049 GB, free: 59 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.254e-05/0.2406, allocations: 95.27 kB / 0.905 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.61e-07/0.2406, allocations: 0 / 0.905 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003219/0.2409, allocations: 20 kB / 0.905 GB, free: 58.89 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: 8 (zeroCrossing.y,$whenCondition2,$whenCondition1,booPul1.pulseStart,zeroCrossing.enable,zeroCrossing.disable,zeroCrossing.u_pos,triggeredSampler.y) * Number of discrete states: 3 (zeroCrossing.u_pos,zeroCrossing.enable,zeroCrossing.disable) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * 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.0001423/0.2411, allocations: 103.2 kB / 0.9051 GB, free: 58.78 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0007528/0.2418, allocations: 147.8 kB / 0.9053 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.2419, allocations: 192 / 0.9053 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003442/0.2422, allocations: 83.83 kB / 0.9054 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00041/0.2426, allocations: 13.23 kB / 0.9054 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006927/0.2433, allocations: 235.5 kB / 0.9056 GB, free: 58.28 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001581/0.2435, allocations: 0.6965 MB / 0.9063 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 9.841e-05/0.2436, allocations: 12.53 kB / 0.9063 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.845e-05/0.2437, allocations: 11.44 kB / 0.9063 GB, free: 57.53 MB / 0.6042 GB Notification: Performance of SimCode: time 1.092e-06/0.2437, allocations: 0 / 0.9063 GB, free: 57.53 MB / 0.6042 GB Notification: Performance of Templates: time 0.004727/0.2485, allocations: 1.123 MB / 0.9074 GB, free: 56.42 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.pipe 2>&1)