Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001364/0.001364, allocations: 114.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001503/0.001503, allocations: 189.8 kB / 22.17 MB, free: 5.652 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.445/1.445, allocations: 225.6 MB / 250.9 MB, free: 13.29 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.84/2.84, allocations: 476.7 MB / 0.7645 GB, free: 10.11 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_11_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_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002037/0.002037, allocations: 63.89 kB / 1.109 GB, free: 6.555 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7669/0.7689, allocations: 168.7 MB / 1.274 GB, free: 4.551 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.002068/0.771, allocations: 0.7536 MB / 1.275 GB, free: 3.801 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001526/0.7725, allocations: 1.082 MB / 1.276 GB, free: 2.707 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.578e-05/0.7726, allocations: 0 / 1.276 GB, free: 2.707 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.829e-05/0.7726, allocations: 3.938 kB / 1.276 GB, free: 2.703 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 9.139e-05/0.7727, allocations: 19.86 kB / 1.276 GB, free: 2.684 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000313/0.773, allocations: 47.83 kB / 1.276 GB, free: 2.637 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001328/0.7732, allocations: 71.78 kB / 1.276 GB, free: 2.566 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.7733, allocations: 16.17 kB / 1.276 GB, free: 2.547 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.356e-05/0.7733, allocations: 27.91 kB / 1.276 GB, free: 2.52 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.647e-05/0.7734, allocations: 35.84 kB / 1.276 GB, free: 2.484 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.708e-05/0.7734, allocations: 8 kB / 1.276 GB, free: 2.477 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 6.339e-05/0.7735, allocations: 19.98 kB / 1.276 GB, free: 2.457 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.608e-05/0.7735, allocations: 19.92 kB / 1.276 GB, free: 2.438 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.657e-05/0.7736, allocations: 31.84 kB / 1.276 GB, free: 2.406 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001594/0.7737, allocations: 86.3 kB / 1.276 GB, free: 2.324 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.7737, allocations: 3.938 kB / 1.276 GB, free: 2.32 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.482e-06/0.7737, allocations: 0 / 1.276 GB, free: 2.32 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.06e-06/0.7737, allocations: 0 / 1.276 GB, free: 2.32 MB / 0.9669 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.0005861/0.7743, allocations: 375.2 kB / 1.277 GB, free: 1.906 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.7744, allocations: 16.03 kB / 1.277 GB, free: 1.891 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.957e-05/0.7744, allocations: 12.88 kB / 1.277 GB, free: 1.879 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001529/0.7746, allocations: 180.2 kB / 1.277 GB, free: 1.664 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/0.7746, allocations: 4.375 kB / 1.277 GB, free: 1.66 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.871e-05/0.7746, allocations: 4.375 kB / 1.277 GB, free: 1.656 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002191/0.7748, allocations: 74.16 kB / 1.277 GB, free: 1.578 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.7748, allocations: 3.938 kB / 1.277 GB, free: 1.574 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.7748, allocations: 0 / 1.277 GB, free: 1.574 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.978e-06/0.7748, allocations: 4 kB / 1.277 GB, free: 1.57 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001855/0.775, allocations: 47.95 kB / 1.277 GB, free: 1.523 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006869/0.7757, allocations: 316.7 kB / 1.277 GB, free: 1.164 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001776/0.7759, allocations: 50.55 kB / 1.277 GB, free: 1.105 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001067/0.776, allocations: 36.95 kB / 1.277 GB, free: 1.066 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.266e-05/0.776, allocations: 0 / 1.277 GB, free: 1.066 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002194/0.7762, allocations: 83.31 kB / 1.277 GB, free: 0.9727 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.392e-06/0.7762, allocations: 96 / 1.277 GB, free: 0.9727 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0004425/0.7767, allocations: 125.6 kB / 1.278 GB, free: 0.8438 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.821e-05/0.7767, allocations: 55.39 kB / 1.278 GB, free: 0.7773 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001253/0.7769, allocations: 129.7 kB / 1.278 GB, free: 0.6406 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.228e-05/0.7769, allocations: 25.7 kB / 1.278 GB, free: 0.6094 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.419e-05/0.7769, allocations: 92.12 kB / 1.278 GB, free: 0.5156 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.492e-05/0.777, allocations: 19.83 kB / 1.278 GB, free: 0.4961 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.403e-05/0.777, allocations: 33.7 kB / 1.278 GB, free: 468 kB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001504/0.7772, allocations: 318.8 kB / 1.278 GB, free: 140 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001143/0.7773, allocations: 31.97 kB / 1.278 GB, free: 108 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001455/0.7774, allocations: 73.92 kB / 1.278 GB, free: 12 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002771/0.7777, allocations: 109.9 kB / 1.278 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.7777, allocations: 7.938 kB / 1.278 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003369/0.7781, allocations: 133.5 kB / 1.278 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.7781, allocations: 4 kB / 1.278 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.7781, allocations: 7.984 kB / 1.279 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.7781, allocations: 3.938 kB / 1.279 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001258/0.7782, allocations: 19.92 kB / 1.279 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/0.7782, allocations: 4.219 kB / 1.279 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.706e-05/0.7783, allocations: 15.94 kB / 1.279 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.351e-05/0.7783, allocations: 4 kB / 1.279 GB, free: 15.68 MB / 0.9825 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 0.0001166/0.7784, allocations: 135.7 kB / 1.279 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.726e-05/0.7785, allocations: 7.953 kB / 1.279 GB, free: 15.53 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.698e-05/0.7785, allocations: 4.375 kB / 1.279 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.7785, allocations: 0 / 1.279 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.7785, allocations: 0 / 1.279 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.7785, allocations: 0 / 1.279 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005288/0.779, allocations: 382.4 kB / 1.279 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.779, allocations: 0 / 1.279 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.683e-05/0.7791, allocations: 7.984 kB / 1.279 GB, free: 15.08 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.136e-05/0.7791, allocations: 4 kB / 1.279 GB, free: 15.08 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.336e-06/0.7791, allocations: 0 / 1.279 GB, free: 15.08 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.7791, allocations: 3.938 kB / 1.279 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.7791, allocations: 0 / 1.279 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003165/0.7794, allocations: 203.4 kB / 1.279 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.962e-05/0.7795, allocations: 85.06 kB / 1.279 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.505e-05/0.7795, allocations: 0 / 1.279 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.215e-05/0.7796, allocations: 15.92 kB / 1.279 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.867e-05/0.7796, allocations: 7.938 kB / 1.279 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.474e-06/0.7796, allocations: 3.984 kB / 1.279 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.313e-05/0.7797, allocations: 95.28 kB / 1.279 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.7797, allocations: 0 / 1.279 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002612/0.78, allocations: 19.98 kB / 1.279 GB, free: 14.62 MB / 0.9825 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.0001598/0.7801, allocations: 103.8 kB / 1.28 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003004/0.7804, allocations: 76.28 kB / 1.28 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.7804, allocations: 448 / 1.28 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000118/0.7805, allocations: 35.92 kB / 1.28 GB, free: 14.4 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002769/0.7808, allocations: 16.14 kB / 1.28 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003934/0.7812, allocations: 177.9 kB / 1.28 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003508/0.7816, allocations: 0.6885 MB / 1.281 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.247e-05/0.7816, allocations: 8 kB / 1.281 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.035e-05/0.7816, allocations: 11.44 kB / 1.281 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of SimCode: time 3.2e-07/0.7816, allocations: 0 / 1.281 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of Templates: time 0.003903/0.7855, allocations: 0.995 MB / 1.282 GB, free: 12.5 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,samTri.y,triggeredSampler.u,triggeredSampler.y,samTri1.y,triggeredSampler1.u,triggeredSampler1.y Variables in the result:ramp.duration,ramp.height,ramp.offset,ramp.startTime,samTri.period,samTri.shift,samTri.t0,samTri.y,samTri1.period,samTri1.shift,samTri1.t0,samTri1.y,time,triggeredSampler.u,triggeredSampler.y,triggeredSampler.y_start,triggeredSampler1.u,triggeredSampler1.y,triggeredSampler1.y_start [Calling sys.exit(0), Time elapsed: 8.665763537865132]