Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00102/0.00102, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.0009726/0.0009726, allocations: 181 kB / 23.35 MB, free: 1.137 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.9648/0.9648, allocations: 177.1 MB / 203.8 MB, free: 5.461 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.513/2.513, allocations: 438.8 MB / 0.6827 GB, free: 13.62 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 0.8386 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.061e-05/2.229e-05, allocations: 6.312 kB / 0.8386 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.002045/0.002067, allocations: 0.795 MB / 0.8394 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001634/0.003702, allocations: 1.135 MB / 0.8405 GB, free: 12.21 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.151e-05/0.003743, allocations: 0 / 0.8405 GB, free: 12.21 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.449e-05/0.003768, allocations: 3.938 kB / 0.8405 GB, free: 12.21 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 6.252e-05/0.00383, allocations: 11.88 kB / 0.8405 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002331/0.004063, allocations: 55.75 kB / 0.8406 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001003/0.004163, allocations: 75.77 kB / 0.8407 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 9.238e-05/0.004256, allocations: 16.11 kB / 0.8407 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 8.76e-05/0.004343, allocations: 39.91 kB / 0.8407 GB, free: 12.01 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 4.079e-05/0.004384, allocations: 27.89 kB / 0.8408 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.31e-05/0.004397, allocations: 8 kB / 0.8408 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 5.084e-05/0.004448, allocations: 19.98 kB / 0.8408 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.417e-05/0.004462, allocations: 11.98 kB / 0.8408 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.273e-05/0.004485, allocations: 27.92 kB / 0.8408 GB, free: 11.92 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 8.876e-05/0.004574, allocations: 63.73 kB / 0.8409 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.724e-06/0.004576, allocations: 0 / 0.8409 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of FrontEnd: time 7.21e-07/0.004576, allocations: 0 / 0.8409 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.196e-06/0.004579, allocations: 0 / 0.8409 GB, free: 11.86 MB / 0.8073 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.0002903/0.00487, allocations: 272.7 kB / 0.8411 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.613e-05/0.004896, allocations: 8.625 kB / 0.8411 GB, free: 11.56 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.416e-05/0.00492, allocations: 8.938 kB / 0.8412 GB, free: 11.55 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.797e-05/0.004998, allocations: 129.6 kB / 0.8413 GB, free: 11.4 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.587e-06/0.005007, allocations: 384 / 0.8413 GB, free: 11.4 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.884e-06/0.005014, allocations: 8.312 kB / 0.8413 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.789e-05/0.005102, allocations: 70.94 kB / 0.8414 GB, free: 11.31 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.005109, allocations: 192 / 0.8414 GB, free: 11.31 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.32e-06/0.005115, allocations: 384 / 0.8414 GB, free: 11.31 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.005121, allocations: 4.125 kB / 0.8414 GB, free: 11.31 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.917e-05/0.005141, allocations: 11.98 kB / 0.8414 GB, free: 11.3 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002675/0.005408, allocations: 184.2 kB / 0.8415 GB, free: 11.1 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.632e-05/0.005464, allocations: 26.58 kB / 0.8416 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.523e-05/0.00548, allocations: 12.98 kB / 0.8416 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.315e-05/0.005493, allocations: 11.98 kB / 0.8416 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.744e-05/0.00555, allocations: 63.31 kB / 0.8417 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=7): time 9.41e-07/0.005551, allocations: 0 / 0.8417 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7): time 9.239e-05/0.005643, allocations: 61.84 kB / 0.8417 GB, free: 10.9 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.018e-05/0.005674, allocations: 59.41 kB / 0.8418 GB, free: 10.83 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.916e-05/0.005733, allocations: 122.7 kB / 0.8419 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.136e-05/0.005744, allocations: 25.7 kB / 0.8419 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.296e-05/0.005777, allocations: 96.08 kB / 0.842 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.569e-05/0.005793, allocations: 19.83 kB / 0.842 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.216e-05/0.005825, allocations: 25.7 kB / 0.842 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.344e-05/0.005898, allocations: 326.8 kB / 0.8424 GB, free: 10.19 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.344e-05/0.005912, allocations: 4 kB / 0.8424 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.603e-05/0.005948, allocations: 58 kB / 0.8424 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.717e-05/0.006005, allocations: 69.92 kB / 0.8425 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.006007, allocations: 0 / 0.8425 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of matching and sorting (n=11) (initialization): time 8.17e-05/0.006088, allocations: 85.48 kB / 0.8426 GB, free: 9.926 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.006104, allocations: 7.938 kB / 0.8426 GB, free: 9.918 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.006109, allocations: 7.984 kB / 0.8426 GB, free: 9.91 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.006121, allocations: 0 / 0.8426 GB, free: 9.91 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.984e-05/0.006191, allocations: 23.97 kB / 0.8426 GB, free: 9.887 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.006195, allocations: 3.938 kB / 0.8426 GB, free: 9.883 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.924e-05/0.006224, allocations: 8 kB / 0.8426 GB, free: 9.875 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.795e-06/0.006232, allocations: 8.219 kB / 0.8426 GB, free: 9.867 MB / 0.8073 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 5.847e-05/0.00629, allocations: 123.9 kB / 0.8427 GB, free: 9.738 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.646e-06/0.006299, allocations: 11.92 kB / 0.8428 GB, free: 9.727 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.684e-05/0.006316, allocations: 8.438 kB / 0.8428 GB, free: 9.723 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.006318, allocations: 0 / 0.8428 GB, free: 9.723 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-06/0.006319, allocations: 0 / 0.8428 GB, free: 9.723 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.006322, allocations: 3.938 kB / 0.8428 GB, free: 9.719 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001665/0.006488, allocations: 226.6 kB / 0.843 GB, free: 9.473 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.00649, allocations: 3.938 kB / 0.843 GB, free: 9.469 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.882e-05/0.006508, allocations: 4 kB / 0.843 GB, free: 9.465 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.00651, allocations: 4 kB / 0.843 GB, free: 9.461 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.869e-06/0.006515, allocations: 4 kB / 0.843 GB, free: 9.457 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.81e-07/0.006516, allocations: 0 / 0.843 GB, free: 9.457 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.006517, allocations: 0 / 0.843 GB, free: 9.457 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.223e-05/0.006589, allocations: 151.5 kB / 0.8431 GB, free: 9.293 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 9.407e-06/0.006599, allocations: 15.89 kB / 0.8432 GB, free: 9.277 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.155e-06/0.006607, allocations: 3.984 kB / 0.8432 GB, free: 9.273 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.249e-05/0.006639, allocations: 4 kB / 0.8432 GB, free: 9.27 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.993e-05/0.006659, allocations: 3.984 kB / 0.8432 GB, free: 9.266 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-06/0.006662, allocations: 0 / 0.8432 GB, free: 9.266 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.529e-05/0.006678, allocations: 20.86 kB / 0.8432 GB, free: 9.242 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.006678, allocations: 4 kB / 0.8432 GB, free: 9.238 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001323/0.00681, allocations: 15.98 kB / 0.8432 GB, free: 9.223 MB / 0.8073 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 8.566e-05/0.006896, allocations: 83.36 kB / 0.8433 GB, free: 9.133 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 7.521e-05/0.006971, allocations: 44.72 kB / 0.8433 GB, free: 9.086 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.006974, allocations: 4 kB / 0.8433 GB, free: 9.082 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.365e-05/0.006998, allocations: 16.84 kB / 0.8433 GB, free: 9.062 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001386/0.007136, allocations: 20.38 kB / 0.8434 GB, free: 9.043 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002109/0.007347, allocations: 157.1 kB / 0.8435 GB, free: 8.859 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.101e-05/0.007378, allocations: 63.34 kB / 0.8436 GB, free: 8.777 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.167e-05/0.0074, allocations: 7.984 kB / 0.8436 GB, free: 8.77 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.731e-05/0.007447, allocations: 55.38 kB / 0.8436 GB, free: 8.715 MB / 0.8073 GB Notification: Performance of SimCode: time 5.01e-07/0.007448, allocations: 0 / 0.8436 GB, free: 8.715 MB / 0.8073 GB Notification: Performance of Templates: time 0.00245/0.009898, allocations: 1.084 MB / 0.8447 GB, free: 7.652 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.21816935390234]