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.001927/0.001927, allocations: 81.23 kB / 19.18 MB, free: 2.516 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.002937/0.002937, allocations: 159.5 kB / 22.46 MB, free: 5.375 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.515/1.515, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 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.96/2.96, allocations: 377.8 MB / 0.6221 GB, free: 12.61 MB / 0.5919 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 3.357e-06/3.357e-06, allocations: 3.938 kB / 0.9814 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.879e-05/3.215e-05, allocations: 2.281 kB / 0.9815 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.002902/0.002934, allocations: 0.7357 MB / 0.9822 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002174/0.005108, allocations: 1.088 MB / 0.9832 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.874e-05/0.005167, allocations: 0 / 0.9832 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.25e-05/0.005209, allocations: 3.938 kB / 0.9832 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001006/0.00531, allocations: 15.8 kB / 0.9833 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004084/0.005718, allocations: 59.77 kB / 0.9833 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001726/0.005891, allocations: 71.77 kB / 0.9834 GB, free: 9.996 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001463/0.006037, allocations: 12.17 kB / 0.9834 GB, free: 9.98 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001452/0.006182, allocations: 43.91 kB / 0.9834 GB, free: 9.938 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 8.147e-05/0.006264, allocations: 23.95 kB / 0.9835 GB, free: 9.914 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.775e-05/0.006291, allocations: 8 kB / 0.9835 GB, free: 9.906 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 7.682e-05/0.006368, allocations: 15.98 kB / 0.9835 GB, free: 9.891 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.775e-05/0.006406, allocations: 15.92 kB / 0.9835 GB, free: 9.875 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.275e-05/0.006459, allocations: 19.92 kB / 0.9835 GB, free: 9.855 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002192/0.006678, allocations: 99.53 kB / 0.9836 GB, free: 9.758 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 1.374e-05/0.006692, allocations: 8 kB / 0.9836 GB, free: 9.75 MB / 0.9356 GB Notification: Performance of FrontEnd: time 6.71e-07/0.006692, allocations: 0 / 0.9836 GB, free: 9.75 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.006696, allocations: 0 / 0.9836 GB, free: 9.75 MB / 0.9356 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.0007094/0.007406, allocations: 306 kB / 0.9839 GB, free: 9.422 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.075e-05/0.007457, allocations: 12.03 kB / 0.9839 GB, free: 9.41 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.014e-05/0.007517, allocations: 8.891 kB / 0.9839 GB, free: 9.402 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001548/0.007672, allocations: 113.7 kB / 0.984 GB, free: 9.266 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.007686, allocations: 384 / 0.984 GB, free: 9.266 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.365e-05/0.007709, allocations: 8.375 kB / 0.984 GB, free: 9.258 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002876/0.007997, allocations: 74.16 kB / 0.9841 GB, free: 9.18 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.008006, allocations: 192 / 0.9841 GB, free: 9.18 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.008019, allocations: 384 / 0.9841 GB, free: 9.18 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.008027, allocations: 8.125 kB / 0.9841 GB, free: 9.172 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002626/0.008289, allocations: 43.95 kB / 0.9842 GB, free: 9.129 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008004/0.00909, allocations: 252.4 kB / 0.9844 GB, free: 8.852 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002368/0.009327, allocations: 54.55 kB / 0.9845 GB, free: 8.789 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001573/0.009484, allocations: 28.97 kB / 0.9845 GB, free: 8.758 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.56e-05/0.009509, allocations: 3.938 kB / 0.9845 GB, free: 8.754 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000279/0.009788, allocations: 87.31 kB / 0.9846 GB, free: 8.656 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 1.964e-06/0.00979, allocations: 0 / 0.9846 GB, free: 8.656 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.0007015/0.01049, allocations: 133.6 kB / 0.9847 GB, free: 8.52 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.822e-05/0.01056, allocations: 55.41 kB / 0.9848 GB, free: 8.453 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001666/0.01073, allocations: 125.8 kB / 0.9849 GB, free: 8.32 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 9.069e-05/0.01082, allocations: 29.7 kB / 0.9849 GB, free: 8.285 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 8.712e-05/0.0109, allocations: 88.14 kB / 0.985 GB, free: 8.195 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.182e-05/0.01094, allocations: 19.84 kB / 0.985 GB, free: 8.176 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.345e-05/0.01102, allocations: 29.64 kB / 0.985 GB, free: 8.141 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002785/0.0113, allocations: 322.8 kB / 0.9853 GB, free: 7.816 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001718/0.01147, allocations: 31.97 kB / 0.9854 GB, free: 7.785 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002152/0.01169, allocations: 70.42 kB / 0.9854 GB, free: 7.695 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005002/0.01219, allocations: 113.8 kB / 0.9855 GB, free: 7.562 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.01219, allocations: 0 / 0.9855 GB, free: 7.562 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005098/0.0127, allocations: 133.4 kB / 0.9857 GB, free: 7.426 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.01272, allocations: 4 kB / 0.9857 GB, free: 7.422 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.01273, allocations: 4 kB / 0.9857 GB, free: 7.418 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.01275, allocations: 3.938 kB / 0.9857 GB, free: 7.414 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001868/0.01293, allocations: 19.92 kB / 0.9857 GB, free: 7.395 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/0.01294, allocations: 4 kB / 0.9857 GB, free: 7.391 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001432/0.01309, allocations: 20.16 kB / 0.9857 GB, free: 7.371 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.867e-05/0.0131, allocations: 8 kB / 0.9857 GB, free: 7.363 MB / 0.9356 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.0001435/0.01325, allocations: 117.8 kB / 0.9858 GB, free: 7.238 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.734e-05/0.01327, allocations: 15.88 kB / 0.9859 GB, free: 7.223 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.409e-05/0.01331, allocations: 8.438 kB / 0.9859 GB, free: 7.215 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.01331, allocations: 0 / 0.9859 GB, free: 7.215 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.01332, allocations: 0 / 0.9859 GB, free: 7.215 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.01332, allocations: 4 kB / 0.9859 GB, free: 7.211 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006977/0.01402, allocations: 314.1 kB / 0.9862 GB, free: 6.867 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.01402, allocations: 3.938 kB / 0.9862 GB, free: 6.863 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.425e-05/0.0141, allocations: 11.98 kB / 0.9862 GB, free: 6.852 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.01411, allocations: 0 / 0.9862 GB, free: 6.852 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.01412, allocations: 0 / 0.9862 GB, free: 6.852 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.01412, allocations: 0 / 0.9862 GB, free: 6.852 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.01412, allocations: 0 / 0.9862 GB, free: 6.852 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005179/0.01464, allocations: 203.4 kB / 0.9864 GB, free: 6.637 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 2.166e-05/0.01466, allocations: 11.89 kB / 0.9864 GB, free: 6.625 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.165e-05/0.01468, allocations: 7.938 kB / 0.9864 GB, free: 6.617 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001354/0.01482, allocations: 11.98 kB / 0.9864 GB, free: 6.605 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.527e-05/0.01487, allocations: 7.984 kB / 0.9864 GB, free: 6.598 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.159e-05/0.01488, allocations: 3.984 kB / 0.9864 GB, free: 6.594 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.828e-05/0.01497, allocations: 99.38 kB / 0.9865 GB, free: 6.496 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/0.01497, allocations: 4 kB / 0.9865 GB, free: 6.492 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004857/0.01546, allocations: 19.98 kB / 0.9865 GB, free: 6.473 MB / 0.9356 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.0002102/0.01567, allocations: 99.25 kB / 0.9866 GB, free: 6.367 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000404/0.01607, allocations: 83.88 kB / 0.9867 GB, free: 6.285 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.01608, allocations: 0 / 0.9867 GB, free: 6.285 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001768/0.01625, allocations: 31.92 kB / 0.9867 GB, free: 6.254 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004691/0.01672, allocations: 19.92 kB / 0.9868 GB, free: 6.234 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005091/0.01723, allocations: 157.6 kB / 0.9869 GB, free: 6.051 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001052/0.01734, allocations: 80.02 kB / 0.987 GB, free: 5.953 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.475e-05/0.01738, allocations: 4 kB / 0.987 GB, free: 5.949 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.502e-05/0.01744, allocations: 12.5 kB / 0.987 GB, free: 5.934 MB / 0.9356 GB Notification: Performance of SimCode: time 4.51e-07/0.01744, allocations: 0 / 0.987 GB, free: 5.934 MB / 0.9356 GB Notification: Performance of Templates: time 0.00571/0.02315, allocations: 1.015 MB / 0.988 GB, free: 4.977 MB / 0.9356 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.455791283398867]