Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.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.001847/0.001847, allocations: 107.7 kB / 18.88 MB, free: 3.051 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.002192/0.002192, allocations: 200 kB / 22.17 MB, free: 5.203 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.475/1.475, 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.831/2.831, allocations: 476.7 MB / 0.7645 GB, free: 10.09 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.SampleTriggerPositiveStartTime,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.SampleTriggerPositiveStartTime") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime,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.SampleTriggerPositiveStartTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002041/0.002041, allocations: 63.91 kB / 1.109 GB, free: 6.508 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8254/0.8274, allocations: 168.7 MB / 1.274 GB, free: 4.398 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.001996/0.8294, allocations: 0.7603 MB / 1.275 GB, free: 3.645 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001472/0.8309, allocations: 1.086 MB / 1.276 GB, free: 2.547 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.321e-05/0.831, allocations: 0 / 1.276 GB, free: 2.547 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.387e-05/0.831, allocations: 3.938 kB / 1.276 GB, free: 2.543 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.445e-05/0.8311, allocations: 15.88 kB / 1.276 GB, free: 2.527 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002869/0.8314, allocations: 51.81 kB / 1.276 GB, free: 2.477 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001247/0.8315, allocations: 67.84 kB / 1.276 GB, free: 2.41 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.8316, allocations: 16.16 kB / 1.276 GB, free: 2.391 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.867e-05/0.8317, allocations: 39.73 kB / 1.276 GB, free: 2.352 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.226e-05/0.8317, allocations: 31.91 kB / 1.276 GB, free: 2.32 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.566e-05/0.8318, allocations: 4 kB / 1.276 GB, free: 2.316 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 7.574e-05/0.8318, allocations: 23.97 kB / 1.276 GB, free: 2.293 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.24e-05/0.8319, allocations: 19.92 kB / 1.276 GB, free: 2.273 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.221e-05/0.8319, allocations: 23.88 kB / 1.276 GB, free: 2.25 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001577/0.8321, allocations: 86.28 kB / 1.276 GB, free: 2.168 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.8321, allocations: 4 kB / 1.276 GB, free: 2.164 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.373e-06/0.8321, allocations: 0 / 1.276 GB, free: 2.164 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.8321, allocations: 0 / 1.276 GB, free: 2.164 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.0005991/0.8327, allocations: 379.2 kB / 1.277 GB, free: 1.746 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.136e-05/0.8327, allocations: 8.031 kB / 1.277 GB, free: 1.738 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.432e-05/0.8327, allocations: 8.891 kB / 1.277 GB, free: 1.73 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001646/0.8329, allocations: 188.1 kB / 1.277 GB, free: 1.508 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.496e-05/0.8329, allocations: 4.375 kB / 1.277 GB, free: 1.504 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.461e-05/0.8329, allocations: 8.375 kB / 1.277 GB, free: 1.496 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002057/0.8331, allocations: 70.22 kB / 1.277 GB, free: 1.422 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.8332, allocations: 3.938 kB / 1.277 GB, free: 1.418 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.393e-05/0.8332, allocations: 4 kB / 1.277 GB, free: 1.414 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.8332, allocations: 0 / 1.277 GB, free: 1.414 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001918/0.8334, allocations: 47.89 kB / 1.277 GB, free: 1.367 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006684/0.834, allocations: 320.8 kB / 1.277 GB, free: 1.004 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001785/0.8342, allocations: 54.55 kB / 1.277 GB, free: 0.9414 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000103/0.8343, allocations: 25.06 kB / 1.277 GB, free: 0.9141 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.488e-05/0.8343, allocations: 11.92 kB / 1.277 GB, free: 0.9023 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002396/0.8346, allocations: 79.34 kB / 1.277 GB, free: 0.8125 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.513e-06/0.8346, allocations: 0 / 1.277 GB, free: 0.8125 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0004541/0.835, allocations: 121.6 kB / 1.278 GB, free: 0.6875 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.381e-05/0.8351, allocations: 59.39 kB / 1.278 GB, free: 0.6172 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000112/0.8352, allocations: 125.7 kB / 1.278 GB, free: 496 kB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.532e-05/0.8352, allocations: 33.7 kB / 1.278 GB, free: 456 kB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.596e-05/0.8353, allocations: 96.06 kB / 1.278 GB, free: 356 kB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.317e-05/0.8353, allocations: 15.84 kB / 1.278 GB, free: 340 kB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.092e-05/0.8354, allocations: 29.7 kB / 1.278 GB, free: 304 kB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000165/0.8355, allocations: 326.7 kB / 1.278 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001213/0.8357, allocations: 27.97 kB / 1.278 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001453/0.8358, allocations: 77.92 kB / 1.278 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002596/0.8361, allocations: 105.9 kB / 1.278 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.8361, allocations: 0 / 1.278 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003237/0.8364, allocations: 133.6 kB / 1.278 GB, free: 15.58 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.8364, allocations: 12 kB / 1.279 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.8364, allocations: 0 / 1.279 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.8364, allocations: 4 kB / 1.279 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001257/0.8366, allocations: 19.97 kB / 1.279 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.768e-06/0.8366, allocations: 7.938 kB / 1.279 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.453e-05/0.8366, allocations: 7.953 kB / 1.279 GB, free: 15.53 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.97e-05/0.8367, allocations: 11.98 kB / 1.279 GB, free: 15.52 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.000105/0.8368, allocations: 120 kB / 1.279 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.393e-05/0.8368, allocations: 11.95 kB / 1.279 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.113e-05/0.8368, allocations: 12.38 kB / 1.279 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.8368, allocations: 0 / 1.279 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.8368, allocations: 0 / 1.279 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.8368, allocations: 0 / 1.279 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005236/0.8373, allocations: 382.3 kB / 1.279 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.8373, allocations: 0 / 1.279 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.908e-05/0.8374, allocations: 11.98 kB / 1.279 GB, free: 14.92 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.8374, allocations: 0 / 1.279 GB, free: 14.92 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.8374, allocations: 4 kB / 1.279 GB, free: 14.92 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.8374, allocations: 3.938 kB / 1.279 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.8374, allocations: 0 / 1.279 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003174/0.8377, allocations: 199.4 kB / 1.279 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.251e-05/0.8378, allocations: 85.06 kB / 1.279 GB, free: 14.6 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.822e-05/0.8378, allocations: 8 kB / 1.279 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.78e-05/0.8379, allocations: 11.92 kB / 1.279 GB, free: 14.58 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.199e-05/0.8379, allocations: 7.938 kB / 1.279 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-06/0.8379, allocations: 0 / 1.279 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.026e-05/0.838, allocations: 91.27 kB / 1.279 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.838, allocations: 0 / 1.279 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002596/0.8383, allocations: 20 kB / 1.279 GB, free: 14.46 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.0001691/0.8384, allocations: 107.8 kB / 1.28 GB, free: 14.35 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003033/0.8387, allocations: 79.86 kB / 1.28 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.8387, allocations: 3.938 kB / 1.28 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001201/0.8389, allocations: 32.45 kB / 1.28 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002725/0.8391, allocations: 8.422 kB / 1.28 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003745/0.8395, allocations: 182 kB / 1.28 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00035/0.8399, allocations: 0.6885 MB / 1.281 GB, free: 13.31 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.549e-05/0.8399, allocations: 8 kB / 1.281 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.995e-05/0.8399, allocations: 11.44 kB / 1.281 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of SimCode: time 2.91e-07/0.8399, allocations: 0 / 1.281 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of Templates: time 0.003746/0.8437, allocations: 0.9986 MB / 1.282 GB, free: 12.33 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerPositiveStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.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.74302324000746]