Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.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.0007798/0.0007798, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00119/0.00197, allocations: 449.8 kB / 10.44 MB, free: 252 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.0007269/0.0007269, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001013/0.001739, allocations: 479.5 kB / 11.82 MB, free: 2.344 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 0.9882/0.9882, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09265/1.081, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.878/1.878, allocations: 378.4 MB / 0.6079 GB, free: 7.711 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4998/2.378, allocations: 123.3 MB / 0.7283 GB, free: 5.734 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.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.SampleTriggerNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|samTri.y|triggeredSampler.u|triggeredSampler.y|samTri1.y|triggeredSampler1.u|triggeredSampler1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|samTri.y|triggeredSampler.u|triggeredSampler.y|samTri1.y|triggeredSampler1.u|triggeredSampler1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 1.094 kB / 0.7297 GB, free: 4.402 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.773e-05/1.975e-05, allocations: 9.266 kB / 0.7297 GB, free: 4.395 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.001307/0.001327, allocations: 0.7926 MB / 0.7304 GB, free: 3.633 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0009005/0.002227, allocations: 1.124 MB / 0.7315 GB, free: 2.5 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.172e-05/0.002259, allocations: 4 kB / 0.7315 GB, free: 2.496 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.132e-05/0.00228, allocations: 8.531 kB / 0.7316 GB, free: 2.488 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 4.152e-05/0.002322, allocations: 12.64 kB / 0.7316 GB, free: 2.48 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001663/0.002488, allocations: 48.34 kB / 0.7316 GB, free: 2.434 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 9.793e-05/0.002586, allocations: 77.62 kB / 0.7317 GB, free: 2.371 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 8.538e-05/0.002671, allocations: 16.77 kB / 0.7317 GB, free: 2.352 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001019/0.002773, allocations: 53.39 kB / 0.7318 GB, free: 2.305 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 5.335e-05/0.002827, allocations: 21.72 kB / 0.7318 GB, free: 2.285 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.735e-05/0.002844, allocations: 4.438 kB / 0.7318 GB, free: 2.281 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 6.961e-05/0.002914, allocations: 23.98 kB / 0.7318 GB, free: 2.258 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.042e-05/0.002934, allocations: 11.94 kB / 0.7318 GB, free: 2.246 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.373e-05/0.002958, allocations: 17.53 kB / 0.7318 GB, free: 2.23 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001253/0.003083, allocations: 51.81 kB / 0.7319 GB, free: 2.18 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.234e-05/0.003095, allocations: 0 / 0.7319 GB, free: 2.18 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.984e-06/0.003097, allocations: 4 kB / 0.7319 GB, free: 2.176 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.36e-05/0.003111, allocations: 0.8125 kB / 0.7319 GB, free: 2.176 MB / 0.698 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.0004296/0.003541, allocations: 288.3 kB / 0.7322 GB, free: 1.871 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 2.994e-05/0.003571, allocations: 8.906 kB / 0.7322 GB, free: 1.863 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.481e-05/0.003605, allocations: 8.938 kB / 0.7322 GB, free: 1.855 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001111/0.003717, allocations: 122.2 kB / 0.7323 GB, free: 1.711 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.408e-06/0.003726, allocations: 384 / 0.7323 GB, free: 1.711 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.436e-05/0.00374, allocations: 9.188 kB / 0.7323 GB, free: 1.703 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.559e-05/0.003836, allocations: 58.94 kB / 0.7324 GB, free: 1.637 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.565e-06/0.003843, allocations: 9.188 kB / 0.7324 GB, free: 1.629 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.963e-06/0.00385, allocations: 4.375 kB / 0.7324 GB, free: 1.625 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.003856, allocations: 5.594 kB / 0.7324 GB, free: 1.621 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.811e-05/0.003874, allocations: 11.98 kB / 0.7324 GB, free: 1.609 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002817/0.004156, allocations: 180.2 kB / 0.7326 GB, free: 1.418 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.977e-05/0.004226, allocations: 39.73 kB / 0.7326 GB, free: 1.371 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.456e-05/0.00424, allocations: 8.859 kB / 0.7326 GB, free: 1.359 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.969e-05/0.00426, allocations: 8.953 kB / 0.7326 GB, free: 1.352 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.07e-05/0.00433, allocations: 59.31 kB / 0.7327 GB, free: 1.281 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.002e-06/0.004331, allocations: 4.844 kB / 0.7327 GB, free: 1.277 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0001109/0.004442, allocations: 65.73 kB / 0.7327 GB, free: 1.207 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.482e-05/0.004477, allocations: 55.41 kB / 0.7328 GB, free: 1.141 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.295e-05/0.00454, allocations: 127.9 kB / 0.7329 GB, free: 1.004 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.236e-05/0.004552, allocations: 29.7 kB / 0.7329 GB, free: 0.9688 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.491e-05/0.004587, allocations: 92.08 kB / 0.733 GB, free: 0.875 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.54e-05/0.004603, allocations: 17.95 kB / 0.733 GB, free: 0.8594 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.207e-05/0.004635, allocations: 29.69 kB / 0.7331 GB, free: 0.8242 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000105/0.00474, allocations: 318.8 kB / 0.7334 GB, free: 0.5039 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.628e-05/0.004756, allocations: 7.984 kB / 0.7334 GB, free: 0.4961 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.305e-05/0.004789, allocations: 54 kB / 0.7334 GB, free: 432 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.731e-05/0.004847, allocations: 72.05 kB / 0.7335 GB, free: 340 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.004849, allocations: 1.5 kB / 0.7335 GB, free: 340 kB / 0.698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 8.087e-05/0.004929, allocations: 78.8 kB / 0.7336 GB, free: 256 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/0.004941, allocations: 7.938 kB / 0.7336 GB, free: 248 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.004946, allocations: 5.25 kB / 0.7336 GB, free: 244 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.004958, allocations: 0 / 0.7336 GB, free: 244 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.724e-05/0.005045, allocations: 27.91 kB / 0.7336 GB, free: 216 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.007e-06/0.005049, allocations: 4.906 kB / 0.7336 GB, free: 212 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.005e-05/0.005079, allocations: 4 kB / 0.7336 GB, free: 208 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-06/0.005089, allocations: 8 kB / 0.7336 GB, free: 200 kB / 0.698 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.431e-05/0.005143, allocations: 126.4 kB / 0.7338 GB, free: 64 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.366e-06/0.005152, allocations: 13.66 kB / 0.7338 GB, free: 52 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.94e-05/0.005171, allocations: 4.438 kB / 0.7338 GB, free: 44 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-06/0.005172, allocations: 0 / 0.7338 GB, free: 44 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-06/0.005173, allocations: 7.938 kB / 0.7338 GB, free: 36 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.005176, allocations: 0.6562 kB / 0.7338 GB, free: 36 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001788/0.005355, allocations: 214.7 kB / 0.734 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.005357, allocations: 4.5 kB / 0.734 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.548e-05/0.005383, allocations: 6.938 kB / 0.734 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.714e-06/0.005391, allocations: 11.94 kB / 0.734 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.005392, allocations: 0 / 0.734 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.137e-06/0.005396, allocations: 0 / 0.734 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.005397, allocations: 4 kB / 0.734 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.005399, allocations: 3.984 kB / 0.734 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.304e-05/0.005472, allocations: 155.5 kB / 0.7342 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.175e-06/0.00548, allocations: 0 / 0.7342 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.243e-05/0.005513, allocations: 6.75 kB / 0.7342 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.716e-05/0.00554, allocations: 7.984 kB / 0.7342 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.2e-06/0.005545, allocations: 11.94 kB / 0.7342 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.726e-05/0.005563, allocations: 25.42 kB / 0.7342 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4e-08/0.005563, allocations: 0 / 0.7342 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000137/0.0057, allocations: 12 kB / 0.7342 GB, free: 15.54 MB / 0.7136 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 0.0001266/0.005826, allocations: 89.08 kB / 0.7343 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.864e-05/0.005915, allocations: 46.27 kB / 0.7344 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.005919, allocations: 0 / 0.7344 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.307e-05/0.005952, allocations: 25.56 kB / 0.7344 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000189/0.006141, allocations: 101.6 kB / 0.7345 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000383/0.006524, allocations: 160.4 kB / 0.7346 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.918e-05/0.006563, allocations: 59.34 kB / 0.7347 GB, free: 15 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.572e-05/0.006589, allocations: 7.859 kB / 0.7347 GB, free: 14.99 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.537e-05/0.006645, allocations: 67.36 kB / 0.7348 GB, free: 14.92 MB / 0.7136 GB Notification: Performance of SimCode: time 4.91e-07/0.006645, allocations: 0 / 0.7348 GB, free: 14.92 MB / 0.7136 GB Notification: Performance of Templates: time 0.002692/0.009337, allocations: 1.071 MB / 0.7358 GB, free: 13.95 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.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: 4.9300211844965816]