Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.002098/0.002098, allocations: 105.5 kB / 16.45 MB, free: 6.449 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.002401/0.002401, allocations: 186.9 kB / 19.4 MB, free: 3.66 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.499/1.499, allocations: 225.6 MB / 247.8 MB, free: 13.96 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.903/2.903, allocations: 443.4 MB / 0.7286 GB, free: 13.24 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002963/0.002963, allocations: 67.89 kB / 1.056 GB, free: 5.301 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.062/1.065, allocations: 160.7 MB / 1.213 GB, free: 4.172 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.002139/1.067, allocations: 0.7691 MB / 1.214 GB, free: 3.594 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001519/1.068, allocations: 1.066 MB / 1.215 GB, free: 2.734 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.263e-05/1.068, allocations: 5.062 kB / 1.215 GB, free: 2.73 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.09e-05/1.068, allocations: 3.938 kB / 1.215 GB, free: 2.727 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 8.372e-05/1.068, allocations: 14.16 kB / 1.215 GB, free: 2.715 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002933/1.069, allocations: 48.66 kB / 1.215 GB, free: 2.68 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001411/1.069, allocations: 84.45 kB / 1.215 GB, free: 2.625 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/1.069, allocations: 13.8 kB / 1.215 GB, free: 2.613 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 7.537e-05/1.069, allocations: 26.17 kB / 1.215 GB, free: 2.598 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.58e-05/1.069, allocations: 33.5 kB / 1.215 GB, free: 2.574 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.165e-05/1.069, allocations: 10.52 kB / 1.215 GB, free: 2.57 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 8.151e-05/1.069, allocations: 23.86 kB / 1.215 GB, free: 2.559 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.531e-05/1.069, allocations: 14.41 kB / 1.215 GB, free: 2.547 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.678e-05/1.069, allocations: 27.52 kB / 1.215 GB, free: 2.527 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001579/1.069, allocations: 80.48 kB / 1.216 GB, free: 2.473 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/1.069, allocations: 1.125 kB / 1.216 GB, free: 2.473 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.753e-06/1.069, allocations: 3.938 kB / 1.216 GB, free: 2.469 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.615e-06/1.069, allocations: 7.984 kB / 1.216 GB, free: 2.461 MB / 0.92 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.0006802/1.07, allocations: 378.2 kB / 1.216 GB, free: 2.07 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/1.07, allocations: 9.344 kB / 1.216 GB, free: 2.07 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.353e-05/1.07, allocations: 8.141 kB / 1.216 GB, free: 2.066 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001716/1.07, allocations: 176.9 kB / 1.216 GB, free: 1.859 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/1.07, allocations: 9.891 kB / 1.216 GB, free: 1.852 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.06e-05/1.07, allocations: 5.312 kB / 1.216 GB, free: 1.852 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002304/1.071, allocations: 73.08 kB / 1.216 GB, free: 1.793 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/1.071, allocations: 3.938 kB / 1.216 GB, free: 1.789 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/1.071, allocations: 1.125 kB / 1.216 GB, free: 1.789 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/1.071, allocations: 1 kB / 1.216 GB, free: 1.789 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001882/1.071, allocations: 44.89 kB / 1.216 GB, free: 1.77 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007038/1.071, allocations: 323.6 kB / 1.217 GB, free: 1.438 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000171/1.072, allocations: 54.55 kB / 1.217 GB, free: 1.395 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001032/1.072, allocations: 30.47 kB / 1.217 GB, free: 1.375 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.049e-05/1.072, allocations: 1.219 kB / 1.217 GB, free: 1.375 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002087/1.072, allocations: 82.36 kB / 1.217 GB, free: 1.301 MB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 1.553e-06/1.072, allocations: 0 / 1.217 GB, free: 1.301 MB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.0004365/1.072, allocations: 127.9 kB / 1.217 GB, free: 1.227 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.368e-05/1.072, allocations: 56.81 kB / 1.217 GB, free: 1.16 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001069/1.073, allocations: 125.6 kB / 1.217 GB, free: 1.043 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.031e-05/1.073, allocations: 26.45 kB / 1.217 GB, free: 1.012 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.012e-05/1.073, allocations: 86.77 kB / 1.217 GB, free: 0.9258 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.578e-05/1.073, allocations: 27.11 kB / 1.217 GB, free: 0.9023 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.519e-05/1.073, allocations: 26.25 kB / 1.217 GB, free: 0.8789 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001515/1.073, allocations: 329 kB / 1.217 GB, free: 0.5508 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001175/1.073, allocations: 27.56 kB / 1.217 GB, free: 0.5391 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001459/1.073, allocations: 78.58 kB / 1.218 GB, free: 472 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002605/1.073, allocations: 111.5 kB / 1.218 GB, free: 376 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/1.073, allocations: 5 kB / 1.218 GB, free: 372 kB / 0.92 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003214/1.074, allocations: 129.2 kB / 1.218 GB, free: 292 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/1.074, allocations: 5.844 kB / 1.218 GB, free: 292 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/1.074, allocations: 5.531 kB / 1.218 GB, free: 288 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.022e-05/1.074, allocations: 2.844 kB / 1.218 GB, free: 288 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001271/1.074, allocations: 20.23 kB / 1.218 GB, free: 280 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/1.074, allocations: 2.531 kB / 1.218 GB, free: 280 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.527e-05/1.074, allocations: 13.91 kB / 1.218 GB, free: 272 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.625e-05/1.074, allocations: 4.344 kB / 1.218 GB, free: 272 kB / 0.92 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.0001046/1.074, allocations: 124.3 kB / 1.218 GB, free: 144 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.673e-05/1.074, allocations: 11.12 kB / 1.218 GB, free: 136 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.69e-05/1.074, allocations: 9.375 kB / 1.218 GB, free: 128 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/1.074, allocations: 1.062 kB / 1.218 GB, free: 128 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/1.074, allocations: 1.031 kB / 1.218 GB, free: 128 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/1.074, allocations: 3.938 kB / 1.218 GB, free: 124 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005322/1.075, allocations: 381.1 kB / 1.218 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/1.075, allocations: 0 / 1.218 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.568e-05/1.075, allocations: 13.8 kB / 1.218 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/1.075, allocations: 3.938 kB / 1.218 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/1.075, allocations: 13.11 kB / 1.218 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.49e-06/1.075, allocations: 5.406 kB / 1.218 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/1.075, allocations: 0 / 1.218 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003008/1.075, allocations: 192.4 kB / 1.219 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.062e-05/1.075, allocations: 87.39 kB / 1.219 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.616e-05/1.075, allocations: 1.156 kB / 1.219 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.673e-05/1.075, allocations: 15.62 kB / 1.219 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.138e-05/1.075, allocations: 6.859 kB / 1.219 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.632e-06/1.075, allocations: 1.5 kB / 1.219 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.147e-05/1.075, allocations: 93.23 kB / 1.219 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of sort global known variables: time 7e-08/1.075, allocations: 0 / 1.219 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002511/1.076, allocations: 17.47 kB / 1.219 GB, free: 15.36 MB / 0.9356 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.0001705/1.076, allocations: 110.7 kB / 1.219 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002847/1.076, allocations: 82.09 kB / 1.219 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/1.076, allocations: 0 / 1.219 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001129/1.076, allocations: 30.53 kB / 1.219 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002567/1.076, allocations: 9.625 kB / 1.219 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003759/1.077, allocations: 172.7 kB / 1.219 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003487/1.077, allocations: 0.6901 MB / 1.22 GB, free: 14.35 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.559e-05/1.077, allocations: 7.734 kB / 1.22 GB, free: 14.35 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.193e-05/1.077, allocations: 11.47 kB / 1.22 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of SimCode: time 2.71e-07/1.077, allocations: 0 / 1.22 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of Templates: time 0.003856/1.081, allocations: 0.9818 MB / 1.221 GB, free: 13.88 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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.309364817105234]