Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001596/0.001596, allocations: 77.23 kB / 19.76 MB, free: 2.031 MB / 14.72 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.002118/0.002118, allocations: 162.4 kB / 23.01 MB, free: 4.945 MB / 14.72 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 1.443/1.443, allocations: 177.2 MB / 203.4 MB, free: 8.965 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.876/2.876, allocations: 377.9 MB / 0.6228 GB, free: 12.57 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002108/0.002108, allocations: 71.88 kB / 0.982 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.088/1.09, allocations: 176.1 MB / 1.154 GB, free: 33.29 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.00198/1.092, allocations: 0.7274 MB / 1.155 GB, free: 32.84 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001197/1.093, allocations: 1.087 MB / 1.156 GB, free: 32.04 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.8e-05/1.093, allocations: 6.531 kB / 1.156 GB, free: 32.04 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 2.833e-05/1.093, allocations: 3.938 kB / 1.156 GB, free: 32.04 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 8.178e-05/1.093, allocations: 17.98 kB / 1.156 GB, free: 32.02 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003402/1.093, allocations: 49.56 kB / 1.156 GB, free: 32 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001136/1.093, allocations: 67.92 kB / 1.156 GB, free: 31.96 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001184/1.094, allocations: 29.11 kB / 1.156 GB, free: 31.95 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 7.011e-05/1.094, allocations: 35.48 kB / 1.156 GB, free: 31.93 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 6.459e-05/1.094, allocations: 30.7 kB / 1.156 GB, free: 31.91 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.895e-05/1.094, allocations: 6.281 kB / 1.156 GB, free: 31.91 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 6.117e-05/1.094, allocations: 11.62 kB / 1.156 GB, free: 31.91 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 2.887e-05/1.094, allocations: 18.34 kB / 1.156 GB, free: 31.9 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 4.131e-05/1.094, allocations: 25.41 kB / 1.156 GB, free: 31.89 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001552/1.094, allocations: 82.12 kB / 1.156 GB, free: 31.86 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/1.094, allocations: 0 / 1.156 GB, free: 31.86 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.984e-06/1.094, allocations: 3.938 kB / 1.156 GB, free: 31.86 MB / 1.076 GB Notification: Performance of Transformations before backend: time 7.314e-06/1.094, allocations: 0 / 1.156 GB, free: 31.86 MB / 1.076 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.0006344/1.095, allocations: 302 kB / 1.156 GB, free: 31.57 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/1.095, allocations: 10.19 kB / 1.156 GB, free: 31.57 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.267e-05/1.095, allocations: 7.266 kB / 1.156 GB, free: 31.57 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001195/1.095, allocations: 120.5 kB / 1.156 GB, free: 31.43 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.025e-05/1.095, allocations: 7.031 kB / 1.157 GB, free: 31.43 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.598e-05/1.095, allocations: 2.312 kB / 1.157 GB, free: 31.43 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002217/1.095, allocations: 67.66 kB / 1.157 GB, free: 31.39 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/1.095, allocations: 3.938 kB / 1.157 GB, free: 31.38 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/1.095, allocations: 2.688 kB / 1.157 GB, free: 31.38 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/1.095, allocations: 0 / 1.157 GB, free: 31.38 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001711/1.095, allocations: 55.22 kB / 1.157 GB, free: 31.36 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005822/1.096, allocations: 255.7 kB / 1.157 GB, free: 31.14 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001813/1.096, allocations: 59.36 kB / 1.157 GB, free: 31.1 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.497e-05/1.096, allocations: 31.14 kB / 1.157 GB, free: 31.09 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.682e-05/1.096, allocations: 2.969 kB / 1.157 GB, free: 31.09 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002091/1.096, allocations: 82.27 kB / 1.157 GB, free: 31.02 MB / 1.076 GB Notification: Performance of pre-optimization done (n=7): time 1.292e-06/1.096, allocations: 2.938 kB / 1.157 GB, free: 31.02 MB / 1.076 GB Notification: Performance of matching and sorting (n=7): time 0.0004274/1.097, allocations: 127.2 kB / 1.157 GB, free: 30.96 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.962e-05/1.097, allocations: 58.38 kB / 1.157 GB, free: 30.9 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.562e-05/1.097, allocations: 119.1 kB / 1.157 GB, free: 30.79 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.223e-05/1.097, allocations: 25.7 kB / 1.157 GB, free: 30.76 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 3.932e-05/1.097, allocations: 94.19 kB / 1.157 GB, free: 30.67 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.087e-05/1.097, allocations: 30.83 kB / 1.157 GB, free: 30.64 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.482e-05/1.097, allocations: 30.09 kB / 1.158 GB, free: 30.62 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 6.305e-05/1.097, allocations: 325 kB / 1.158 GB, free: 30.3 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.91e-05/1.097, allocations: 25.75 kB / 1.158 GB, free: 30.3 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001148/1.097, allocations: 72.91 kB / 1.158 GB, free: 30.23 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002043/1.098, allocations: 112.9 kB / 1.158 GB, free: 30.15 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/1.098, allocations: 0 / 1.158 GB, free: 30.15 MB / 1.076 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002701/1.098, allocations: 134.6 kB / 1.158 GB, free: 30.09 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/1.098, allocations: 5.906 kB / 1.158 GB, free: 30.09 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/1.098, allocations: 2.938 kB / 1.158 GB, free: 30.09 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/1.098, allocations: 0 / 1.158 GB, free: 30.09 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001332/1.098, allocations: 25.45 kB / 1.158 GB, free: 30.08 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/1.098, allocations: 0 / 1.158 GB, free: 30.08 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.9e-05/1.098, allocations: 11.16 kB / 1.158 GB, free: 30.08 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.265e-05/1.098, allocations: 6.531 kB / 1.158 GB, free: 30.08 MB / 1.076 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.602e-05/1.098, allocations: 123.2 kB / 1.158 GB, free: 29.95 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.377e-05/1.098, allocations: 13.17 kB / 1.158 GB, free: 29.95 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.685e-05/1.098, allocations: 8.438 kB / 1.158 GB, free: 29.93 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/1.098, allocations: 2.688 kB / 1.158 GB, free: 29.93 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/1.098, allocations: 3.375 kB / 1.158 GB, free: 29.93 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/1.098, allocations: 3.938 kB / 1.158 GB, free: 29.93 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003597/1.099, allocations: 310.5 kB / 1.159 GB, free: 29.67 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/1.099, allocations: 0 / 1.159 GB, free: 29.67 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.082e-05/1.099, allocations: 9.062 kB / 1.159 GB, free: 29.67 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/1.099, allocations: 7 kB / 1.159 GB, free: 29.66 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.286e-06/1.099, allocations: 4 kB / 1.159 GB, free: 29.66 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/1.099, allocations: 0 / 1.159 GB, free: 29.66 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/1.099, allocations: 0 / 1.159 GB, free: 29.66 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000246/1.099, allocations: 212.2 kB / 1.159 GB, free: 29.5 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.035e-05/1.099, allocations: 6.766 kB / 1.159 GB, free: 29.5 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.387e-05/1.099, allocations: 0 / 1.159 GB, free: 29.5 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.007e-05/1.099, allocations: 8.984 kB / 1.159 GB, free: 29.5 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.119e-05/1.099, allocations: 7.188 kB / 1.159 GB, free: 29.49 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.472e-06/1.099, allocations: 10.72 kB / 1.159 GB, free: 29.48 MB / 1.076 GB Notification: Performance of sorting global known variables: time 3.471e-05/1.099, allocations: 99.47 kB / 1.159 GB, free: 29.4 MB / 1.076 GB Notification: Performance of sort global known variables: time 6.1e-08/1.099, allocations: 2.844 kB / 1.159 GB, free: 29.4 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002495/1.099, allocations: 11.19 kB / 1.159 GB, free: 29.4 MB / 1.076 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.0001366/1.099, allocations: 110.7 kB / 1.159 GB, free: 29.3 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.000272/1.1, allocations: 73.06 kB / 1.159 GB, free: 29.29 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/1.1, allocations: 448 / 1.159 GB, free: 29.29 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001002/1.1, allocations: 34.91 kB / 1.159 GB, free: 29.28 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000265/1.1, allocations: 19.42 kB / 1.159 GB, free: 29.27 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003228/1.1, allocations: 166.6 kB / 1.159 GB, free: 29.12 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.187e-05/1.1, allocations: 78.23 kB / 1.159 GB, free: 29.05 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 3.062e-05/1.101, allocations: 6.375 kB / 1.159 GB, free: 29.05 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.942e-05/1.101, allocations: 18.78 kB / 1.159 GB, free: 29.04 MB / 1.076 GB Notification: Performance of SimCode: time 3.31e-07/1.101, allocations: 3.938 kB / 1.159 GB, free: 29.04 MB / 1.076 GB Notification: Performance of Templates: time 0.003686/1.104, allocations: 1.007 MB / 1.16 GB, free: 28.93 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.11093086504843]