Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.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.Sources.Validation.SampleTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007879/0.007879, allocations: 97.62 kB / 15.73 MB, free: 6.004 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.001614/0.001614, allocations: 195 kB / 16.67 MB, free: 5.934 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.742/1.742, allocations: 205.1 MB / 222.5 MB, free: 4.531 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.719/1.719, allocations: 251.7 MB / 0.5094 GB, free: 3.055 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.001461/0.001461, allocations: 71.91 kB / 0.7258 GB, free: 9.043 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.263/0.2644, allocations: 104.7 MB / 0.8281 GB, free: 236 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.002697/0.2672, allocations: 1.406 MB / 0.8294 GB, free: 14.82 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0004361/0.2677, allocations: 192.7 kB / 0.8296 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.659e-05/0.2677, allocations: 0 / 0.8296 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.871e-05/0.2678, allocations: 3.938 kB / 0.8296 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.775e-05/0.2678, allocations: 3.938 kB / 0.8296 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001567/0.268, allocations: 15.92 kB / 0.8296 GB, free: 14.6 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 8.898e-05/0.2681, allocations: 39.91 kB / 0.8297 GB, free: 14.56 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001136/0.2682, allocations: 19.78 kB / 0.8297 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 6.666e-05/0.2683, allocations: 11.98 kB / 0.8297 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.018e-05/0.2684, allocations: 19.91 kB / 0.8297 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.056e-05/0.2684, allocations: 4 kB / 0.8297 GB, free: 14.51 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.22e-05/0.2684, allocations: 4 kB / 0.8297 GB, free: 14.51 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.38e-05/0.2684, allocations: 7.938 kB / 0.8297 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.644e-05/0.2685, allocations: 15.88 kB / 0.8298 GB, free: 14.48 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001132/0.2686, allocations: 39.81 kB / 0.8298 GB, free: 14.45 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.2686, allocations: 0 / 0.8298 GB, free: 14.45 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.693e-06/0.2686, allocations: 4 kB / 0.8298 GB, free: 14.44 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.2686, allocations: 0 / 0.8298 GB, free: 14.44 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004857/0.2691, allocations: 347.3 kB / 0.8301 GB, free: 14.05 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.2692, allocations: 12.03 kB / 0.8301 GB, free: 14.04 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.366e-05/0.2692, allocations: 0.9375 kB / 0.8301 GB, free: 14.04 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001129/0.2693, allocations: 172.3 kB / 0.8303 GB, free: 13.83 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.505e-05/0.2693, allocations: 4.375 kB / 0.8303 GB, free: 13.83 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.255e-05/0.2694, allocations: 4.375 kB / 0.8303 GB, free: 13.82 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001817/0.2695, allocations: 54.23 kB / 0.8304 GB, free: 13.77 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.2696, allocations: 4.125 kB / 0.8304 GB, free: 13.76 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.612e-05/0.2696, allocations: 3.938 kB / 0.8304 GB, free: 13.76 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.2696, allocations: 4 kB / 0.8304 GB, free: 13.75 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001654/0.2698, allocations: 43.89 kB / 0.8304 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004337/0.2702, allocations: 260.9 kB / 0.8307 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001416/0.2704, allocations: 50.48 kB / 0.8307 GB, free: 13.35 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.826e-05/0.2705, allocations: 24.94 kB / 0.8307 GB, free: 13.32 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.11e-05/0.2705, allocations: 0 / 0.8307 GB, free: 13.32 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001942/0.2707, allocations: 75.31 kB / 0.8308 GB, free: 13.23 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=4): time 1.352e-06/0.2707, allocations: 0 / 0.8308 GB, free: 13.23 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4): time 0.000365/0.2711, allocations: 105.8 kB / 0.8309 GB, free: 13.12 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.243e-05/0.2711, allocations: 55.41 kB / 0.831 GB, free: 13.06 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.626e-05/0.2712, allocations: 105.8 kB / 0.8311 GB, free: 12.95 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.251e-05/0.2712, allocations: 25.7 kB / 0.8311 GB, free: 12.91 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.582e-05/0.2713, allocations: 84.14 kB / 0.8312 GB, free: 12.83 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.177e-05/0.2713, allocations: 15.89 kB / 0.8312 GB, free: 12.81 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.905e-05/0.2713, allocations: 21.72 kB / 0.8312 GB, free: 12.79 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001244/0.2715, allocations: 318.8 kB / 0.8315 GB, free: 12.46 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.893e-05/0.2716, allocations: 27.97 kB / 0.8315 GB, free: 12.44 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.555e-05/0.2717, allocations: 34.56 kB / 0.8316 GB, free: 12.39 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001714/0.2718, allocations: 66.47 kB / 0.8316 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.2719, allocations: 0 / 0.8316 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002033/0.2721, allocations: 89.53 kB / 0.8317 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.2721, allocations: 4 kB / 0.8317 GB, free: 12.22 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.2721, allocations: 4.031 kB / 0.8317 GB, free: 12.22 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.2721, allocations: 8 kB / 0.8317 GB, free: 12.21 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.387e-05/0.2722, allocations: 7.984 kB / 0.8317 GB, free: 12.2 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.2722, allocations: 0 / 0.8317 GB, free: 12.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.985e-05/0.2723, allocations: 8 kB / 0.8318 GB, free: 12.2 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.2723, allocations: 0 / 0.8318 GB, free: 12.2 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (triggeredSampler.y,$PRE.triggeredSampler.y,samTri.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 8.152e-05/0.2724, allocations: 121.8 kB / 0.8319 GB, free: 12.07 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.097e-05/0.2724, allocations: 3.953 kB / 0.8319 GB, free: 12.06 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.983e-05/0.2724, allocations: 11.91 kB / 0.8319 GB, free: 12.04 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.2724, allocations: 4 kB / 0.8319 GB, free: 12.04 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.2725, allocations: 0 / 0.8319 GB, free: 12.04 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.2725, allocations: 3.938 kB / 0.8319 GB, free: 12.04 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003981/0.2729, allocations: 330.5 kB / 0.8322 GB, free: 11.66 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.2729, allocations: 0 / 0.8322 GB, free: 11.66 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.797e-05/0.2729, allocations: 7.984 kB / 0.8322 GB, free: 11.65 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.2729, allocations: 0 / 0.8322 GB, free: 11.65 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.273, allocations: 8 kB / 0.8322 GB, free: 11.64 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.123e-06/0.273, allocations: 0 / 0.8322 GB, free: 11.64 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.273, allocations: 0 / 0.8322 GB, free: 11.64 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002422/0.2732, allocations: 183.3 kB / 0.8324 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.716e-05/0.2733, allocations: 81.09 kB / 0.8325 GB, free: 11.35 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.429e-05/0.2733, allocations: 4 kB / 0.8325 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.407e-05/0.2734, allocations: 4 kB / 0.8325 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.799e-05/0.2734, allocations: 11.98 kB / 0.8325 GB, free: 11.33 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.233e-06/0.2734, allocations: 3.938 kB / 0.8325 GB, free: 11.32 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.768e-05/0.2735, allocations: 83.28 kB / 0.8326 GB, free: 11.24 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2735, allocations: 0 / 0.8326 GB, free: 11.24 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002243/0.2737, allocations: 11.94 kB / 0.8326 GB, free: 11.23 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: 3 (samTri.y,$whenCondition1,triggeredSampler.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001403/0.2739, allocations: 110.2 kB / 0.8327 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002281/0.2741, allocations: 55.89 kB / 0.8327 GB, free: 11.06 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2741, allocations: 0 / 0.8327 GB, free: 11.06 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 9.663e-05/0.2742, allocations: 23.98 kB / 0.8328 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002571/0.2745, allocations: 7.984 kB / 0.8328 GB, free: 11.03 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003087/0.2748, allocations: 125.4 kB / 0.8329 GB, free: 10.88 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002247/0.275, allocations: 0.6885 MB / 0.8336 GB, free: 10.17 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.546e-05/0.2751, allocations: 0 / 0.8336 GB, free: 10.17 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.689e-05/0.2751, allocations: 11.44 kB / 0.8336 GB, free: 10.16 MB / 0.6544 GB Notification: Performance of SimCode: time 2.41e-07/0.2751, allocations: 0 / 0.8336 GB, free: 10.16 MB / 0.6544 GB Notification: Performance of Templates: time 0.002677/0.2778, allocations: 0.5716 MB / 0.8341 GB, free: 9.594 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe 2>&1)