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.0008199/0.0008199, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001187/0.002007, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.00109/0.00109, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001537/0.002627, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9625/0.9625, allocations: 177.2 MB / 189.7 MB, free: 5.266 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09536/1.058, allocations: 53.67 MB / 243.4 MB, free: 15.52 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.395/2.395, allocations: 447.1 MB / 0.675 GB, free: 5.891 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2298/2.625, allocations: 146 MB / 0.8176 GB, free: 3.812 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.553e-06/1.553e-06, allocations: 0 / 0.8189 GB, free: 2.473 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.099e-05/1.254e-05, allocations: 2.312 kB / 0.8189 GB, free: 2.469 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.001175/0.001187, allocations: 0.7986 MB / 0.8197 GB, free: 1.664 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0008914/0.002079, allocations: 1.123 MB / 0.8208 GB, free: 0.5273 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.386e-05/0.002113, allocations: 4 kB / 0.8208 GB, free: 0.5234 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.288e-05/0.002136, allocations: 7.875 kB / 0.8208 GB, free: 0.5156 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 3.703e-05/0.002173, allocations: 11.88 kB / 0.8208 GB, free: 0.5039 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001652/0.002338, allocations: 59.75 kB / 0.8209 GB, free: 456 kB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 8.833e-05/0.002426, allocations: 75.7 kB / 0.821 GB, free: 380 kB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 7.702e-05/0.002503, allocations: 8.188 kB / 0.821 GB, free: 368 kB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 9.647e-05/0.0026, allocations: 63.81 kB / 0.821 GB, free: 304 kB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 4.676e-05/0.002646, allocations: 19.97 kB / 0.8211 GB, free: 284 kB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.653e-05/0.002663, allocations: 8 kB / 0.8211 GB, free: 276 kB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 6.288e-05/0.002726, allocations: 16 kB / 0.8211 GB, free: 260 kB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.993e-05/0.002746, allocations: 11.94 kB / 0.8211 GB, free: 248 kB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 2.32e-05/0.002769, allocations: 15.94 kB / 0.8211 GB, free: 232 kB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001039/0.002873, allocations: 51.81 kB / 0.8212 GB, free: 180 kB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.078e-05/0.002884, allocations: 8 kB / 0.8212 GB, free: 172 kB / 0.7917 GB Notification: Performance of FrontEnd: time 3.81e-07/0.002884, allocations: 0 / 0.8212 GB, free: 172 kB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.187e-05/0.002896, allocations: 0 / 0.8212 GB, free: 172 kB / 0.7917 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.0003962/0.003292, allocations: 292.3 kB / 0.8214 GB, free: 15.86 MB / 0.8074 GB Notification: Performance of prepare preOptimizeDAE: time 3.08e-05/0.003323, allocations: 8.031 kB / 0.8214 GB, free: 15.85 MB / 0.8074 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.134e-05/0.003354, allocations: 12.86 kB / 0.8215 GB, free: 15.84 MB / 0.8074 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.509e-05/0.003439, allocations: 117.7 kB / 0.8216 GB, free: 15.7 MB / 0.8074 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.258e-06/0.003449, allocations: 384 / 0.8216 GB, free: 15.7 MB / 0.8074 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.38e-05/0.003462, allocations: 8.375 kB / 0.8216 GB, free: 15.69 MB / 0.8074 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.387e-05/0.003556, allocations: 70.88 kB / 0.8216 GB, free: 15.61 MB / 0.8074 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.452e-06/0.003563, allocations: 4.188 kB / 0.8217 GB, free: 15.61 MB / 0.8074 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.623e-06/0.003569, allocations: 384 / 0.8217 GB, free: 15.61 MB / 0.8074 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.003575, allocations: 4.125 kB / 0.8217 GB, free: 15.61 MB / 0.8074 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.829e-05/0.003594, allocations: 15.92 kB / 0.8217 GB, free: 15.59 MB / 0.8074 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002758/0.003869, allocations: 184.2 kB / 0.8218 GB, free: 15.39 MB / 0.8074 GB Notification: Performance of preOpt comSubExp (simulation): time 6.628e-05/0.003936, allocations: 38.59 kB / 0.8219 GB, free: 15.35 MB / 0.8074 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.725e-05/0.003953, allocations: 12.84 kB / 0.8219 GB, free: 15.33 MB / 0.8074 GB Notification: Performance of preOpt evalFunc (simulation): time 2.228e-05/0.003975, allocations: 4 kB / 0.8219 GB, free: 15.33 MB / 0.8074 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.239e-05/0.004048, allocations: 63.45 kB / 0.822 GB, free: 15.25 MB / 0.8074 GB Notification: Performance of pre-optimization done (n=7): time 9.41e-07/0.004049, allocations: 0 / 0.822 GB, free: 15.25 MB / 0.8074 GB Notification: Performance of matching and sorting (n=7): time 0.0001089/0.004158, allocations: 65.55 kB / 0.822 GB, free: 15.18 MB / 0.8074 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.324e-05/0.004191, allocations: 55.41 kB / 0.8221 GB, free: 15.12 MB / 0.8074 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.842e-05/0.004249, allocations: 122.6 kB / 0.8222 GB, free: 14.98 MB / 0.8074 GB Notification: Performance of collectPreVariables (initialization): time 1.256e-05/0.004262, allocations: 29.7 kB / 0.8222 GB, free: 14.95 MB / 0.8074 GB Notification: Performance of collectInitialEqns (initialization): time 0.000289/0.004551, allocations: 92.08 kB / 0.8223 GB, free: 14.86 MB / 0.8074 GB Notification: Performance of collectInitialBindings (initialization): time 1.634e-05/0.004567, allocations: 19.88 kB / 0.8223 GB, free: 14.84 MB / 0.8074 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.104e-05/0.004598, allocations: 29.69 kB / 0.8224 GB, free: 14.8 MB / 0.8074 GB Notification: Performance of setup shared object (initialization): time 6.291e-05/0.004661, allocations: 318.8 kB / 0.8227 GB, free: 14.48 MB / 0.8074 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.508e-05/0.004676, allocations: 7.984 kB / 0.8227 GB, free: 14.47 MB / 0.8074 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.245e-05/0.004709, allocations: 54 kB / 0.8227 GB, free: 14.4 MB / 0.8074 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.822e-05/0.004767, allocations: 73.84 kB / 0.8228 GB, free: 14.3 MB / 0.8074 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.004769, allocations: 0 / 0.8228 GB, free: 14.3 MB / 0.8074 GB Notification: Performance of matching and sorting (n=11) (initialization): time 7.819e-05/0.004847, allocations: 85.55 kB / 0.8229 GB, free: 14.21 MB / 0.8074 GB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.004859, allocations: 11.92 kB / 0.8229 GB, free: 14.2 MB / 0.8074 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.004864, allocations: 4.312 kB / 0.8229 GB, free: 14.2 MB / 0.8074 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.004875, allocations: 0 / 0.8229 GB, free: 14.2 MB / 0.8074 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.28e-05/0.004958, allocations: 23.92 kB / 0.8229 GB, free: 14.18 MB / 0.8074 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.997e-06/0.004962, allocations: 4 kB / 0.8229 GB, free: 14.17 MB / 0.8074 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.198e-05/0.004994, allocations: 11.94 kB / 0.8229 GB, free: 14.16 MB / 0.8074 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.768e-06/0.005004, allocations: 7.984 kB / 0.8229 GB, free: 14.15 MB / 0.8074 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 5.412e-05/0.005058, allocations: 122 kB / 0.8231 GB, free: 14.02 MB / 0.8074 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.135e-06/0.005066, allocations: 11.88 kB / 0.8231 GB, free: 14.01 MB / 0.8074 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.051e-05/0.005086, allocations: 8.438 kB / 0.8231 GB, free: 14 MB / 0.8074 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.005089, allocations: 4 kB / 0.8231 GB, free: 14 MB / 0.8074 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/0.005091, allocations: 0 / 0.8231 GB, free: 14 MB / 0.8074 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.005094, allocations: 7.922 kB / 0.8231 GB, free: 13.99 MB / 0.8074 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001558/0.00525, allocations: 206.8 kB / 0.8233 GB, free: 13.77 MB / 0.8074 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.005252, allocations: 3.938 kB / 0.8233 GB, free: 13.76 MB / 0.8074 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.234e-05/0.005274, allocations: 15.92 kB / 0.8233 GB, free: 13.75 MB / 0.8074 GB Notification: Performance of postOpt removeConstants (simulation): time 5.54e-06/0.00528, allocations: 3.953 kB / 0.8233 GB, free: 13.74 MB / 0.8074 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.005281, allocations: 0 / 0.8233 GB, free: 13.74 MB / 0.8074 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.795e-06/0.005289, allocations: 15.98 kB / 0.8233 GB, free: 13.73 MB / 0.8074 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.91e-07/0.005289, allocations: 0 / 0.8233 GB, free: 13.73 MB / 0.8074 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.00529, allocations: 0 / 0.8233 GB, free: 13.73 MB / 0.8074 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.902e-05/0.005359, allocations: 147.5 kB / 0.8235 GB, free: 13.57 MB / 0.8074 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.186e-06/0.005367, allocations: 0 / 0.8235 GB, free: 13.57 MB / 0.8074 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.117e-05/0.005399, allocations: 4 kB / 0.8235 GB, free: 13.56 MB / 0.8074 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.7e-05/0.005426, allocations: 11.98 kB / 0.8235 GB, free: 13.55 MB / 0.8074 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.466e-06/0.005429, allocations: 0 / 0.8235 GB, free: 13.55 MB / 0.8074 GB Notification: Performance of sorting global known variables: time 1.59e-05/0.005445, allocations: 20.83 kB / 0.8235 GB, free: 13.53 MB / 0.8074 GB Notification: Performance of sort global known variables: time 5e-08/0.005445, allocations: 0 / 0.8235 GB, free: 13.53 MB / 0.8074 GB Notification: Performance of remove unused functions: time 0.0001326/0.005578, allocations: 23.88 kB / 0.8235 GB, free: 13.5 MB / 0.8074 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 9.149e-05/0.005669, allocations: 92.41 kB / 0.8236 GB, free: 13.41 MB / 0.8074 GB Notification: Performance of simCode: created initialization part: time 7.433e-05/0.005743, allocations: 40.77 kB / 0.8236 GB, free: 13.36 MB / 0.8074 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.005748, allocations: 0 / 0.8236 GB, free: 13.36 MB / 0.8074 GB Notification: Performance of simCode: created simulation system equations: time 3.038e-05/0.005778, allocations: 24.8 kB / 0.8237 GB, free: 13.34 MB / 0.8074 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001617/0.00594, allocations: 99.94 kB / 0.8238 GB, free: 13.22 MB / 0.8074 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003334/0.006273, allocations: 161.2 kB / 0.8239 GB, free: 13.04 MB / 0.8074 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.972e-05/0.006303, allocations: 63.2 kB / 0.824 GB, free: 12.95 MB / 0.8074 GB Notification: Performance of simCode: alias equations: time 2.186e-05/0.006325, allocations: 4 kB / 0.824 GB, free: 12.95 MB / 0.8074 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.629e-05/0.006371, allocations: 63.36 kB / 0.824 GB, free: 12.89 MB / 0.8074 GB Notification: Performance of SimCode: time 6.11e-07/0.006372, allocations: 0 / 0.824 GB, free: 12.89 MB / 0.8074 GB Notification: Performance of Templates: time 0.002523/0.008895, allocations: 1.058 MB / 0.8251 GB, free: 11.88 MB / 0.8074 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.198726563714445]