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.001082/0.001082, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.008822/0.008821, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.625/1.625, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.657/1.657, allocations: 252 MB / 0.5105 GB, free: 4.66 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.001002/0.001002, allocations: 12 kB / 0.6249 GB, free: 0.7031 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5091/0.5101, allocations: 106.3 MB / 0.7287 GB, free: 11.29 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.00162/0.5118, allocations: 1.129 MB / 0.7298 GB, free: 10.15 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0004123/0.5122, allocations: 188.3 kB / 0.73 GB, free: 9.961 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.131e-05/0.5123, allocations: 0 / 0.73 GB, free: 9.961 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.506e-05/0.5123, allocations: 0 / 0.73 GB, free: 9.961 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.521e-05/0.5124, allocations: 7.938 kB / 0.73 GB, free: 9.953 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001404/0.5125, allocations: 11.98 kB / 0.73 GB, free: 9.941 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.487e-05/0.5126, allocations: 39.86 kB / 0.7301 GB, free: 9.902 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.497e-05/0.5127, allocations: 11.92 kB / 0.7301 GB, free: 9.891 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.844e-05/0.5128, allocations: 11.98 kB / 0.7301 GB, free: 9.879 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.425e-05/0.5128, allocations: 15.92 kB / 0.7301 GB, free: 9.863 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.574e-05/0.5128, allocations: 0 / 0.7301 GB, free: 9.863 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.013e-05/0.5129, allocations: 4 kB / 0.7301 GB, free: 9.859 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.745e-05/0.5129, allocations: 3.938 kB / 0.7301 GB, free: 9.855 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.816e-05/0.5129, allocations: 41.64 kB / 0.7302 GB, free: 9.809 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 7.033e-05/0.513, allocations: 31.86 kB / 0.7302 GB, free: 9.777 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.513, allocations: 4 kB / 0.7302 GB, free: 9.773 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.783e-06/0.513, allocations: 0 / 0.7302 GB, free: 9.773 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.462e-06/0.513, allocations: 0 / 0.7302 GB, free: 9.773 MB / 0.545 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.0004476/0.5135, allocations: 357.3 kB / 0.7305 GB, free: 9.375 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.5135, allocations: 12.02 kB / 0.7306 GB, free: 9.363 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.7e-05/0.5136, allocations: 0.9375 kB / 0.7306 GB, free: 9.363 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001046/0.5137, allocations: 176.3 kB / 0.7307 GB, free: 9.152 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.5137, allocations: 384 / 0.7307 GB, free: 9.152 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.195e-05/0.5137, allocations: 4.375 kB / 0.7307 GB, free: 9.148 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001852/0.5139, allocations: 66.17 kB / 0.7308 GB, free: 9.078 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.492e-06/0.5139, allocations: 192 / 0.7308 GB, free: 9.078 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.5139, allocations: 3.938 kB / 0.7308 GB, free: 9.074 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.5139, allocations: 0 / 0.7308 GB, free: 9.074 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001665/0.5141, allocations: 47.95 kB / 0.7308 GB, free: 9.027 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003746/0.5145, allocations: 261 kB / 0.7311 GB, free: 8.723 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001504/0.5147, allocations: 66.36 kB / 0.7312 GB, free: 8.648 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.799e-05/0.5148, allocations: 28.94 kB / 0.7312 GB, free: 8.617 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.805e-05/0.5148, allocations: 4 kB / 0.7312 GB, free: 8.613 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001969/0.515, allocations: 71.38 kB / 0.7313 GB, free: 8.531 MB / 0.545 GB Notification: Performance of pre-optimization done (n=4): time 1.272e-06/0.515, allocations: 0 / 0.7313 GB, free: 8.531 MB / 0.545 GB Notification: Performance of matching and sorting (n=4): time 0.0003596/0.5154, allocations: 121.6 kB / 0.7314 GB, free: 8.406 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.267e-05/0.5154, allocations: 55.34 kB / 0.7314 GB, free: 8.34 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.065e-05/0.5155, allocations: 109.8 kB / 0.7315 GB, free: 8.223 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.397e-05/0.5155, allocations: 29.7 kB / 0.7316 GB, free: 8.188 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.259e-05/0.5156, allocations: 88.12 kB / 0.7316 GB, free: 8.098 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.617e-05/0.5156, allocations: 11.84 kB / 0.7317 GB, free: 8.086 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.449e-05/0.5156, allocations: 13.72 kB / 0.7317 GB, free: 8.066 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.69e-05/0.5157, allocations: 318.8 kB / 0.732 GB, free: 7.746 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.908e-05/0.5158, allocations: 23.97 kB / 0.732 GB, free: 7.723 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001003/0.5159, allocations: 42.56 kB / 0.732 GB, free: 7.672 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001784/0.5161, allocations: 82.41 kB / 0.7321 GB, free: 7.582 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.5161, allocations: 0 / 0.7321 GB, free: 7.582 MB / 0.545 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002326/0.5164, allocations: 97.59 kB / 0.7322 GB, free: 7.48 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.5164, allocations: 4 kB / 0.7322 GB, free: 7.477 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.5164, allocations: 0 / 0.7322 GB, free: 7.477 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.5164, allocations: 4 kB / 0.7322 GB, free: 7.473 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001421/0.5166, allocations: 16.08 kB / 0.7322 GB, free: 7.457 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.5166, allocations: 0 / 0.7322 GB, free: 7.457 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.739e-05/0.5166, allocations: 11.91 kB / 0.7322 GB, free: 7.445 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-06/0.5167, allocations: 3.984 kB / 0.7322 GB, free: 7.441 MB / 0.545 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 7.632e-05/0.5167, allocations: 117.8 kB / 0.7324 GB, free: 7.316 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.044e-05/0.5168, allocations: 4 kB / 0.7324 GB, free: 7.312 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.547e-05/0.5168, allocations: 3.906 kB / 0.7324 GB, free: 7.301 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.5168, allocations: 7.938 kB / 0.7324 GB, free: 7.293 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.5168, allocations: 0 / 0.7324 GB, free: 7.293 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.5168, allocations: 0 / 0.7324 GB, free: 7.293 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004132/0.5172, allocations: 346.5 kB / 0.7327 GB, free: 6.898 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.5172, allocations: 4.125 kB / 0.7327 GB, free: 6.895 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.321e-05/0.5173, allocations: 15.98 kB / 0.7327 GB, free: 6.879 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.5173, allocations: 0 / 0.7327 GB, free: 6.879 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.231e-06/0.5173, allocations: 3.938 kB / 0.7327 GB, free: 6.875 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.5173, allocations: 0 / 0.7327 GB, free: 6.875 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.5173, allocations: 0 / 0.7327 GB, free: 6.875 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002677/0.5176, allocations: 207.3 kB / 0.7329 GB, free: 6.656 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.132e-05/0.5176, allocations: 77.11 kB / 0.733 GB, free: 6.562 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.245e-05/0.5177, allocations: 0 / 0.733 GB, free: 6.562 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.697e-05/0.5177, allocations: 11.98 kB / 0.733 GB, free: 6.551 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.378e-05/0.5178, allocations: 288 / 0.733 GB, free: 6.551 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.013e-05/0.5178, allocations: 15.94 kB / 0.733 GB, free: 6.535 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.618e-05/0.5178, allocations: 87.2 kB / 0.7331 GB, free: 6.449 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5179, allocations: 0 / 0.7331 GB, free: 6.449 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002535/0.5181, allocations: 8 kB / 0.7331 GB, free: 6.441 MB / 0.545 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.000108/0.5182, allocations: 103.2 kB / 0.7332 GB, free: 6.332 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002294/0.5185, allocations: 63.89 kB / 0.7333 GB, free: 6.27 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.5185, allocations: 0 / 0.7333 GB, free: 6.27 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001014/0.5186, allocations: 27.98 kB / 0.7333 GB, free: 6.242 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002491/0.5188, allocations: 12.92 kB / 0.7333 GB, free: 6.23 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002831/0.5191, allocations: 144.7 kB / 0.7334 GB, free: 6.066 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003141/0.5195, allocations: 0.6809 MB / 0.7341 GB, free: 5.359 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.249e-05/0.5195, allocations: 0 / 0.7341 GB, free: 5.359 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.699e-05/0.5195, allocations: 11.44 kB / 0.7341 GB, free: 5.348 MB / 0.545 GB Notification: Performance of SimCode: time 3.41e-07/0.5195, allocations: 0 / 0.7341 GB, free: 5.348 MB / 0.545 GB Notification: Performance of Templates: time 0.002236/0.5218, allocations: 495.2 kB / 0.7346 GB, free: 4.875 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: