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.0009149/0.0009149, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001271/0.002186, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001075/0.001075, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001474/0.002548, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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 1.013/1.013, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09859/1.112, allocations: 53.68 MB / 243.4 MB, free: 15.48 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.396/2.396, allocations: 447.1 MB / 0.675 GB, free: 5.879 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2441/2.64, allocations: 146 MB / 0.8176 GB, free: 3.793 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.803e-06/1.803e-06, allocations: 0 / 0.8189 GB, free: 2.473 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.939e-05/2.119e-05, allocations: 2.312 kB / 0.8189 GB, free: 2.469 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.001514/0.001535, allocations: 0.8025 MB / 0.8197 GB, free: 1.66 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.00108/0.002615, allocations: 1.127 MB / 0.8208 GB, free: 0.5195 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.281e-05/0.002648, allocations: 4 kB / 0.8208 GB, free: 0.5156 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.39e-05/0.002672, allocations: 7.875 kB / 0.8208 GB, free: 0.5078 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 3.943e-05/0.002711, allocations: 15.92 kB / 0.8208 GB, free: 0.4922 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001708/0.002882, allocations: 55.69 kB / 0.8209 GB, free: 448 kB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 8.852e-05/0.002971, allocations: 67.78 kB / 0.821 GB, free: 380 kB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 8.05e-05/0.003051, allocations: 12.19 kB / 0.821 GB, free: 364 kB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 8.978e-05/0.003141, allocations: 55.81 kB / 0.821 GB, free: 308 kB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 5.026e-05/0.003191, allocations: 27.89 kB / 0.8211 GB, free: 280 kB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.578e-05/0.003207, allocations: 8 kB / 0.8211 GB, free: 272 kB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 6.299e-05/0.00327, allocations: 16 kB / 0.8211 GB, free: 256 kB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 2.119e-05/0.003291, allocations: 16 kB / 0.8211 GB, free: 240 kB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 2.082e-05/0.003312, allocations: 15.94 kB / 0.8211 GB, free: 224 kB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001029/0.003415, allocations: 55.77 kB / 0.8212 GB, free: 168 kB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.131e-05/0.003426, allocations: 0 / 0.8212 GB, free: 168 kB / 0.7917 GB Notification: Performance of FrontEnd: time 4.71e-07/0.003427, allocations: 0 / 0.8212 GB, free: 168 kB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.215e-05/0.003439, allocations: 0 / 0.8212 GB, free: 168 kB / 0.7917 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.0003887/0.003828, allocations: 288.3 kB / 0.8214 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.632e-05/0.003854, allocations: 8.031 kB / 0.8214 GB, free: 15.85 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.101e-05/0.003885, allocations: 16.92 kB / 0.8215 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.739e-05/0.003972, allocations: 121.6 kB / 0.8216 GB, free: 15.69 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.457e-06/0.003982, allocations: 8.375 kB / 0.8216 GB, free: 15.68 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.274e-05/0.003994, allocations: 8.312 kB / 0.8216 GB, free: 15.68 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.144e-05/0.004086, allocations: 62.94 kB / 0.8216 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.492e-06/0.004092, allocations: 192 / 0.8216 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.313e-06/0.0041, allocations: 4.375 kB / 0.8217 GB, free: 15.6 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.004107, allocations: 8.125 kB / 0.8217 GB, free: 15.59 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.856e-05/0.004125, allocations: 11.92 kB / 0.8217 GB, free: 15.58 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002741/0.004399, allocations: 188.2 kB / 0.8219 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 6.535e-05/0.004465, allocations: 30.67 kB / 0.8219 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.725e-05/0.004482, allocations: 20.91 kB / 0.8219 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.581e-05/0.004498, allocations: 0 / 0.8219 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.844e-05/0.004566, allocations: 59.31 kB / 0.822 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=7): time 1.222e-06/0.004567, allocations: 4 kB / 0.822 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7): time 0.0001047/0.004672, allocations: 57.91 kB / 0.822 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.366e-05/0.004706, allocations: 63.33 kB / 0.8221 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.733e-05/0.004763, allocations: 118.7 kB / 0.8222 GB, free: 14.98 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.025e-05/0.004773, allocations: 29.7 kB / 0.8222 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.985e-05/0.004813, allocations: 100.1 kB / 0.8223 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.734e-05/0.00483, allocations: 11.91 kB / 0.8223 GB, free: 14.83 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.809e-05/0.004869, allocations: 29.69 kB / 0.8224 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.408e-05/0.004943, allocations: 318.8 kB / 0.8227 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.555e-05/0.004958, allocations: 7.984 kB / 0.8227 GB, free: 14.47 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.667e-05/0.004995, allocations: 58 kB / 0.8227 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.805e-05/0.005053, allocations: 73.86 kB / 0.8228 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.005056, allocations: 4 kB / 0.8228 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of matching and sorting (n=11) (initialization): time 7.75e-05/0.005133, allocations: 77.53 kB / 0.8229 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.005146, allocations: 15.88 kB / 0.8229 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.828e-06/0.00515, allocations: 0 / 0.8229 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.005162, allocations: 4 kB / 0.8229 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.605e-05/0.005238, allocations: 23.92 kB / 0.8229 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.895e-06/0.005241, allocations: 4.219 kB / 0.8229 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.099e-05/0.005272, allocations: 7.938 kB / 0.8229 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.04e-05/0.005282, allocations: 7.984 kB / 0.8229 GB, free: 14.15 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.437e-05/0.005337, allocations: 113.8 kB / 0.823 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.066e-05/0.005347, allocations: 11.94 kB / 0.823 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.972e-05/0.005367, allocations: 8.438 kB / 0.8231 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-06/0.005368, allocations: 0 / 0.8231 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-06/0.005369, allocations: 0 / 0.8231 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.005373, allocations: 3.984 kB / 0.8231 GB, free: 14 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001557/0.005528, allocations: 218.7 kB / 0.8233 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.005531, allocations: 7.938 kB / 0.8233 GB, free: 13.76 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.874e-05/0.005549, allocations: 7.984 kB / 0.8233 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 7.033e-06/0.005556, allocations: 7.953 kB / 0.8233 GB, free: 13.74 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.005558, allocations: 3.938 kB / 0.8233 GB, free: 13.74 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.847e-06/0.005562, allocations: 0 / 0.8233 GB, free: 13.74 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.005563, allocations: 0 / 0.8233 GB, free: 13.74 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.005563, allocations: 0 / 0.8233 GB, free: 13.74 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.219e-05/0.005635, allocations: 159.4 kB / 0.8234 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.257e-06/0.005645, allocations: 4 kB / 0.8235 GB, free: 13.56 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.004e-05/0.005675, allocations: 0 / 0.8235 GB, free: 13.56 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.513e-05/0.0057, allocations: 11.98 kB / 0.8235 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.927e-06/0.005704, allocations: 4 kB / 0.8235 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.571e-05/0.005719, allocations: 16.84 kB / 0.8235 GB, free: 13.53 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4e-08/0.005719, allocations: 0 / 0.8235 GB, free: 13.53 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001479/0.005867, allocations: 19.94 kB / 0.8235 GB, free: 13.51 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 9.292e-05/0.00596, allocations: 89.33 kB / 0.8236 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 7.799e-05/0.006038, allocations: 44.77 kB / 0.8236 GB, free: 13.37 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.006042, allocations: 0.6562 kB / 0.8236 GB, free: 13.37 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.872e-05/0.006071, allocations: 24.8 kB / 0.8237 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001582/0.006229, allocations: 103.3 kB / 0.8238 GB, free: 13.22 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003273/0.006556, allocations: 157.1 kB / 0.8239 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.104e-05/0.006587, allocations: 63.2 kB / 0.824 GB, free: 12.96 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.378e-05/0.006611, allocations: 11.98 kB / 0.824 GB, free: 12.95 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.692e-05/0.006658, allocations: 63.38 kB / 0.824 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of SimCode: time 4.81e-07/0.006658, allocations: 0 / 0.824 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of Templates: time 0.002432/0.009091, allocations: 1.049 MB / 0.8251 GB, free: 11.85 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 -emit_protected -ignoreHideResult -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.186138022691011]