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.01121/0.01121, allocations: 101.4 kB / 15.73 MB, free: 6.043 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.002792/0.002792, allocations: 184.9 kB / 16.67 MB, free: 5.977 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.82/1.82, allocations: 205.1 MB / 222.6 MB, free: 4.504 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.622/1.622, allocations: 251.7 MB / 0.5094 GB, free: 3.012 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.001599/0.001599, allocations: 71.89 kB / 0.7258 GB, free: 9.121 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3048/0.3065, allocations: 104.7 MB / 0.8281 GB, free: 312 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.00298/0.3095, allocations: 1.395 MB / 0.8294 GB, free: 14.9 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0005395/0.3101, allocations: 200.6 kB / 0.8296 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.647e-05/0.3101, allocations: 0 / 0.8296 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 4.031e-05/0.3102, allocations: 3.984 kB / 0.8296 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 9.966e-05/0.3103, allocations: 7.938 kB / 0.8296 GB, free: 14.69 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.000231/0.3105, allocations: 19.92 kB / 0.8296 GB, free: 14.67 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001131/0.3107, allocations: 35.86 kB / 0.8297 GB, free: 14.64 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001502/0.3108, allocations: 8 kB / 0.8297 GB, free: 14.63 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 8.389e-05/0.3109, allocations: 19.92 kB / 0.8297 GB, free: 14.61 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.743e-05/0.311, allocations: 19.91 kB / 0.8297 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.261e-05/0.311, allocations: 0 / 0.8297 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.177e-05/0.311, allocations: 4 kB / 0.8297 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.735e-05/0.311, allocations: 7.938 kB / 0.8297 GB, free: 14.58 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.652e-05/0.3111, allocations: 15.92 kB / 0.8297 GB, free: 14.56 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001303/0.3112, allocations: 39.83 kB / 0.8298 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.3112, allocations: 0 / 0.8298 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.655e-06/0.3113, allocations: 0 / 0.8298 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.266e-05/0.3113, allocations: 4 kB / 0.8298 GB, free: 14.52 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.0005824/0.3119, allocations: 353.8 kB / 0.8301 GB, free: 14.12 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.3119, allocations: 8.031 kB / 0.8301 GB, free: 14.12 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.619e-05/0.312, allocations: 4.938 kB / 0.8301 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001476/0.3121, allocations: 168.2 kB / 0.8303 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.979e-05/0.3121, allocations: 4.375 kB / 0.8303 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.385e-05/0.3122, allocations: 12.31 kB / 0.8303 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001955/0.3124, allocations: 54.23 kB / 0.8304 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.568e-05/0.3124, allocations: 8.109 kB / 0.8304 GB, free: 13.83 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.359e-05/0.3124, allocations: 3.938 kB / 0.8304 GB, free: 13.82 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.3124, allocations: 0 / 0.8304 GB, free: 13.82 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001527/0.3126, allocations: 43.95 kB / 0.8304 GB, free: 13.78 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004889/0.3131, allocations: 269 kB / 0.8307 GB, free: 13.47 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001378/0.3132, allocations: 42.5 kB / 0.8307 GB, free: 13.42 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.45e-05/0.3133, allocations: 28.88 kB / 0.8307 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.605e-05/0.3133, allocations: 3.984 kB / 0.8307 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000191/0.3135, allocations: 67.39 kB / 0.8308 GB, free: 13.3 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=4): time 1.252e-06/0.3135, allocations: 0 / 0.8308 GB, free: 13.3 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4): time 0.0003734/0.3139, allocations: 101.5 kB / 0.8309 GB, free: 13.2 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.145e-05/0.314, allocations: 55.39 kB / 0.831 GB, free: 13.13 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.245e-05/0.3141, allocations: 105.8 kB / 0.8311 GB, free: 13.02 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.796e-05/0.3141, allocations: 29.7 kB / 0.8311 GB, free: 12.98 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.966e-05/0.3142, allocations: 88.12 kB / 0.8312 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.534e-05/0.3142, allocations: 7.906 kB / 0.8312 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.617e-05/0.3142, allocations: 21.72 kB / 0.8312 GB, free: 12.86 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.3143, allocations: 322.8 kB / 0.8315 GB, free: 12.54 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.882e-05/0.3144, allocations: 15.98 kB / 0.8315 GB, free: 12.52 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.14e-05/0.3145, allocations: 38.55 kB / 0.8316 GB, free: 12.47 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000153/0.3147, allocations: 66.42 kB / 0.8316 GB, free: 12.4 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.3147, allocations: 0 / 0.8316 GB, free: 12.4 MB / 0.6544 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001918/0.3149, allocations: 89.56 kB / 0.8317 GB, free: 12.3 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.3149, allocations: 12.03 kB / 0.8317 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.3149, allocations: 0 / 0.8317 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.3149, allocations: 0 / 0.8317 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.746e-05/0.315, allocations: 11.98 kB / 0.8317 GB, free: 12.28 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.315, allocations: 0 / 0.8317 GB, free: 12.28 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.89e-05/0.3151, allocations: 7.984 kB / 0.8317 GB, free: 12.27 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.788e-06/0.3151, allocations: 4 kB / 0.8317 GB, free: 12.27 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 9.815e-05/0.3152, allocations: 117.7 kB / 0.8319 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.686e-06/0.3152, allocations: 8 kB / 0.8319 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.807e-05/0.3153, allocations: 3.906 kB / 0.8319 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.3153, allocations: 3.938 kB / 0.8319 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-06/0.3153, allocations: 4 kB / 0.8319 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.3153, allocations: 0 / 0.8319 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003876/0.3157, allocations: 334.4 kB / 0.8322 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.3157, allocations: 4 kB / 0.8322 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.575e-05/0.3158, allocations: 11.98 kB / 0.8322 GB, free: 11.72 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.3158, allocations: 0 / 0.8322 GB, free: 11.72 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.373e-06/0.3158, allocations: 0 / 0.8322 GB, free: 11.72 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.3158, allocations: 0 / 0.8322 GB, free: 11.72 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.3158, allocations: 0 / 0.8322 GB, free: 11.72 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002429/0.316, allocations: 191.6 kB / 0.8324 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.361e-05/0.3161, allocations: 77.11 kB / 0.8325 GB, free: 11.42 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.356e-05/0.3161, allocations: 4.125 kB / 0.8325 GB, free: 11.42 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.298e-05/0.3162, allocations: 11.98 kB / 0.8325 GB, free: 11.41 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.84e-05/0.3162, allocations: 0 / 0.8325 GB, free: 11.41 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.592e-06/0.3163, allocations: 7.938 kB / 0.8325 GB, free: 11.4 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 5.052e-05/0.3163, allocations: 87.27 kB / 0.8326 GB, free: 11.31 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3163, allocations: 0 / 0.8326 GB, free: 11.31 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002118/0.3165, allocations: 11.91 kB / 0.8326 GB, free: 11.3 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.0001449/0.3167, allocations: 102.1 kB / 0.8327 GB, free: 11.2 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002257/0.3169, allocations: 55.89 kB / 0.8327 GB, free: 11.14 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.3169, allocations: 0 / 0.8327 GB, free: 11.14 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 8.943e-05/0.317, allocations: 27.91 kB / 0.8328 GB, free: 11.11 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000267/0.3173, allocations: 8 kB / 0.8328 GB, free: 11.11 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003399/0.3176, allocations: 121.8 kB / 0.8329 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002732/0.3179, allocations: 0.6844 MB / 0.8336 GB, free: 10.25 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.659e-05/0.318, allocations: 3.984 kB / 0.8336 GB, free: 10.25 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.104e-05/0.318, allocations: 11.44 kB / 0.8336 GB, free: 10.23 MB / 0.6544 GB Notification: Performance of SimCode: time 6.11e-07/0.318, allocations: 0 / 0.8336 GB, free: 10.23 MB / 0.6544 GB Notification: Performance of Templates: time 0.003134/0.3211, allocations: 0.5821 MB / 0.8341 GB, free: 9.668 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)