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.001162/0.001162, allocations: 99.94 kB / 15.05 MB, free: 1.105 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.001463/0.001463, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.789/1.789, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.739/1.739, allocations: 251.9 MB / 0.51 GB, free: 4.883 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.0008036/0.0008037, allocations: 20 kB / 0.6242 GB, free: 1.18 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7495/0.7503, allocations: 106.3 MB / 0.728 GB, free: 11.45 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.001941/0.7523, allocations: 1.105 MB / 0.7291 GB, free: 10.34 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0005016/0.7528, allocations: 184.3 kB / 0.7293 GB, free: 10.15 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.527e-05/0.7529, allocations: 0 / 0.7293 GB, free: 10.15 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.115e-05/0.7529, allocations: 0 / 0.7293 GB, free: 10.15 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.179e-05/0.753, allocations: 7.984 kB / 0.7293 GB, free: 10.14 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001815/0.7532, allocations: 19.86 kB / 0.7293 GB, free: 10.12 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.92e-05/0.7533, allocations: 23.97 kB / 0.7293 GB, free: 10.1 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.7534, allocations: 8 kB / 0.7293 GB, free: 10.09 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 9.512e-05/0.7535, allocations: 15.91 kB / 0.7293 GB, free: 10.08 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.22e-05/0.7536, allocations: 15.92 kB / 0.7293 GB, free: 10.06 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.659e-05/0.7536, allocations: 0 / 0.7293 GB, free: 10.06 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.35e-05/0.7536, allocations: 4 kB / 0.7293 GB, free: 10.06 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.771e-05/0.7537, allocations: 0 / 0.7293 GB, free: 10.06 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.89e-05/0.7537, allocations: 33.7 kB / 0.7294 GB, free: 10.02 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 8.396e-05/0.7538, allocations: 23.94 kB / 0.7294 GB, free: 9.996 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.7538, allocations: 0 / 0.7294 GB, free: 9.996 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.585e-06/0.7538, allocations: 4 kB / 0.7294 GB, free: 9.992 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.7e-06/0.7538, allocations: 0 / 0.7294 GB, free: 9.992 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.0005466/0.7544, allocations: 353.1 kB / 0.7297 GB, free: 9.602 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.7544, allocations: 8.031 kB / 0.7297 GB, free: 9.594 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.426e-05/0.7545, allocations: 4 kB / 0.7298 GB, free: 9.59 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001226/0.7546, allocations: 171 kB / 0.7299 GB, free: 9.383 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.927e-05/0.7546, allocations: 0 / 0.7299 GB, free: 9.383 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.471e-05/0.7547, allocations: 8 kB / 0.7299 GB, free: 9.375 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002147/0.7549, allocations: 57.67 kB / 0.73 GB, free: 9.312 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.7549, allocations: 0 / 0.73 GB, free: 9.312 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.7549, allocations: 3.984 kB / 0.73 GB, free: 9.309 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.7549, allocations: 0 / 0.73 GB, free: 9.309 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001712/0.7551, allocations: 51.97 kB / 0.73 GB, free: 9.258 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004522/0.7556, allocations: 280.7 kB / 0.7303 GB, free: 8.934 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001543/0.7557, allocations: 46.56 kB / 0.7303 GB, free: 8.879 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.974e-05/0.7558, allocations: 0 / 0.7303 GB, free: 8.879 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002341/0.756, allocations: 75.47 kB / 0.7304 GB, free: 8.793 MB / 0.545 GB Notification: Performance of pre-optimization done (n=4): time 1.513e-06/0.756, allocations: 0 / 0.7304 GB, free: 8.793 MB / 0.545 GB Notification: Performance of matching and sorting (n=4): time 0.0004303/0.7565, allocations: 117.6 kB / 0.7305 GB, free: 8.672 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.554e-05/0.7565, allocations: 51.41 kB / 0.7306 GB, free: 8.609 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.518e-05/0.7566, allocations: 109.8 kB / 0.7307 GB, free: 8.492 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.585e-05/0.7566, allocations: 29.64 kB / 0.7307 GB, free: 8.457 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.137e-05/0.7567, allocations: 100 kB / 0.7308 GB, free: 8.355 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.822e-05/0.7567, allocations: 7.844 kB / 0.7308 GB, free: 8.348 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.198e-06/0.7567, allocations: 0 / 0.7308 GB, free: 8.348 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001107/0.7569, allocations: 318.8 kB / 0.7311 GB, free: 8.027 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.211e-05/0.757, allocations: 27.97 kB / 0.7311 GB, free: 8 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001015/0.7571, allocations: 46.5 kB / 0.7312 GB, free: 7.945 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.662e-05/0.7572, allocations: 23.98 kB / 0.7312 GB, free: 7.922 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.7572, allocations: 0 / 0.7312 GB, free: 7.922 MB / 0.545 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002261/0.7574, allocations: 97.59 kB / 0.7313 GB, free: 7.82 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/0.7574, allocations: 5.875 kB / 0.7313 GB, free: 7.816 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.7575, allocations: 7.938 kB / 0.7313 GB, free: 7.809 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.7575, allocations: 3.984 kB / 0.7313 GB, free: 7.805 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.056e-05/0.7576, allocations: 12.09 kB / 0.7313 GB, free: 7.793 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.7576, allocations: 0 / 0.7313 GB, free: 7.793 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.764e-05/0.7576, allocations: 11.98 kB / 0.7313 GB, free: 7.781 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.041e-05/0.7577, allocations: 7.953 kB / 0.7313 GB, free: 7.773 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 ($PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,samTri.y) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.07e-05/0.7578, allocations: 109.8 kB / 0.7315 GB, free: 7.656 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.292e-05/0.7578, allocations: 7.906 kB / 0.7315 GB, free: 7.648 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.41e-05/0.7578, allocations: 11.89 kB / 0.7315 GB, free: 7.629 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.7578, allocations: 4 kB / 0.7315 GB, free: 7.625 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.718e-06/0.7578, allocations: 0 / 0.7315 GB, free: 7.625 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.7578, allocations: 4 kB / 0.7315 GB, free: 7.621 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004188/0.7583, allocations: 342.6 kB / 0.7318 GB, free: 7.23 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.7583, allocations: 4 kB / 0.7318 GB, free: 7.227 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.285e-05/0.7583, allocations: 11.98 kB / 0.7318 GB, free: 7.215 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.7584, allocations: 0 / 0.7318 GB, free: 7.215 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.878e-06/0.7584, allocations: 0 / 0.7318 GB, free: 7.215 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.7584, allocations: 0 / 0.7318 GB, free: 7.215 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.7584, allocations: 320 / 0.7318 GB, free: 7.215 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002714/0.7587, allocations: 199.3 kB / 0.732 GB, free: 7.004 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.634e-05/0.7587, allocations: 77.11 kB / 0.7321 GB, free: 6.91 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.56e-05/0.7587, allocations: 3.984 kB / 0.7321 GB, free: 6.906 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.935e-05/0.7588, allocations: 8 kB / 0.7321 GB, free: 6.898 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.105e-05/0.7589, allocations: 7.984 kB / 0.7321 GB, free: 6.891 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.108e-06/0.7589, allocations: 12.22 kB / 0.7321 GB, free: 6.879 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.493e-05/0.7589, allocations: 87.22 kB / 0.7322 GB, free: 6.793 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.61e-07/0.7589, allocations: 0 / 0.7322 GB, free: 6.793 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002217/0.7592, allocations: 12 kB / 0.7322 GB, free: 6.781 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 (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.0001394/0.7593, allocations: 99.23 kB / 0.7323 GB, free: 6.676 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002352/0.7595, allocations: 67.89 kB / 0.7324 GB, free: 6.609 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.7595, allocations: 0 / 0.7324 GB, free: 6.609 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.943e-05/0.7597, allocations: 31.97 kB / 0.7324 GB, free: 6.578 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001898/0.7599, allocations: 12.75 kB / 0.7324 GB, free: 6.57 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003542/0.7602, allocations: 136.3 kB / 0.7325 GB, free: 6.418 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002541/0.7605, allocations: 0.6848 MB / 0.7332 GB, free: 5.707 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.628e-05/0.7605, allocations: 0 / 0.7332 GB, free: 5.707 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.619e-05/0.7606, allocations: 11.44 kB / 0.7332 GB, free: 5.695 MB / 0.545 GB Notification: Performance of SimCode: time 3.31e-07/0.7606, allocations: 0 / 0.7332 GB, free: 5.695 MB / 0.545 GB Notification: Performance of Templates: time 0.002778/0.7633, allocations: 471.9 kB / 0.7337 GB, free: 5.242 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: