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.001798/0.001798, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.002456/0.002456, allocations: 161.7 kB / 23.55 MB, free: 0.8906 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 1.565/1.565, allocations: 177.1 MB / 203.9 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.955/2.955, allocations: 377.8 MB / 0.6232 GB, free: 8.531 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 2.144e-06/2.144e-06, allocations: 0 / 0.8108 GB, free: 2.074 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.861e-05/3.076e-05, allocations: 6.25 kB / 0.8108 GB, free: 2.066 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.001982/0.002013, allocations: 0.7365 MB / 0.8116 GB, free: 1.352 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001667/0.00368, allocations: 1.097 MB / 0.8126 GB, free: 248 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.694e-05/0.003727, allocations: 4.75 kB / 0.8126 GB, free: 244 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.031e-05/0.003757, allocations: 3.938 kB / 0.8126 GB, free: 240 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 8.193e-05/0.003839, allocations: 13.33 kB / 0.8126 GB, free: 228 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003188/0.004158, allocations: 59.75 kB / 0.8127 GB, free: 168 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001317/0.004289, allocations: 68.72 kB / 0.8128 GB, free: 100 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 9.758e-05/0.004387, allocations: 12.17 kB / 0.8128 GB, free: 84 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001227/0.00451, allocations: 47.89 kB / 0.8128 GB, free: 36 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 6.172e-05/0.004571, allocations: 25.5 kB / 0.8128 GB, free: 12 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.098e-05/0.004592, allocations: 4 kB / 0.8129 GB, free: 8 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 7.763e-05/0.00467, allocations: 16.08 kB / 0.8129 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 3.043e-05/0.0047, allocations: 19.92 kB / 0.8129 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 4.851e-05/0.004749, allocations: 20.94 kB / 0.8129 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001781/0.004927, allocations: 91.52 kB / 0.813 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.683e-06/0.004929, allocations: 0 / 0.813 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.22e-07/0.004929, allocations: 0.7812 kB / 0.813 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.03e-06/0.004934, allocations: 0 / 0.813 GB, free: 15.86 MB / 0.7761 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.0006814/0.005616, allocations: 299.8 kB / 0.8133 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.005655, allocations: 8.031 kB / 0.8133 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.239e-05/0.005717, allocations: 20.88 kB / 0.8133 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000132/0.005849, allocations: 115.2 kB / 0.8134 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.475e-05/0.005864, allocations: 4.375 kB / 0.8134 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.882e-05/0.005883, allocations: 8.375 kB / 0.8134 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002247/0.006108, allocations: 70.16 kB / 0.8135 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.006116, allocations: 5.938 kB / 0.8135 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.006126, allocations: 4.312 kB / 0.8135 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.006133, allocations: 4.125 kB / 0.8135 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001931/0.006326, allocations: 44.64 kB / 0.8136 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006642/0.006991, allocations: 257.2 kB / 0.8138 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001817/0.007172, allocations: 53.16 kB / 0.8138 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001071/0.007279, allocations: 28.95 kB / 0.8139 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.315e-05/0.007302, allocations: 3.938 kB / 0.8139 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002339/0.007536, allocations: 79.89 kB / 0.814 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 1.222e-06/0.007538, allocations: 0 / 0.814 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.000477/0.008015, allocations: 138.9 kB / 0.8141 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.356e-05/0.008068, allocations: 53.06 kB / 0.8141 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001215/0.00819, allocations: 117.8 kB / 0.8143 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.543e-05/0.008215, allocations: 29.7 kB / 0.8143 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.692e-05/0.008302, allocations: 96.08 kB / 0.8144 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.537e-05/0.008327, allocations: 20.34 kB / 0.8144 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.065e-05/0.008388, allocations: 30.3 kB / 0.8144 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001693/0.008557, allocations: 314.8 kB / 0.8147 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001198/0.008677, allocations: 28.77 kB / 0.8147 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001587/0.008836, allocations: 79.12 kB / 0.8148 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002726/0.009108, allocations: 109 kB / 0.8149 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.009111, allocations: 4 kB / 0.8149 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003775/0.009489, allocations: 145.4 kB / 0.8151 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/0.009509, allocations: 8 kB / 0.8151 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.792e-06/0.009516, allocations: 0 / 0.8151 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.451e-05/0.00954, allocations: 4 kB / 0.8151 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001447/0.009685, allocations: 15.98 kB / 0.8151 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.009692, allocations: 6.719 kB / 0.8151 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.869e-05/0.009781, allocations: 11.98 kB / 0.8151 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.882e-05/0.009799, allocations: 8 kB / 0.8151 GB, free: 13.49 MB / 0.7761 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.0001458/0.009945, allocations: 121.8 kB / 0.8152 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.322e-05/0.009978, allocations: 15.89 kB / 0.8153 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.174e-05/0.01002, allocations: 12.42 kB / 0.8153 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.01002, allocations: 0 / 0.8153 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.01003, allocations: 1.531 kB / 0.8153 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.01003, allocations: 0 / 0.8153 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006834/0.01071, allocations: 310.9 kB / 0.8156 GB, free: 13 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.01072, allocations: 0.5312 kB / 0.8156 GB, free: 13 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.941e-05/0.01079, allocations: 12.55 kB / 0.8156 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.01079, allocations: 0 / 0.8156 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/0.0108, allocations: 5.375 kB / 0.8156 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.0108, allocations: 0 / 0.8156 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.0108, allocations: 0 / 0.8156 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003645/0.01117, allocations: 216.5 kB / 0.8158 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.728e-05/0.01118, allocations: 11.89 kB / 0.8158 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.903e-05/0.0112, allocations: 4.656 kB / 0.8158 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.164e-05/0.01129, allocations: 8.641 kB / 0.8158 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.569e-05/0.01135, allocations: 8 kB / 0.8158 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-06/0.01136, allocations: 3.688 kB / 0.8158 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 7.412e-05/0.01143, allocations: 95.92 kB / 0.8159 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.01143, allocations: 0 / 0.8159 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002677/0.0117, allocations: 16 kB / 0.8159 GB, free: 12.61 MB / 0.7761 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.0001914/0.01189, allocations: 103.6 kB / 0.816 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.00031/0.0122, allocations: 77.34 kB / 0.8161 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.0122, allocations: 0 / 0.8161 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001206/0.01232, allocations: 32.95 kB / 0.8161 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003011/0.01262, allocations: 25.73 kB / 0.8162 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004443/0.01307, allocations: 162.2 kB / 0.8163 GB, free: 12.19 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.646e-05/0.01315, allocations: 72.42 kB / 0.8164 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.651e-05/0.01319, allocations: 8.969 kB / 0.8164 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.958e-05/0.01323, allocations: 12.5 kB / 0.8164 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of SimCode: time 3.51e-07/0.01323, allocations: 0 / 0.8164 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of Templates: time 0.004133/0.01736, allocations: 1.03 MB / 0.8174 GB, free: 11.12 MB / 0.7761 GB " [Timeout remaining time 300] 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 -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/jenkins/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: 8.034115572925657]