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.001913/0.001913, 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.002181/0.002181, allocations: 192.1 kB / 22.17 MB, free: 5.656 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.588/1.588, allocations: 225.6 MB / 250.9 MB, free: 13.25 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.917/2.917, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 176] 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.002264/0.002264, allocations: 71.88 kB / 1.109 GB, free: 6.535 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9229/0.9252, allocations: 168.7 MB / 1.274 GB, free: 4.57 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.002191/0.9273, allocations: 0.7498 MB / 1.275 GB, free: 3.824 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001626/0.929, allocations: 1.086 MB / 1.276 GB, free: 2.727 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.893e-05/0.929, allocations: 0 / 1.276 GB, free: 2.727 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.65e-05/0.9291, allocations: 3.938 kB / 1.276 GB, free: 2.723 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.493e-05/0.9291, allocations: 11.88 kB / 1.276 GB, free: 2.711 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003305/0.9295, allocations: 51.81 kB / 1.276 GB, free: 2.66 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001395/0.9296, allocations: 71.78 kB / 1.276 GB, free: 2.59 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001267/0.9297, allocations: 20.16 kB / 1.276 GB, free: 2.566 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.815e-05/0.9298, allocations: 31.86 kB / 1.276 GB, free: 2.535 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.286e-05/0.9299, allocations: 35.84 kB / 1.276 GB, free: 2.5 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.723e-05/0.9299, allocations: 4 kB / 1.276 GB, free: 2.496 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 6.747e-05/0.93, allocations: 23.92 kB / 1.276 GB, free: 2.473 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.008e-05/0.93, allocations: 19.92 kB / 1.276 GB, free: 2.453 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.733e-05/0.9301, allocations: 27.86 kB / 1.276 GB, free: 2.426 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001633/0.9303, allocations: 78.36 kB / 1.276 GB, free: 2.352 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.9303, allocations: 4 kB / 1.276 GB, free: 2.348 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.553e-06/0.9303, allocations: 0 / 1.276 GB, free: 2.348 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.151e-06/0.9303, allocations: 0 / 1.276 GB, free: 2.348 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.0006271/0.9309, allocations: 383.1 kB / 1.277 GB, free: 1.926 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.9309, allocations: 12.03 kB / 1.277 GB, free: 1.914 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.991e-05/0.931, allocations: 8.891 kB / 1.277 GB, free: 1.906 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001606/0.9311, allocations: 180.2 kB / 1.277 GB, free: 1.691 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.045e-05/0.9311, allocations: 8.359 kB / 1.277 GB, free: 1.684 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.911e-05/0.9312, allocations: 4.375 kB / 1.277 GB, free: 1.68 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002051/0.9314, allocations: 66.23 kB / 1.277 GB, free: 1.609 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.9314, allocations: 3.938 kB / 1.277 GB, free: 1.605 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.9314, allocations: 8 kB / 1.277 GB, free: 1.598 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.9314, allocations: 0 / 1.277 GB, free: 1.598 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001873/0.9316, allocations: 51.89 kB / 1.277 GB, free: 1.547 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006698/0.9322, allocations: 316.8 kB / 1.277 GB, free: 1.188 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001805/0.9324, allocations: 54.55 kB / 1.277 GB, free: 1.125 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001035/0.9325, allocations: 29.06 kB / 1.277 GB, free: 1.094 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.671e-05/0.9326, allocations: 3.938 kB / 1.277 GB, free: 1.09 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002434/0.9328, allocations: 79.33 kB / 1.277 GB, free: 1 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.513e-06/0.9328, allocations: 0 / 1.277 GB, free: 1 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0004476/0.9333, allocations: 125.6 kB / 1.278 GB, free: 0.8711 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.353e-05/0.9333, allocations: 55.41 kB / 1.278 GB, free: 0.8047 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001399/0.9334, allocations: 129.7 kB / 1.278 GB, free: 0.668 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.491e-05/0.9335, allocations: 25.7 kB / 1.278 GB, free: 0.6367 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.166e-05/0.9336, allocations: 100.1 kB / 1.278 GB, free: 0.5352 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.101e-05/0.9336, allocations: 11.84 kB / 1.278 GB, free: 0.5234 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.891e-05/0.9336, allocations: 33.7 kB / 1.278 GB, free: 496 kB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001794/0.9338, allocations: 326.8 kB / 1.278 GB, free: 160 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001152/0.9339, allocations: 27.97 kB / 1.278 GB, free: 132 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000158/0.9341, allocations: 70.42 kB / 1.278 GB, free: 40 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002813/0.9344, allocations: 106 kB / 1.278 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.9344, allocations: 11.83 kB / 1.278 GB, free: 15.9 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003391/0.9347, allocations: 137.3 kB / 1.278 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.9347, allocations: 5.562 kB / 1.279 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.9347, allocations: 4 kB / 1.279 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.9348, allocations: 0 / 1.279 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001344/0.9349, allocations: 20.2 kB / 1.279 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.928e-06/0.9349, allocations: 7.938 kB / 1.279 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.935e-05/0.935, allocations: 11.94 kB / 1.279 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.587e-05/0.935, allocations: 8 kB / 1.279 GB, free: 15.71 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.000109/0.9351, allocations: 125.8 kB / 1.279 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.708e-05/0.9351, allocations: 7.938 kB / 1.279 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.574e-05/0.9352, allocations: 12.38 kB / 1.279 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.9352, allocations: 0 / 1.279 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.9352, allocations: 0 / 1.279 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.125e-06/0.9352, allocations: 4 kB / 1.279 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005247/0.9357, allocations: 378.3 kB / 1.279 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.9357, allocations: 0 / 1.279 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.635e-05/0.9358, allocations: 4 kB / 1.279 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.744e-06/0.9358, allocations: 7.984 kB / 1.279 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.198e-06/0.9358, allocations: 4 kB / 1.279 GB, free: 15.1 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.518e-06/0.9358, allocations: 3.938 kB / 1.279 GB, free: 15.1 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.9358, allocations: 4 kB / 1.279 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003106/0.9361, allocations: 195.4 kB / 1.279 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.299e-05/0.9361, allocations: 89.05 kB / 1.279 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.798e-05/0.9362, allocations: 4 kB / 1.279 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.814e-05/0.9363, allocations: 7.938 kB / 1.279 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.064e-05/0.9363, allocations: 7.984 kB / 1.279 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.961e-06/0.9363, allocations: 4 kB / 1.279 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.169e-05/0.9364, allocations: 99.42 kB / 1.279 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.9364, allocations: 0 / 1.279 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002644/0.9366, allocations: 16 kB / 1.279 GB, free: 14.64 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.000168/0.9368, allocations: 111.7 kB / 1.28 GB, free: 14.53 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003006/0.9371, allocations: 72.08 kB / 1.28 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.9371, allocations: 0 / 1.28 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001237/0.9372, allocations: 43.89 kB / 1.28 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002779/0.9375, allocations: 10.03 kB / 1.28 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003988/0.9379, allocations: 170 kB / 1.28 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000367/0.9383, allocations: 0.6965 MB / 1.281 GB, free: 13.49 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.737e-05/0.9383, allocations: 7.984 kB / 1.281 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.033e-05/0.9383, allocations: 15.38 kB / 1.281 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of SimCode: time 3.1e-07/0.9384, allocations: 0 / 1.281 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of Templates: time 0.004126/0.9425, allocations: 0.988 MB / 1.282 GB, free: 12.52 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 cvode -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: 9.315120551735163]