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.0008581/0.0008581, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001209/0.002067, allocations: 449.7 kB / 10.37 MB, free: 328 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.0007562/0.0007562, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00101/0.001766, allocations: 459.6 kB / 11.71 MB, free: 2.457 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.933/0.933, allocations: 177.2 MB / 189.6 MB, free: 5.332 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08599/1.019, allocations: 53.65 MB / 243.3 MB, free: 15.6 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.972/1.972, allocations: 378.2 MB / 0.6076 GB, free: 7.836 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5098/2.482, allocations: 123.3 MB / 0.728 GB, free: 5.848 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.434e-06/2.434e-06, allocations: 0.6562 kB / 0.7293 GB, free: 4.551 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.828e-05/3.072e-05, allocations: 6.25 kB / 0.7293 GB, free: 4.543 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.001966/0.001997, allocations: 0.7948 MB / 0.7301 GB, free: 3.773 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001291/0.003288, allocations: 1.128 MB / 0.7312 GB, free: 2.637 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001016/0.003389, allocations: 0 / 0.7312 GB, free: 2.637 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 5.16e-05/0.003441, allocations: 8.578 kB / 0.7312 GB, free: 2.629 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 7.55e-05/0.003516, allocations: 7.656 kB / 0.7312 GB, free: 2.625 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003144/0.003831, allocations: 53.44 kB / 0.7313 GB, free: 2.574 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001327/0.003963, allocations: 73.95 kB / 0.7313 GB, free: 2.516 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.004065, allocations: 21.08 kB / 0.7314 GB, free: 2.492 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001113/0.004176, allocations: 47.36 kB / 0.7314 GB, free: 2.449 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 6.251e-05/0.004239, allocations: 27.89 kB / 0.7314 GB, free: 2.422 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.859e-05/0.004257, allocations: 8 kB / 0.7314 GB, free: 2.414 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 8.752e-05/0.004345, allocations: 22.39 kB / 0.7315 GB, free: 2.395 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.144e-05/0.004366, allocations: 11.94 kB / 0.7315 GB, free: 2.383 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.783e-05/0.004394, allocations: 12 kB / 0.7315 GB, free: 2.371 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001462/0.00454, allocations: 59.7 kB / 0.7315 GB, free: 2.312 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.766e-05/0.004558, allocations: 0 / 0.7315 GB, free: 2.312 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.573e-06/0.00456, allocations: 0 / 0.7315 GB, free: 2.312 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.811e-05/0.004578, allocations: 0.5 kB / 0.7315 GB, free: 2.312 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.0004568/0.005035, allocations: 285.6 kB / 0.7318 GB, free: 2.012 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/0.005069, allocations: 8.031 kB / 0.7318 GB, free: 2.004 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.438e-05/0.005103, allocations: 12.92 kB / 0.7318 GB, free: 1.992 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.442e-05/0.005197, allocations: 117.7 kB / 0.732 GB, free: 1.852 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/0.005211, allocations: 9.219 kB / 0.732 GB, free: 1.844 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.097e-05/0.005222, allocations: 4.375 kB / 0.732 GB, free: 1.84 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001191/0.005341, allocations: 71.39 kB / 0.732 GB, free: 1.762 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.005349, allocations: 1.906 kB / 0.732 GB, free: 1.762 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.412e-06/0.005355, allocations: 384 / 0.732 GB, free: 1.762 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-06/0.005362, allocations: 4.125 kB / 0.732 GB, free: 1.758 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.346e-05/0.005385, allocations: 8 kB / 0.732 GB, free: 1.75 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003779/0.005763, allocations: 185 kB / 0.7322 GB, free: 1.555 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.926e-05/0.005843, allocations: 39.31 kB / 0.7323 GB, free: 1.508 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.934e-05/0.005862, allocations: 10.39 kB / 0.7323 GB, free: 1.496 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.422e-05/0.005886, allocations: 4 kB / 0.7323 GB, free: 1.492 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.176e-05/0.005978, allocations: 67.52 kB / 0.7323 GB, free: 1.414 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.804e-06/0.00598, allocations: 3.938 kB / 0.7323 GB, free: 1.41 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.003155/0.009135, allocations: 58.55 kB / 0.7324 GB, free: 1.348 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.049e-05/0.009195, allocations: 55.41 kB / 0.7325 GB, free: 1.281 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.742e-05/0.009293, allocations: 127.5 kB / 0.7326 GB, free: 1.145 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.027e-05/0.009313, allocations: 25.7 kB / 0.7326 GB, free: 1.113 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.286e-05/0.009356, allocations: 96.06 kB / 0.7327 GB, free: 1.016 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.216e-05/0.009378, allocations: 21.64 kB / 0.7327 GB, free: 0.9961 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.594e-05/0.009424, allocations: 29.64 kB / 0.7327 GB, free: 0.9609 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.368e-05/0.009508, allocations: 322.8 kB / 0.733 GB, free: 0.6367 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.248e-05/0.00953, allocations: 4 kB / 0.733 GB, free: 0.6328 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.61e-05/0.009606, allocations: 58.42 kB / 0.7331 GB, free: 0.5547 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.957e-05/0.009686, allocations: 72.77 kB / 0.7332 GB, free: 476 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.009688, allocations: 0 / 0.7332 GB, free: 476 kB / 0.698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000126/0.009814, allocations: 83.66 kB / 0.7333 GB, free: 388 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.00983, allocations: 7.938 kB / 0.7333 GB, free: 380 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.009836, allocations: 4 kB / 0.7333 GB, free: 376 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.908e-06/0.009846, allocations: 0.5938 kB / 0.7333 GB, free: 376 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001247/0.009971, allocations: 20.8 kB / 0.7333 GB, free: 356 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.009976, allocations: 4 kB / 0.7333 GB, free: 352 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.056e-05/0.01003, allocations: 16.47 kB / 0.7333 GB, free: 336 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.528e-05/0.01004, allocations: 5.219 kB / 0.7333 GB, free: 332 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 6.997e-05/0.01011, allocations: 121.7 kB / 0.7334 GB, free: 200 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.3e-05/0.01012, allocations: 7.938 kB / 0.7334 GB, free: 192 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.82e-05/0.01015, allocations: 13.7 kB / 0.7334 GB, free: 176 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.01016, allocations: 4 kB / 0.7335 GB, free: 172 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.093e-06/0.01016, allocations: 0 / 0.7335 GB, free: 172 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.01016, allocations: 0.7812 kB / 0.7335 GB, free: 172 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002462/0.01041, allocations: 218.7 kB / 0.7337 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.01041, allocations: 4.75 kB / 0.7337 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.802e-05/0.01045, allocations: 8 kB / 0.7337 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.145e-06/0.01046, allocations: 5.328 kB / 0.7337 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.01046, allocations: 0 / 0.7337 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.36e-06/0.01046, allocations: 4 kB / 0.7337 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.01047, allocations: 0 / 0.7337 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.01047, allocations: 1.25 kB / 0.7337 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.624e-05/0.01056, allocations: 151.4 kB / 0.7338 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.094e-05/0.01058, allocations: 0 / 0.7338 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.539e-05/0.01063, allocations: 17.08 kB / 0.7338 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.799e-05/0.01066, allocations: 4 kB / 0.7338 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.641e-06/0.01066, allocations: 4 kB / 0.7339 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.41e-05/0.01069, allocations: 22.73 kB / 0.7339 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6.1e-08/0.01069, allocations: 0 / 0.7339 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001998/0.01089, allocations: 16 kB / 0.7339 GB, free: 15.68 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.0002058/0.01109, allocations: 93.7 kB / 0.734 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.924e-05/0.01119, allocations: 46.84 kB / 0.734 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/0.0112, allocations: 0 / 0.734 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.323e-05/0.01123, allocations: 28.77 kB / 0.734 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001911/0.01142, allocations: 16.69 kB / 0.7341 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004339/0.01186, allocations: 163.8 kB / 0.7342 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.858e-05/0.0119, allocations: 63.34 kB / 0.7343 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.003067/0.01496, allocations: 11.84 kB / 0.7343 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.487e-05/0.01504, allocations: 55.38 kB / 0.7343 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of SimCode: time 1.052e-06/0.01504, allocations: 0 / 0.7343 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of Templates: time 0.003356/0.01839, allocations: 1.107 MB / 0.7354 GB, free: 14.15 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,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.929545602761209]