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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001125/0.001125, allocations: 76.5 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008832/0.0008832, allocations: 173.9 kB / 23.21 MB, free: 1.355 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8856/0.8856, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.783/1.783, allocations: 389 MB / 0.6338 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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 1.683e-06/1.683e-06, allocations: 0 / 1.001 GB, free: 12.99 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.764e-05/1.933e-05, allocations: 6.281 kB / 1.001 GB, free: 12.98 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.001206/0.001225, allocations: 0.7285 MB / 1.002 GB, free: 12.26 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0009717/0.002197, allocations: 1.093 MB / 1.003 GB, free: 11.15 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.607e-05/0.002243, allocations: 3.938 kB / 1.003 GB, free: 11.15 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.958e-05/0.002272, allocations: 11.92 kB / 1.003 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 6.613e-05/0.002339, allocations: 15.86 kB / 1.003 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002713/0.00261, allocations: 47.83 kB / 1.003 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 9.854e-05/0.002708, allocations: 71.77 kB / 1.003 GB, free: 11 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 9.581e-05/0.002804, allocations: 20.11 kB / 1.003 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 7.856e-05/0.002883, allocations: 43.84 kB / 1.003 GB, free: 10.94 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.842e-05/0.002931, allocations: 27.95 kB / 1.003 GB, free: 10.91 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.559e-05/0.002947, allocations: 4 kB / 1.003 GB, free: 10.91 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 4.836e-05/0.002995, allocations: 19.92 kB / 1.003 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.183e-05/0.003017, allocations: 19.98 kB / 1.003 GB, free: 10.87 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 3.275e-05/0.00305, allocations: 23.91 kB / 1.003 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001297/0.003179, allocations: 83.73 kB / 1.003 GB, free: 10.76 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.573e-06/0.003181, allocations: 0 / 1.003 GB, free: 10.76 MB / 0.9636 GB Notification: Performance of FrontEnd: time 6.51e-07/0.003182, allocations: 0 / 1.003 GB, free: 10.76 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.637e-06/0.003185, allocations: 0 / 1.003 GB, free: 10.76 MB / 0.9636 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.0003901/0.003575, allocations: 302 kB / 1.003 GB, free: 10.44 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.003611, allocations: 8.75 kB / 1.003 GB, free: 10.43 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.209e-05/0.003643, allocations: 8.891 kB / 1.003 GB, free: 10.42 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.162e-05/0.003724, allocations: 117.7 kB / 1.003 GB, free: 10.28 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.003737, allocations: 8.375 kB / 1.003 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.43e-05/0.003751, allocations: 8.359 kB / 1.004 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001358/0.003887, allocations: 66.23 kB / 1.004 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.003895, allocations: 192 / 1.004 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.257e-06/0.003904, allocations: 384 / 1.004 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.00391, allocations: 4.125 kB / 1.004 GB, free: 10.19 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.828e-05/0.003998, allocations: 43.95 kB / 1.004 GB, free: 10.15 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003968/0.004395, allocations: 268.3 kB / 1.004 GB, free: 9.855 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001128/0.004508, allocations: 50.55 kB / 1.004 GB, free: 9.797 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.975e-05/0.004558, allocations: 28.97 kB / 1.004 GB, free: 9.766 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.15e-05/0.004579, allocations: 7.922 kB / 1.004 GB, free: 9.758 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001108/0.00469, allocations: 75.42 kB / 1.004 GB, free: 9.672 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=7): time 8.01e-07/0.004691, allocations: 0 / 1.004 GB, free: 9.672 MB / 0.9636 GB Notification: Performance of matching and sorting (n=7): time 0.0002575/0.004948, allocations: 133.8 kB / 1.004 GB, free: 9.535 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.282e-05/0.004981, allocations: 55.41 kB / 1.004 GB, free: 9.469 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.893e-05/0.00505, allocations: 125.7 kB / 1.004 GB, free: 9.336 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.407e-05/0.005064, allocations: 29.7 kB / 1.004 GB, free: 9.301 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.98e-05/0.005104, allocations: 96.08 kB / 1.004 GB, free: 9.203 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.581e-05/0.00512, allocations: 15.89 kB / 1.004 GB, free: 9.188 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.325e-05/0.005153, allocations: 29.7 kB / 1.004 GB, free: 9.152 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 6.92e-05/0.005222, allocations: 318.8 kB / 1.005 GB, free: 8.832 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.699e-05/0.005279, allocations: 39.84 kB / 1.005 GB, free: 8.793 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.372e-05/0.005353, allocations: 69.98 kB / 1.005 GB, free: 8.703 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001256/0.005479, allocations: 109.9 kB / 1.005 GB, free: 8.574 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.005481, allocations: 0 / 1.005 GB, free: 8.574 MB / 0.9636 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001699/0.005651, allocations: 137.3 kB / 1.005 GB, free: 8.434 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.005664, allocations: 8 kB / 1.005 GB, free: 8.426 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.431e-06/0.00567, allocations: 4.078 kB / 1.005 GB, free: 8.422 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.005683, allocations: 7.984 kB / 1.005 GB, free: 8.414 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.029e-05/0.005754, allocations: 24.19 kB / 1.005 GB, free: 8.391 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-06/0.005759, allocations: 3.984 kB / 1.005 GB, free: 8.387 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.885e-05/0.005798, allocations: 11.94 kB / 1.005 GB, free: 8.375 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.108e-05/0.005809, allocations: 8 kB / 1.005 GB, free: 8.367 MB / 0.9636 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 6.125e-05/0.005871, allocations: 121.8 kB / 1.005 GB, free: 8.238 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.905e-06/0.005879, allocations: 11.89 kB / 1.005 GB, free: 8.227 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.013e-05/0.005899, allocations: 8.438 kB / 1.005 GB, free: 8.219 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.005901, allocations: 4 kB / 1.005 GB, free: 8.215 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.005905, allocations: 0 / 1.005 GB, free: 8.215 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.005908, allocations: 0 / 1.005 GB, free: 8.215 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002635/0.006171, allocations: 318 kB / 1.006 GB, free: 7.867 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.006172, allocations: 4 kB / 1.006 GB, free: 7.863 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.286e-05/0.006195, allocations: 7.984 kB / 1.006 GB, free: 7.855 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.006197, allocations: 0 / 1.006 GB, free: 7.855 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.845e-06/0.006204, allocations: 4 kB / 1.006 GB, free: 7.852 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.684e-06/0.006206, allocations: 7.938 kB / 1.006 GB, free: 7.844 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.006207, allocations: 0 / 1.006 GB, free: 7.844 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001479/0.006355, allocations: 203.4 kB / 1.006 GB, free: 7.629 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 6.703e-06/0.006361, allocations: 7.953 kB / 1.006 GB, free: 7.621 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.042e-05/0.006372, allocations: 0 / 1.006 GB, free: 7.621 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.006e-05/0.006412, allocations: 7.984 kB / 1.006 GB, free: 7.613 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.329e-05/0.006445, allocations: 11.98 kB / 1.006 GB, free: 7.602 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.429e-06/0.00645, allocations: 0 / 1.006 GB, free: 7.602 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.269e-05/0.006482, allocations: 95.27 kB / 1.006 GB, free: 7.508 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.006482, allocations: 0 / 1.006 GB, free: 7.508 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001696/0.006652, allocations: 15.94 kB / 1.006 GB, free: 7.492 MB / 0.9636 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.0001052/0.006757, allocations: 107.2 kB / 1.006 GB, free: 7.375 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001556/0.006913, allocations: 75.88 kB / 1.006 GB, free: 7.301 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.006914, allocations: 0 / 1.006 GB, free: 7.301 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 5.942e-05/0.006974, allocations: 39.89 kB / 1.006 GB, free: 7.262 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001792/0.007153, allocations: 19 kB / 1.006 GB, free: 7.246 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002752/0.007428, allocations: 183.3 kB / 1.006 GB, free: 7.031 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.347e-05/0.007471, allocations: 75.33 kB / 1.006 GB, free: 6.938 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.415e-05/0.007496, allocations: 12.5 kB / 1.006 GB, free: 6.926 MB / 0.9636 GB Notification: Performance of SimCode: time 4.71e-07/0.007496, allocations: 0 / 1.006 GB, free: 6.926 MB / 0.9636 GB Notification: Performance of Templates: time 0.001752/0.009248, allocations: 1.075 MB / 1.008 GB, free: 5.859 MB / 0.9636 GB " [Timeout remaining time 300] 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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 6.471183395944536]