Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_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_8_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.001535/0.001535, allocations: 110.4 kB / 16.37 MB, free: 6.258 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.001827/0.001827, allocations: 189.7 kB / 17.3 MB, free: 5.848 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.652/1.652, allocations: 205.1 MB / 223.2 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 2.075/2.075, allocations: 292.3 MB / 0.5496 GB, free: 17.66 MB / 462.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.001643/0.001643, allocations: 67.91 kB / 0.6729 GB, free: 5.836 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2571/0.2587, allocations: 114.6 MB / 0.7848 GB, free: 3.164 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.002351/0.2611, allocations: 0.7635 MB / 0.7856 GB, free: 2.398 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001415/0.2626, allocations: 1.067 MB / 0.7866 GB, free: 1.316 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.594e-05/0.2627, allocations: 0 / 0.7866 GB, free: 1.316 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.736e-05/0.2627, allocations: 7.875 kB / 0.7866 GB, free: 1.309 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 9.813e-05/0.2628, allocations: 7.922 kB / 0.7866 GB, free: 1.301 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003466/0.2632, allocations: 55.83 kB / 0.7867 GB, free: 1.246 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001373/0.2633, allocations: 67.78 kB / 0.7867 GB, free: 1.18 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001219/0.2635, allocations: 28.11 kB / 0.7868 GB, free: 1.148 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 9.529e-05/0.2636, allocations: 27.91 kB / 0.7868 GB, free: 1.121 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.912e-05/0.2636, allocations: 35.84 kB / 0.7868 GB, free: 1.086 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.792e-05/0.2637, allocations: 4 kB / 0.7868 GB, free: 1.082 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 7.296e-05/0.2638, allocations: 23.92 kB / 0.7869 GB, free: 1.059 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.416e-05/0.2638, allocations: 11.98 kB / 0.7869 GB, free: 1.047 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.877e-05/0.2638, allocations: 39.78 kB / 0.7869 GB, free: 1.008 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001601/0.264, allocations: 75.75 kB / 0.787 GB, free: 0.9336 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.264, allocations: 4 kB / 0.787 GB, free: 0.9297 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.784e-06/0.264, allocations: 0 / 0.787 GB, free: 0.9297 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.242e-06/0.264, allocations: 4 kB / 0.787 GB, free: 0.9258 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005676/0.2646, allocations: 371.2 kB / 0.7873 GB, free: 0.5156 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.756e-05/0.2647, allocations: 16.02 kB / 0.7873 GB, free: 0.5 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.529e-05/0.2647, allocations: 4.844 kB / 0.7874 GB, free: 0.4961 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001286/0.2649, allocations: 180.1 kB / 0.7875 GB, free: 288 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.839e-05/0.2649, allocations: 8.375 kB / 0.7875 GB, free: 280 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.744e-05/0.2649, allocations: 4.375 kB / 0.7875 GB, free: 276 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002113/0.2651, allocations: 70.22 kB / 0.7876 GB, free: 200 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.2651, allocations: 3.938 kB / 0.7876 GB, free: 196 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.2652, allocations: 0 / 0.7876 GB, free: 196 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.2652, allocations: 0 / 0.7876 GB, free: 196 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001811/0.2654, allocations: 47.89 kB / 0.7877 GB, free: 148 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.483/0.7484, allocations: 313.3 kB / 0.788 GB, free: 48.7 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002007/0.7487, allocations: 58.42 kB / 0.788 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000103/0.7488, allocations: 38.3 kB / 0.788 GB, free: 48.67 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.165e-05/0.7488, allocations: 2.625 kB / 0.788 GB, free: 48.67 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002713/0.7491, allocations: 81.25 kB / 0.7881 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 2.976e-06/0.7491, allocations: 0 / 0.7881 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0004266/0.7495, allocations: 132.4 kB / 0.7883 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.171e-05/0.7496, allocations: 54.5 kB / 0.7883 GB, free: 48.53 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.409e-05/0.7497, allocations: 121.5 kB / 0.7884 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.382e-05/0.7497, allocations: 29.64 kB / 0.7884 GB, free: 48.4 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.957e-05/0.7497, allocations: 95.11 kB / 0.7885 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.729e-05/0.7498, allocations: 15.69 kB / 0.7886 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.943e-05/0.7498, allocations: 29.44 kB / 0.7886 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.587e-05/0.7499, allocations: 322.6 kB / 0.7889 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001071/0.75, allocations: 29.25 kB / 0.7889 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000124/0.7501, allocations: 71.33 kB / 0.789 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002173/0.7504, allocations: 114 kB / 0.7891 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.7504, allocations: 0.75 kB / 0.7891 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002923/0.7507, allocations: 138.1 kB / 0.7892 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.7507, allocations: 8.906 kB / 0.7892 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.7507, allocations: 0 / 0.7892 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.7507, allocations: 2.812 kB / 0.7892 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001427/0.7509, allocations: 21.55 kB / 0.7893 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/0.7509, allocations: 2.875 kB / 0.7893 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.328e-05/0.751, allocations: 10.42 kB / 0.7893 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.509e-05/0.751, allocations: 5.719 kB / 0.7893 GB, free: 47.84 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 8 (triggeredSampler1.y,$PRE.triggeredSampler1.y,triggeredSampler.y,$PRE.triggeredSampler.y,samTri.y,$whenCondition1,samTri1.y,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.961e-05/0.7511, allocations: 123.5 kB / 0.7894 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.472e-05/0.7511, allocations: 10.66 kB / 0.7894 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.161e-05/0.7512, allocations: 13.92 kB / 0.7894 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.7512, allocations: 3.562 kB / 0.7894 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.736e-06/0.7512, allocations: 2.203 kB / 0.7894 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.968e-05/0.7512, allocations: 85.56 kB / 0.7895 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.837e-05/0.7512, allocations: 2.906 kB / 0.7895 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.505e-05/0.7513, allocations: 10.12 kB / 0.7895 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.89e-05/0.7513, allocations: 6.328 kB / 0.7895 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002919/0.7516, allocations: 189.7 kB / 0.7897 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002685/0.7519, allocations: 275.5 kB / 0.79 GB, free: 47.31 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001002/0.752, allocations: 32.12 kB / 0.79 GB, free: 47.31 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.764e-05/0.7521, allocations: 89.98 kB / 0.7901 GB, free: 47.24 MB / 0.6544 GB Notification: Performance of Backend: time 7.31e-07/0.7521, allocations: 0.8438 kB / 0.7901 GB, free: 47.24 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0005238/0.7526, allocations: 135.3 kB / 0.7902 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of SimCode: time 0.0004683/0.7531, allocations: 0.6018 MB / 0.7908 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of Templates: time 0.003988/0.7571, allocations: 1.053 MB / 0.7918 GB, free: 46.58 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe 2>&1)