Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001684/0.001684, allocations: 112.2 kB / 17.08 MB, free: 5.781 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.002111/0.002111, allocations: 195.6 kB / 20.03 MB, free: 2.906 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.547/1.547, allocations: 222.9 MB / 245.7 MB, free: 4.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.139/3.139, allocations: 489.2 MB / 0.7687 GB, free: 3.977 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001956/0.001956, allocations: 67.89 kB / 1.103 GB, free: 0.7773 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.051/1.053, allocations: 163.8 MB / 1.263 GB, free: 7.988 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.002139/1.055, allocations: 0.7546 MB / 1.263 GB, free: 7.52 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001531/1.057, allocations: 1.07 MB / 1.264 GB, free: 6.734 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.714e-05/1.057, allocations: 1.219 kB / 1.264 GB, free: 6.734 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.825e-05/1.057, allocations: 4.734 kB / 1.264 GB, free: 6.73 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.67e-05/1.057, allocations: 14.42 kB / 1.264 GB, free: 6.719 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003284/1.057, allocations: 56.42 kB / 1.264 GB, free: 6.688 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001467/1.058, allocations: 70.19 kB / 1.265 GB, free: 6.656 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001211/1.058, allocations: 26.02 kB / 1.265 GB, free: 6.637 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.135e-05/1.058, allocations: 27.22 kB / 1.265 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.667e-05/1.058, allocations: 37.16 kB / 1.265 GB, free: 6.605 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.151e-05/1.058, allocations: 6.094 kB / 1.265 GB, free: 6.605 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.987e-05/1.058, allocations: 19.81 kB / 1.265 GB, free: 6.602 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.652e-05/1.058, allocations: 14.28 kB / 1.265 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.757e-05/1.058, allocations: 30.53 kB / 1.265 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001899/1.058, allocations: 82 kB / 1.265 GB, free: 6.547 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/1.058, allocations: 0 / 1.265 GB, free: 6.547 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.903e-06/1.058, allocations: 0 / 1.265 GB, free: 6.547 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.23e-05/1.058, allocations: 1.234 kB / 1.265 GB, free: 6.547 MB / 0.9981 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.0005323/1.059, allocations: 382.9 kB / 1.265 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/1.059, allocations: 9.469 kB / 1.265 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.547e-05/1.059, allocations: 9.25 kB / 1.265 GB, free: 6.16 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001034/1.059, allocations: 177.6 kB / 1.265 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.696e-05/1.059, allocations: 2.656 kB / 1.265 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.108e-05/1.059, allocations: 8.875 kB / 1.265 GB, free: 5.949 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002129/1.059, allocations: 68.27 kB / 1.265 GB, free: 5.906 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.829e-06/1.059, allocations: 12.66 kB / 1.265 GB, free: 5.895 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/1.059, allocations: 0.7188 kB / 1.265 GB, free: 5.895 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/1.059, allocations: 4.781 kB / 1.265 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001972/1.06, allocations: 43.75 kB / 1.265 GB, free: 5.883 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006041/1.06, allocations: 326.9 kB / 1.266 GB, free: 5.582 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001774/1.06, allocations: 56.47 kB / 1.266 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000107/1.06, allocations: 31.94 kB / 1.266 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.695e-05/1.061, allocations: 2.047 kB / 1.266 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002279/1.061, allocations: 73.92 kB / 1.266 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.443e-06/1.061, allocations: 0 / 1.266 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.00046/1.061, allocations: 135.6 kB / 1.266 GB, free: 5.414 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.779e-05/1.061, allocations: 57.52 kB / 1.266 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.524e-05/1.061, allocations: 119.8 kB / 1.266 GB, free: 5.242 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.287e-05/1.061, allocations: 27.77 kB / 1.266 GB, free: 5.211 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.712e-05/1.061, allocations: 91.75 kB / 1.266 GB, free: 5.121 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.852e-05/1.061, allocations: 19.5 kB / 1.266 GB, free: 5.105 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.067e-05/1.061, allocations: 37.75 kB / 1.266 GB, free: 5.074 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.795e-05/1.062, allocations: 324 kB / 1.267 GB, free: 4.754 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001136/1.062, allocations: 27.03 kB / 1.267 GB, free: 4.75 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001303/1.062, allocations: 70.36 kB / 1.267 GB, free: 4.688 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002339/1.062, allocations: 114.7 kB / 1.267 GB, free: 4.602 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/1.062, allocations: 1.125 kB / 1.267 GB, free: 4.602 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003188/1.062, allocations: 130.5 kB / 1.267 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/1.062, allocations: 5.75 kB / 1.267 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/1.062, allocations: 1.688 kB / 1.267 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.105e-05/1.062, allocations: 3.234 kB / 1.267 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001354/1.063, allocations: 24.86 kB / 1.267 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.246e-06/1.063, allocations: 3.078 kB / 1.267 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.221e-05/1.063, allocations: 8.812 kB / 1.267 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.845e-05/1.063, allocations: 8.953 kB / 1.267 GB, free: 4.527 MB / 0.9981 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 7.199e-05/1.063, allocations: 125.1 kB / 1.267 GB, free: 4.402 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.406e-05/1.063, allocations: 11.19 kB / 1.267 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.869e-05/1.063, allocations: 10.44 kB / 1.267 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/1.063, allocations: 0.8125 kB / 1.267 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/1.063, allocations: 8.766 kB / 1.267 GB, free: 4.371 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/1.063, allocations: 1.359 kB / 1.267 GB, free: 4.371 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004802/1.063, allocations: 375.7 kB / 1.268 GB, free: 4.035 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/1.063, allocations: 0.9375 kB / 1.268 GB, free: 4.035 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.239e-05/1.063, allocations: 11.78 kB / 1.268 GB, free: 4.031 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/1.063, allocations: 0.7188 kB / 1.268 GB, free: 4.031 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/1.063, allocations: 1.453 kB / 1.268 GB, free: 4.031 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.99e-06/1.063, allocations: 13.95 kB / 1.268 GB, free: 4.02 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/1.063, allocations: 0 / 1.268 GB, free: 4.02 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00032/1.064, allocations: 195.6 kB / 1.268 GB, free: 3.871 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.259e-05/1.064, allocations: 83.48 kB / 1.268 GB, free: 3.773 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.892e-05/1.064, allocations: 1.625 kB / 1.268 GB, free: 3.773 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.054e-05/1.064, allocations: 18.41 kB / 1.268 GB, free: 3.762 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.65e-05/1.064, allocations: 13.81 kB / 1.268 GB, free: 3.754 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.128e-06/1.064, allocations: 1.469 kB / 1.268 GB, free: 3.754 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.427e-05/1.064, allocations: 96.48 kB / 1.268 GB, free: 3.672 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.61e-07/1.064, allocations: 0 / 1.268 GB, free: 3.672 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002835/1.064, allocations: 17.8 kB / 1.268 GB, free: 3.668 MB / 0.9981 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.0002205/1.065, allocations: 108.5 kB / 1.268 GB, free: 3.578 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003648/1.065, allocations: 79.34 kB / 1.268 GB, free: 3.559 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/1.065, allocations: 0 / 1.268 GB, free: 3.559 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001462/1.065, allocations: 35.59 kB / 1.268 GB, free: 3.551 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003123/1.066, allocations: 11.12 kB / 1.268 GB, free: 3.547 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004781/1.066, allocations: 190.9 kB / 1.268 GB, free: 3.371 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002039/1.066, allocations: 0.6922 MB / 1.269 GB, free: 2.672 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.23e-05/1.066, allocations: 16.73 kB / 1.269 GB, free: 2.66 MB / 0.9981 GB Notification: Performance of SimCode: time 2.31e-07/1.066, allocations: 0 / 1.269 GB, free: 2.66 MB / 0.9981 GB Notification: Performance of Templates: time 0.00448/1.071, allocations: 1.046 MB / 1.27 GB, free: 2.586 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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:samTri.y,samTri1.y,time,triggeredSampler.u,triggeredSampler.y,triggeredSampler1.u,triggeredSampler1.y [Calling sys.exit(0), Time elapsed: 11.630803513107821]