Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00123/0.00123, allocations: 81.86 kB / 20.68 MB, free: 3.816 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001383/0.001383, allocations: 181 kB / 24.08 MB, free: 420 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9251/0.9251, allocations: 177.1 MB / 204.5 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.738/1.738, allocations: 359 MB / 0.6055 GB, free: 10.86 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|samTri.y|triggeredSampler.u|triggeredSampler.y|samTri1.y|triggeredSampler1.u|triggeredSampler1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|samTri.y|triggeredSampler.u|triggeredSampler.y|samTri1.y|triggeredSampler1.u|triggeredSampler1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 0.7876 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.395e-05/1.543e-05, allocations: 2.312 kB / 0.7876 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.001234/0.001249, allocations: 0.7534 MB / 0.7883 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001178/0.002427, allocations: 1.117 MB / 0.7894 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.278e-05/0.00248, allocations: 0 / 0.7894 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.059e-05/0.002511, allocations: 5.469 kB / 0.7894 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.129e-05/0.002592, allocations: 15.86 kB / 0.7894 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002823/0.002874, allocations: 55.75 kB / 0.7895 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 9.788e-05/0.002972, allocations: 74.25 kB / 0.7895 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.701e-05/0.003059, allocations: 16.11 kB / 0.7896 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 8.348e-05/0.003143, allocations: 43.89 kB / 0.7896 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.995e-05/0.003183, allocations: 23.91 kB / 0.7896 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.686e-05/0.0032, allocations: 11.98 kB / 0.7896 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 4.882e-05/0.003248, allocations: 19.98 kB / 0.7897 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.445e-05/0.003273, allocations: 8 kB / 0.7897 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.588e-05/0.003299, allocations: 25.66 kB / 0.7897 GB, free: 9.988 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001127/0.003411, allocations: 63.73 kB / 0.7898 GB, free: 9.926 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.003415, allocations: 4 kB / 0.7898 GB, free: 9.922 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.11e-07/0.003415, allocations: 0 / 0.7898 GB, free: 9.922 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.106e-06/0.003418, allocations: 0 / 0.7898 GB, free: 9.922 MB / 0.7448 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.0003346/0.003753, allocations: 397 kB / 0.7901 GB, free: 9.5 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.003789, allocations: 9.25 kB / 0.7901 GB, free: 9.492 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.058e-05/0.00382, allocations: 12.89 kB / 0.7902 GB, free: 9.48 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.839e-05/0.003888, allocations: 124.5 kB / 0.7903 GB, free: 9.332 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.666e-06/0.003897, allocations: 5.625 kB / 0.7903 GB, free: 9.328 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.737e-06/0.003905, allocations: 4.375 kB / 0.7903 GB, free: 9.324 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003136/0.004219, allocations: 74.86 kB / 0.7904 GB, free: 9.242 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.022e-06/0.004225, allocations: 1.156 kB / 0.7904 GB, free: 9.242 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.791e-06/0.004231, allocations: 384 / 0.7904 GB, free: 9.242 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.004236, allocations: 4.125 kB / 0.7904 GB, free: 9.238 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.754e-05/0.004253, allocations: 8.75 kB / 0.7904 GB, free: 9.23 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000303/0.004556, allocations: 294.8 kB / 0.7906 GB, free: 8.918 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.006e-05/0.004616, allocations: 35.05 kB / 0.7907 GB, free: 8.871 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.384e-05/0.00463, allocations: 11.81 kB / 0.7907 GB, free: 8.855 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.805e-05/0.004648, allocations: 8 kB / 0.7907 GB, free: 8.848 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.295e-05/0.004711, allocations: 73 kB / 0.7908 GB, free: 8.762 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.062e-06/0.004712, allocations: 4.469 kB / 0.7908 GB, free: 8.758 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0001306/0.004843, allocations: 78.36 kB / 0.7908 GB, free: 8.676 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.024e-05/0.004873, allocations: 55.39 kB / 0.7909 GB, free: 8.609 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.064e-05/0.004944, allocations: 178.4 kB / 0.7911 GB, free: 8.418 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.318e-05/0.004957, allocations: 31.36 kB / 0.7911 GB, free: 8.383 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.637e-05/0.005003, allocations: 138.8 kB / 0.7912 GB, free: 8.242 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.668e-05/0.00502, allocations: 19.83 kB / 0.7913 GB, free: 8.223 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.629e-05/0.005056, allocations: 39.34 kB / 0.7913 GB, free: 8.176 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001034/0.00516, allocations: 0.4922 MB / 0.7918 GB, free: 7.672 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.572e-05/0.005175, allocations: 4.5 kB / 0.7918 GB, free: 7.668 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.117e-05/0.005216, allocations: 70.39 kB / 0.7918 GB, free: 7.57 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.507e-05/0.005292, allocations: 97.03 kB / 0.7919 GB, free: 7.449 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.005293, allocations: 0 / 0.7919 GB, free: 7.449 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001014/0.005395, allocations: 99.12 kB / 0.792 GB, free: 7.348 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.005407, allocations: 9.562 kB / 0.792 GB, free: 7.34 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.005412, allocations: 0 / 0.792 GB, free: 7.34 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.005424, allocations: 8.891 kB / 0.792 GB, free: 7.332 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.91e-05/0.005493, allocations: 15.98 kB / 0.7921 GB, free: 7.316 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.005501, allocations: 8.719 kB / 0.7921 GB, free: 7.309 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.017e-05/0.005531, allocations: 4 kB / 0.7921 GB, free: 7.305 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.666e-06/0.005539, allocations: 5.281 kB / 0.7921 GB, free: 7.301 MB / 0.7448 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 6.797e-05/0.005607, allocations: 164.6 kB / 0.7922 GB, free: 7.129 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.011e-05/0.005617, allocations: 11.89 kB / 0.7922 GB, free: 7.117 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.145e-05/0.005639, allocations: 9.281 kB / 0.7923 GB, free: 7.113 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.005641, allocations: 4 kB / 0.7923 GB, free: 7.109 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.313e-06/0.005643, allocations: 1.219 kB / 0.7923 GB, free: 7.109 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.165e-06/0.005646, allocations: 3.938 kB / 0.7923 GB, free: 7.105 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002081/0.005854, allocations: 326.1 kB / 0.7926 GB, free: 6.754 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.005855, allocations: 1.312 kB / 0.7926 GB, free: 6.754 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.866e-05/0.005873, allocations: 4 kB / 0.7926 GB, free: 6.75 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.005875, allocations: 0 / 0.7926 GB, free: 6.75 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.769e-06/0.00588, allocations: 1.75 kB / 0.7926 GB, free: 6.75 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/0.005881, allocations: 80 / 0.7926 GB, free: 6.75 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.005884, allocations: 3.984 kB / 0.7926 GB, free: 6.746 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001069/0.005991, allocations: 227.8 kB / 0.7928 GB, free: 6.504 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.744e-06/0.005998, allocations: 7.953 kB / 0.7928 GB, free: 6.496 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.305e-06/0.006007, allocations: 2.594 kB / 0.7928 GB, free: 6.496 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.23e-05/0.006039, allocations: 8 kB / 0.7928 GB, free: 6.488 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.787e-05/0.006067, allocations: 3.984 kB / 0.7928 GB, free: 6.484 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.89e-06/0.006072, allocations: 4 kB / 0.7928 GB, free: 6.48 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.716e-05/0.006109, allocations: 131.2 kB / 0.793 GB, free: 6.352 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.006109, allocations: 0 / 0.793 GB, free: 6.352 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001582/0.006267, allocations: 16 kB / 0.793 GB, free: 6.336 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (samTri1.y,samTri.y,$whenCondition2,$whenCondition1,triggeredSampler.y,triggeredSampler1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 9.545e-05/0.006363, allocations: 108.2 kB / 0.7931 GB, free: 6.219 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.422e-05/0.006437, allocations: 45.48 kB / 0.7931 GB, free: 6.172 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.293e-06/0.006438, allocations: 4 kB / 0.7931 GB, free: 6.168 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.6e-05/0.006464, allocations: 19.67 kB / 0.7931 GB, free: 6.145 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001659/0.00663, allocations: 22.28 kB / 0.7932 GB, free: 6.125 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002248/0.006855, allocations: 169.7 kB / 0.7933 GB, free: 5.93 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.16e-05/0.006886, allocations: 59.36 kB / 0.7934 GB, free: 5.852 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.158e-05/0.006908, allocations: 7.984 kB / 0.7934 GB, free: 5.844 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.338e-05/0.006961, allocations: 74.2 kB / 0.7935 GB, free: 5.77 MB / 0.7448 GB Notification: Performance of SimCode: time 4.01e-07/0.006962, allocations: 0 / 0.7935 GB, free: 5.77 MB / 0.7448 GB Notification: Performance of Templates: time 0.002528/0.00949, allocations: 1.136 MB / 0.7946 GB, free: 4.668 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTrigger.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.7741220709867775]