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.001255/0.001255, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001034/0.001034, allocations: 163.2 kB / 24.87 MB, free: 8.871 MB / 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.9873/0.9873, allocations: 177.1 MB / 205.3 MB, free: 5.52 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.819/1.819, allocations: 359 MB / 0.6063 GB, free: 10.89 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 2.044e-06/2.044e-06, allocations: 0 / 0.7883 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.114e-05/2.318e-05, allocations: 2.312 kB / 0.7883 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.00128/0.001304, allocations: 0.761 MB / 0.7891 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001126/0.00243, allocations: 1.116 MB / 0.7902 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.922e-05/0.002479, allocations: 4 kB / 0.7902 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.056e-05/0.002509, allocations: 9.391 kB / 0.7902 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.613e-05/0.002586, allocations: 11.86 kB / 0.7902 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002757/0.002861, allocations: 51.77 kB / 0.7902 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 9.873e-05/0.00296, allocations: 78.95 kB / 0.7903 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.972e-05/0.00306, allocations: 16.11 kB / 0.7903 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 9.364e-05/0.003153, allocations: 39.91 kB / 0.7904 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.192e-05/0.003205, allocations: 27.89 kB / 0.7904 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2e-05/0.003225, allocations: 8 kB / 0.7904 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 5.694e-05/0.003282, allocations: 19.98 kB / 0.7904 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.402e-05/0.003306, allocations: 7.984 kB / 0.7904 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.054e-05/0.003337, allocations: 27.91 kB / 0.7904 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001227/0.00346, allocations: 64.77 kB / 0.7905 GB, free: 9.973 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.003462, allocations: 0 / 0.7905 GB, free: 9.973 MB / 0.7448 GB Notification: Performance of FrontEnd: time 4.41e-07/0.003462, allocations: 0 / 0.7905 GB, free: 9.973 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.003468, allocations: 4.594 kB / 0.7905 GB, free: 9.969 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.0003927/0.003861, allocations: 393.7 kB / 0.7909 GB, free: 9.551 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.491e-05/0.003896, allocations: 8.031 kB / 0.7909 GB, free: 9.543 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.427e-05/0.00393, allocations: 16.88 kB / 0.7909 GB, free: 9.527 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.213e-05/0.004012, allocations: 116.5 kB / 0.791 GB, free: 9.387 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.02e-05/0.004022, allocations: 5.281 kB / 0.791 GB, free: 9.383 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.001e-05/0.004032, allocations: 4.375 kB / 0.791 GB, free: 9.379 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.461e-05/0.004127, allocations: 67.56 kB / 0.7911 GB, free: 9.305 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.911e-06/0.004133, allocations: 0.7812 kB / 0.7911 GB, free: 9.305 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.004141, allocations: 8.375 kB / 0.7911 GB, free: 9.297 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.004146, allocations: 5.5 kB / 0.7911 GB, free: 9.293 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.934e-05/0.004166, allocations: 7.984 kB / 0.7911 GB, free: 9.285 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003242/0.00449, allocations: 289.8 kB / 0.7914 GB, free: 8.977 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.114e-05/0.004561, allocations: 35.06 kB / 0.7914 GB, free: 8.93 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.785e-05/0.004579, allocations: 23.73 kB / 0.7914 GB, free: 8.902 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.526e-05/0.004594, allocations: 0 / 0.7914 GB, free: 8.902 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.197e-05/0.004666, allocations: 70.5 kB / 0.7915 GB, free: 8.82 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 8.22e-07/0.004667, allocations: 0 / 0.7915 GB, free: 8.82 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0001456/0.004812, allocations: 77.67 kB / 0.7916 GB, free: 8.738 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.391e-05/0.004846, allocations: 55.97 kB / 0.7916 GB, free: 8.672 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.85e-05/0.004925, allocations: 181.8 kB / 0.7918 GB, free: 8.477 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.417e-05/0.004939, allocations: 31.3 kB / 0.7918 GB, free: 8.441 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.179e-05/0.004991, allocations: 142.8 kB / 0.792 GB, free: 8.297 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.787e-05/0.005009, allocations: 19.83 kB / 0.792 GB, free: 8.277 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.639e-05/0.005045, allocations: 31.36 kB / 0.792 GB, free: 8.238 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.005164, allocations: 0.4944 MB / 0.7925 GB, free: 7.734 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.899e-05/0.005183, allocations: 7.984 kB / 0.7925 GB, free: 7.727 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.556e-05/0.005229, allocations: 77.72 kB / 0.7926 GB, free: 7.621 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.8e-05/0.005297, allocations: 83.5 kB / 0.7927 GB, free: 7.512 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.0053, allocations: 4 kB / 0.7927 GB, free: 7.508 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000106/0.005406, allocations: 99.56 kB / 0.7928 GB, free: 7.406 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/0.005417, allocations: 4 kB / 0.7928 GB, free: 7.402 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.005422, allocations: 5.125 kB / 0.7928 GB, free: 7.398 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.315e-06/0.005431, allocations: 0 / 0.7928 GB, free: 7.398 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.538e-05/0.005506, allocations: 23.98 kB / 0.7928 GB, free: 7.375 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.665e-06/0.005509, allocations: 0.8125 kB / 0.7928 GB, free: 7.375 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.331e-05/0.005542, allocations: 7.984 kB / 0.7928 GB, free: 7.367 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.096e-05/0.005553, allocations: 8.531 kB / 0.7928 GB, free: 7.359 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 7.087e-05/0.005624, allocations: 161.4 kB / 0.793 GB, free: 7.191 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.173e-05/0.005636, allocations: 15.89 kB / 0.793 GB, free: 7.176 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.796e-05/0.005654, allocations: 18.42 kB / 0.793 GB, free: 7.164 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.005655, allocations: 0 / 0.793 GB, free: 7.164 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.005658, allocations: 3.984 kB / 0.793 GB, free: 7.16 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.005661, allocations: 0 / 0.793 GB, free: 7.16 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002073/0.005869, allocations: 321.8 kB / 0.7933 GB, free: 6.812 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.005869, allocations: 0.5625 kB / 0.7933 GB, free: 6.812 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.584e-05/0.005895, allocations: 10.52 kB / 0.7933 GB, free: 6.805 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.163e-06/0.005896, allocations: 0 / 0.7933 GB, free: 6.805 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.584e-06/0.005904, allocations: 8 kB / 0.7933 GB, free: 6.797 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.72e-07/0.005905, allocations: 0 / 0.7933 GB, free: 6.797 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.005906, allocations: 0 / 0.7933 GB, free: 6.797 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001032/0.006009, allocations: 219.8 kB / 0.7935 GB, free: 6.562 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.113e-06/0.006016, allocations: 3.953 kB / 0.7936 GB, free: 6.559 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.196e-05/0.006028, allocations: 13.73 kB / 0.7936 GB, free: 6.547 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.159e-05/0.006059, allocations: 0 / 0.7936 GB, free: 6.547 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.556e-05/0.006085, allocations: 7.984 kB / 0.7936 GB, free: 6.539 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.927e-06/0.006089, allocations: 0 / 0.7936 GB, free: 6.539 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.772e-05/0.006127, allocations: 135.2 kB / 0.7937 GB, free: 6.406 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.006127, allocations: 0.5312 kB / 0.7937 GB, free: 6.406 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001667/0.006293, allocations: 17.16 kB / 0.7937 GB, free: 6.391 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.463e-05/0.006388, allocations: 99.25 kB / 0.7938 GB, free: 6.281 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.664e-05/0.006475, allocations: 49.75 kB / 0.7939 GB, free: 6.23 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.092e-06/0.006476, allocations: 0 / 0.7939 GB, free: 6.23 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.097e-05/0.006507, allocations: 28.33 kB / 0.7939 GB, free: 6.199 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001855/0.006692, allocations: 18.09 kB / 0.7939 GB, free: 6.184 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002342/0.006926, allocations: 167.8 kB / 0.7941 GB, free: 5.988 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.184e-05/0.006958, allocations: 59.34 kB / 0.7941 GB, free: 5.91 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.315e-05/0.006981, allocations: 5.562 kB / 0.7941 GB, free: 5.906 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.27e-05/0.007034, allocations: 82.19 kB / 0.7942 GB, free: 5.824 MB / 0.7448 GB Notification: Performance of SimCode: time 4.61e-07/0.007035, allocations: 0 / 0.7942 GB, free: 5.824 MB / 0.7448 GB Notification: Performance of Templates: time 0.002651/0.009685, allocations: 1.153 MB / 0.7953 GB, free: 4.703 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: 5.031891233287752]