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.001615/0.001615, allocations: 120.3 kB / 17.13 MB, free: 5.918 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.00183/0.00183, allocations: 191.7 kB / 20.08 MB, free: 2.988 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.426/1.426, allocations: 225.6 MB / 248.5 MB, free: 3.617 MB / 190.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.564/2.564, allocations: 443.5 MB / 0.7293 GB, free: 14.54 MB / 0.5762 GB " [Timeout remaining time 177] 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.001966/0.001966, allocations: 71.88 kB / 1.057 GB, free: 1.996 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3116/0.3135, allocations: 160.7 MB / 1.214 GB, free: 0.9609 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.002046/0.3156, allocations: 0.755 MB / 1.215 GB, free: 204 kB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.00139/0.317, allocations: 1.078 MB / 1.216 GB, free: 15.11 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.657e-05/0.317, allocations: 0 / 1.216 GB, free: 15.11 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.022e-05/0.3171, allocations: 3.938 kB / 1.216 GB, free: 15.1 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.779e-05/0.3171, allocations: 19.86 kB / 1.216 GB, free: 15.08 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002829/0.3174, allocations: 55.7 kB / 1.216 GB, free: 15.03 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001342/0.3176, allocations: 75.77 kB / 1.216 GB, free: 14.96 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.978e-05/0.3177, allocations: 12.17 kB / 1.216 GB, free: 14.94 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.616e-05/0.3177, allocations: 27.92 kB / 1.216 GB, free: 14.91 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.355e-05/0.3178, allocations: 31.84 kB / 1.216 GB, free: 14.88 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2e-05/0.3178, allocations: 8 kB / 1.216 GB, free: 14.88 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 7.151e-05/0.3179, allocations: 23.97 kB / 1.216 GB, free: 14.85 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.262e-05/0.3179, allocations: 11.98 kB / 1.216 GB, free: 14.84 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.895e-05/0.318, allocations: 35.8 kB / 1.216 GB, free: 14.8 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001681/0.3181, allocations: 83.62 kB / 1.216 GB, free: 14.72 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.3181, allocations: 0 / 1.216 GB, free: 14.72 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.152e-06/0.3181, allocations: 0 / 1.216 GB, free: 14.72 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.112e-06/0.3181, allocations: 0 / 1.216 GB, free: 14.72 MB / 0.9669 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.0006095/0.3188, allocations: 383.1 kB / 1.217 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.245e-05/0.3188, allocations: 8.031 kB / 1.217 GB, free: 14.29 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.569e-05/0.3188, allocations: 12.88 kB / 1.217 GB, free: 14.28 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001453/0.319, allocations: 172.3 kB / 1.217 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.574e-05/0.319, allocations: 12.38 kB / 1.217 GB, free: 14.06 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.682e-05/0.319, allocations: 8.375 kB / 1.217 GB, free: 14.05 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000209/0.3192, allocations: 70.14 kB / 1.217 GB, free: 13.98 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.3192, allocations: 7.938 kB / 1.217 GB, free: 13.97 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.287e-06/0.3192, allocations: 0 / 1.217 GB, free: 13.97 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-06/0.3192, allocations: 0 / 1.217 GB, free: 13.97 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001858/0.3194, allocations: 43.95 kB / 1.217 GB, free: 13.93 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006579/0.3201, allocations: 328.6 kB / 1.217 GB, free: 13.56 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001677/0.3203, allocations: 50.55 kB / 1.217 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001049/0.3204, allocations: 32.95 kB / 1.217 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.529e-05/0.3204, allocations: 4 kB / 1.217 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002221/0.3206, allocations: 83.27 kB / 1.217 GB, free: 13.37 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.412e-06/0.3206, allocations: 3.938 kB / 1.217 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0004193/0.321, allocations: 125.7 kB / 1.218 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.511e-05/0.3211, allocations: 59.39 kB / 1.218 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001325/0.3212, allocations: 125.8 kB / 1.218 GB, free: 13.03 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.052e-05/0.3212, allocations: 25.7 kB / 1.218 GB, free: 13 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.124e-05/0.3213, allocations: 92.12 kB / 1.218 GB, free: 12.91 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.045e-05/0.3213, allocations: 15.91 kB / 1.218 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.712e-05/0.3214, allocations: 29.7 kB / 1.218 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001479/0.3215, allocations: 322.8 kB / 1.218 GB, free: 12.53 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001105/0.3216, allocations: 27.97 kB / 1.218 GB, free: 12.5 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001547/0.3218, allocations: 73.98 kB / 1.218 GB, free: 12.41 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002454/0.322, allocations: 109.8 kB / 1.218 GB, free: 12.28 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.322, allocations: 0 / 1.218 GB, free: 12.28 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000331/0.3224, allocations: 133.6 kB / 1.219 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.3224, allocations: 8 kB / 1.219 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.241e-06/0.3224, allocations: 3.984 kB / 1.219 GB, free: 12.13 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.3224, allocations: 4 kB / 1.219 GB, free: 12.13 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001282/0.3225, allocations: 19.92 kB / 1.219 GB, free: 12.11 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.3225, allocations: 320 / 1.219 GB, free: 12.11 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.215e-05/0.3226, allocations: 19.88 kB / 1.219 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.495e-05/0.3227, allocations: 4 kB / 1.219 GB, free: 12.09 MB / 0.9669 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.0001082/0.3228, allocations: 125.8 kB / 1.219 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.553e-05/0.3228, allocations: 11.89 kB / 1.219 GB, free: 11.94 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.187e-05/0.3228, allocations: 4.375 kB / 1.219 GB, free: 11.94 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.3228, allocations: 4 kB / 1.219 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.3228, allocations: 3.938 kB / 1.219 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.3228, allocations: 0 / 1.219 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005014/0.3233, allocations: 374.5 kB / 1.219 GB, free: 11.51 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.3233, allocations: 8 kB / 1.219 GB, free: 11.5 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.285e-05/0.3234, allocations: 11.92 kB / 1.219 GB, free: 11.49 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.3234, allocations: 0 / 1.219 GB, free: 11.49 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.784e-06/0.3234, allocations: 0 / 1.219 GB, free: 11.49 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.3234, allocations: 3.938 kB / 1.219 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-06/0.3234, allocations: 4 kB / 1.219 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003116/0.3237, allocations: 199.5 kB / 1.219 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.758e-05/0.3238, allocations: 85.06 kB / 1.219 GB, free: 11.17 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.57e-05/0.3238, allocations: 4 kB / 1.219 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.826e-05/0.3239, allocations: 15.92 kB / 1.219 GB, free: 11.15 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.344e-05/0.3239, allocations: 0 / 1.219 GB, free: 11.15 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.196e-05/0.3239, allocations: 7.984 kB / 1.219 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.704e-05/0.324, allocations: 87.28 kB / 1.219 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8.1e-08/0.324, allocations: 0 / 1.219 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000259/0.3242, allocations: 27.86 kB / 1.219 GB, free: 11.03 MB / 0.9669 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.0001625/0.3244, allocations: 113.1 kB / 1.22 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.000286/0.3247, allocations: 79.86 kB / 1.22 GB, free: 10.83 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.3247, allocations: 0 / 1.22 GB, free: 10.83 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001223/0.3248, allocations: 27.98 kB / 1.22 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002731/0.3251, allocations: 18.25 kB / 1.22 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000381/0.3255, allocations: 191.7 kB / 1.22 GB, free: 10.57 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003173/0.3258, allocations: 0.6924 MB / 1.221 GB, free: 9.848 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.354e-05/0.3258, allocations: 11.44 kB / 1.221 GB, free: 9.836 MB / 0.9669 GB Notification: Performance of SimCode: time 3.5e-07/0.3258, allocations: 0 / 1.221 GB, free: 9.836 MB / 0.9669 GB Notification: Performance of Templates: time 0.002815/0.3286, allocations: 1.056 MB / 1.222 GB, free: 8.789 MB / 0.9669 GB " [Timeout remaining time 300] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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:samTri.y,samTri1.y,time,triggeredSampler.u,triggeredSampler.y,triggeredSampler1.u,triggeredSampler1.y [Calling sys.exit(0), Time elapsed: 10.078472480876371]