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.001654/0.001654, allocations: 112.7 kB / 18.94 MB, free: 2.93 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.002212/0.002212, allocations: 186.1 kB / 22.22 MB, free: 5.105 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.566/1.566, allocations: 225.6 MB / 251 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.824/2.824, allocations: 443.4 MB / 0.7321 GB, free: 12.39 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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.002023/0.002023, allocations: 67.89 kB / 1.061 GB, free: 2.996 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.019/1.021, allocations: 160.8 MB / 1.218 GB, free: 3.77 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.002161/1.024, allocations: 0.7636 MB / 1.219 GB, free: 3.195 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001533/1.025, allocations: 1.084 MB / 1.22 GB, free: 2.32 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.145e-05/1.025, allocations: 0 / 1.22 GB, free: 2.32 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.699e-05/1.025, allocations: 5.031 kB / 1.22 GB, free: 2.316 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 9.43e-05/1.025, allocations: 17.06 kB / 1.22 GB, free: 2.301 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003248/1.026, allocations: 53.23 kB / 1.22 GB, free: 2.262 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.000156/1.026, allocations: 69 kB / 1.22 GB, free: 2.223 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001301/1.026, allocations: 17.17 kB / 1.22 GB, free: 2.207 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 9.606e-05/1.026, allocations: 27.89 kB / 1.22 GB, free: 2.191 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.622e-05/1.026, allocations: 36.86 kB / 1.221 GB, free: 2.164 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.104e-05/1.026, allocations: 6.094 kB / 1.221 GB, free: 2.164 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 8.724e-05/1.026, allocations: 31.52 kB / 1.221 GB, free: 2.145 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.957e-05/1.026, allocations: 18.45 kB / 1.221 GB, free: 2.129 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.049e-05/1.026, allocations: 24.06 kB / 1.221 GB, free: 2.113 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002069/1.026, allocations: 84.25 kB / 1.221 GB, free: 2.055 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/1.026, allocations: 0 / 1.221 GB, free: 2.055 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.274e-06/1.026, allocations: 4.812 kB / 1.221 GB, free: 2.051 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.212e-06/1.026, allocations: 0 / 1.221 GB, free: 2.051 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.0007166/1.027, allocations: 377.7 kB / 1.221 GB, free: 1.66 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/1.027, allocations: 9.094 kB / 1.221 GB, free: 1.66 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.444e-05/1.027, allocations: 12.45 kB / 1.221 GB, free: 1.652 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002064/1.027, allocations: 185.1 kB / 1.221 GB, free: 1.438 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.565e-05/1.028, allocations: 9.594 kB / 1.221 GB, free: 1.43 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.055e-05/1.028, allocations: 4.312 kB / 1.221 GB, free: 1.43 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002224/1.028, allocations: 69.97 kB / 1.221 GB, free: 1.375 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/1.028, allocations: 3.938 kB / 1.221 GB, free: 1.371 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.479e-05/1.028, allocations: 5.031 kB / 1.221 GB, free: 1.367 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/1.028, allocations: 1.062 kB / 1.221 GB, free: 1.367 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001749/1.028, allocations: 39.94 kB / 1.221 GB, free: 1.352 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007071/1.029, allocations: 320.9 kB / 1.222 GB, free: 1.023 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001794/1.029, allocations: 50.67 kB / 1.222 GB, free: 0.9844 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001092/1.029, allocations: 37.56 kB / 1.222 GB, free: 0.957 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.549e-05/1.029, allocations: 1.531 kB / 1.222 GB, free: 0.957 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002328/1.029, allocations: 82.64 kB / 1.222 GB, free: 0.8828 MB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 1.302e-06/1.029, allocations: 0 / 1.222 GB, free: 0.8828 MB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.0004603/1.03, allocations: 123.5 kB / 1.222 GB, free: 0.8125 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.735e-05/1.03, allocations: 61.38 kB / 1.222 GB, free: 0.7422 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001511/1.03, allocations: 124.9 kB / 1.222 GB, free: 0.625 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.464e-05/1.03, allocations: 26.8 kB / 1.222 GB, free: 0.5938 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.919e-05/1.03, allocations: 87.89 kB / 1.222 GB, free: 0.5078 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.631e-05/1.03, allocations: 22.33 kB / 1.222 GB, free: 500 kB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.957e-05/1.03, allocations: 30.33 kB / 1.222 GB, free: 472 kB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001793/1.03, allocations: 320.6 kB / 1.223 GB, free: 144 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001123/1.03, allocations: 35.84 kB / 1.223 GB, free: 124 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001417/1.031, allocations: 70.7 kB / 1.223 GB, free: 52 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002827/1.031, allocations: 106.5 kB / 1.223 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/1.031, allocations: 5.156 kB / 1.223 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003103/1.031, allocations: 137.6 kB / 1.223 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/1.031, allocations: 5.5 kB / 1.223 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/1.031, allocations: 2.188 kB / 1.223 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.131e-05/1.031, allocations: 2.156 kB / 1.223 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000149/1.031, allocations: 20.34 kB / 1.223 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.757e-06/1.031, allocations: 6.188 kB / 1.223 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.98e-05/1.031, allocations: 17.59 kB / 1.223 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.508e-05/1.031, allocations: 4.25 kB / 1.223 GB, free: 15.85 MB / 0.9356 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.0001215/1.032, allocations: 135.8 kB / 1.223 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.591e-05/1.032, allocations: 6.609 kB / 1.223 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.102e-05/1.032, allocations: 9.844 kB / 1.223 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/1.032, allocations: 0.8438 kB / 1.223 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/1.032, allocations: 1.062 kB / 1.223 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.788e-06/1.032, allocations: 0 / 1.223 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005227/1.032, allocations: 380.6 kB / 1.223 GB, free: 15.33 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/1.032, allocations: 0 / 1.223 GB, free: 15.33 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.277e-05/1.032, allocations: 9.984 kB / 1.224 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/1.032, allocations: 0.9688 kB / 1.224 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/1.032, allocations: 0.8438 kB / 1.224 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.599e-06/1.032, allocations: 3.938 kB / 1.224 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/1.032, allocations: 1.062 kB / 1.224 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003051/1.032, allocations: 204.8 kB / 1.224 GB, free: 15.15 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.782e-05/1.033, allocations: 83.06 kB / 1.224 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.552e-05/1.033, allocations: 1.094 kB / 1.224 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.689e-05/1.033, allocations: 15.08 kB / 1.224 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.148e-05/1.033, allocations: 3.062 kB / 1.224 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.857e-06/1.033, allocations: 5.016 kB / 1.224 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.525e-05/1.033, allocations: 89.5 kB / 1.224 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/1.033, allocations: 4 kB / 1.224 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002583/1.033, allocations: 17.38 kB / 1.224 GB, free: 14.95 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.0001646/1.033, allocations: 116.1 kB / 1.224 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002795/1.033, allocations: 78.47 kB / 1.224 GB, free: 14.81 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/1.033, allocations: 448 / 1.224 GB, free: 14.81 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.000115/1.034, allocations: 35.95 kB / 1.224 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002744/1.034, allocations: 12.45 kB / 1.224 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004376/1.034, allocations: 164.6 kB / 1.224 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000392/1.035, allocations: 0.6896 MB / 1.225 GB, free: 13.94 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.896e-05/1.035, allocations: 7.938 kB / 1.225 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.484e-05/1.035, allocations: 11.78 kB / 1.225 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of SimCode: time 3.11e-07/1.035, allocations: 0 / 1.225 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of Templates: time 0.004519/1.039, allocations: 1.015 MB / 1.226 GB, free: 13.44 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.733301617205143]