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.0008746/0.0008746, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0008614/0.0008614, allocations: 177.9 kB / 23.21 MB, free: 1.348 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 0.8755/0.8755, allocations: 177.1 MB / 203.5 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] 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 1.749/1.749, allocations: 377.9 MB / 0.6229 GB, free: 8.648 MB / 0.5886 GB " [Timeout remaining time 178] 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.425e-06/2.425e-06, allocations: 0 / 0.9822 GB, free: 2.066 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.578e-05/2.82e-05, allocations: 6.281 kB / 0.9822 GB, free: 2.059 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.001369/0.001397, allocations: 0.7439 MB / 0.9829 GB, free: 1.32 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001047/0.002444, allocations: 1.092 MB / 0.984 GB, free: 220 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.207e-05/0.002486, allocations: 4 kB / 0.984 GB, free: 216 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 3.017e-05/0.002516, allocations: 7.922 kB / 0.984 GB, free: 208 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 6.993e-05/0.002586, allocations: 11.86 kB / 0.984 GB, free: 196 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002822/0.002868, allocations: 55.77 kB / 0.9841 GB, free: 140 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 9.431e-05/0.002962, allocations: 71.77 kB / 0.9842 GB, free: 68 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 9.754e-05/0.00306, allocations: 16.12 kB / 0.9842 GB, free: 48 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 7.984e-05/0.00314, allocations: 43.95 kB / 0.9842 GB, free: 4 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 5.741e-05/0.003197, allocations: 23.91 kB / 0.9842 GB, free: 15.98 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 1.645e-05/0.003214, allocations: 8 kB / 0.9842 GB, free: 15.97 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.013e-05/0.003264, allocations: 19.97 kB / 0.9843 GB, free: 15.95 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 2.168e-05/0.003285, allocations: 15.92 kB / 0.9843 GB, free: 15.94 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 3.074e-05/0.003316, allocations: 19.97 kB / 0.9843 GB, free: 15.92 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001299/0.003446, allocations: 79.75 kB / 0.9844 GB, free: 15.84 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.00345, allocations: 3.984 kB / 0.9844 GB, free: 15.84 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.362e-06/0.003451, allocations: 0 / 0.9844 GB, free: 15.84 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.518e-06/0.003456, allocations: 0 / 0.9844 GB, free: 15.84 MB / 0.948 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.0004282/0.003884, allocations: 314 kB / 0.9847 GB, free: 15.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.00392, allocations: 8.031 kB / 0.9847 GB, free: 15.49 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.753e-05/0.003958, allocations: 8.891 kB / 0.9847 GB, free: 15.48 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.185e-05/0.004049, allocations: 117.7 kB / 0.9848 GB, free: 15.34 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.074e-05/0.00406, allocations: 384 / 0.9848 GB, free: 15.34 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.551e-05/0.004076, allocations: 12.36 kB / 0.9848 GB, free: 15.33 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001398/0.004215, allocations: 66.17 kB / 0.9849 GB, free: 15.26 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.004223, allocations: 192 / 0.9849 GB, free: 15.26 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.004233, allocations: 384 / 0.9849 GB, free: 15.26 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.296e-06/0.004242, allocations: 16.11 kB / 0.9849 GB, free: 15.25 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.213e-05/0.004334, allocations: 51.83 kB / 0.9849 GB, free: 15.2 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004458/0.00478, allocations: 248.4 kB / 0.9852 GB, free: 14.92 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001235/0.004903, allocations: 58.55 kB / 0.9852 GB, free: 14.86 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.314e-05/0.004956, allocations: 29 kB / 0.9853 GB, free: 14.82 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.582e-05/0.004982, allocations: 15.92 kB / 0.9853 GB, free: 14.81 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001255/0.005108, allocations: 75.34 kB / 0.9854 GB, free: 14.72 MB / 0.948 GB Notification: Performance of pre-optimization done (n=7): time 9.62e-07/0.005109, allocations: 0 / 0.9854 GB, free: 14.72 MB / 0.948 GB Notification: Performance of matching and sorting (n=7): time 0.0002572/0.005366, allocations: 121.6 kB / 0.9855 GB, free: 14.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.0054, allocations: 55.41 kB / 0.9855 GB, free: 14.53 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.216e-05/0.005473, allocations: 125.8 kB / 0.9856 GB, free: 14.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.372e-05/0.005486, allocations: 33.64 kB / 0.9857 GB, free: 14.36 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.173e-05/0.005528, allocations: 92.14 kB / 0.9858 GB, free: 14.27 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.854e-05/0.005547, allocations: 19.88 kB / 0.9858 GB, free: 14.25 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.473e-05/0.005581, allocations: 29.7 kB / 0.9858 GB, free: 14.21 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.827e-05/0.00566, allocations: 314.8 kB / 0.9861 GB, free: 13.89 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.02e-05/0.00572, allocations: 27.97 kB / 0.9861 GB, free: 13.87 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.754e-05/0.005797, allocations: 78.42 kB / 0.9862 GB, free: 13.77 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003959/0.006193, allocations: 105.9 kB / 0.9863 GB, free: 13.64 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.006195, allocations: 4 kB / 0.9863 GB, free: 13.64 MB / 0.948 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001716/0.006367, allocations: 137.5 kB / 0.9864 GB, free: 13.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.006379, allocations: 4 kB / 0.9864 GB, free: 13.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.006384, allocations: 4 kB / 0.9865 GB, free: 13.49 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.006395, allocations: 3.938 kB / 0.9865 GB, free: 13.49 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.694e-05/0.006472, allocations: 19.97 kB / 0.9865 GB, free: 13.47 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.006478, allocations: 7.938 kB / 0.9865 GB, free: 13.46 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.008e-05/0.006518, allocations: 15.89 kB / 0.9865 GB, free: 13.45 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.046e-05/0.006529, allocations: 4 kB / 0.9865 GB, free: 13.44 MB / 0.948 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 6.51e-05/0.006594, allocations: 128.5 kB / 0.9866 GB, free: 13.31 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.148e-06/0.006603, allocations: 11.89 kB / 0.9866 GB, free: 13.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.022e-05/0.006623, allocations: 8.438 kB / 0.9866 GB, free: 13.29 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.006625, allocations: 0 / 0.9866 GB, free: 13.29 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.006629, allocations: 0 / 0.9866 GB, free: 13.29 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.006632, allocations: 0 / 0.9866 GB, free: 13.29 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000268/0.0069, allocations: 318.4 kB / 0.9869 GB, free: 12.94 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.006901, allocations: 0 / 0.9869 GB, free: 12.94 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.348e-05/0.006925, allocations: 11.98 kB / 0.987 GB, free: 12.93 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.006928, allocations: 8 kB / 0.987 GB, free: 12.92 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.642e-06/0.006935, allocations: 0 / 0.987 GB, free: 12.92 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.006935, allocations: 0 / 0.987 GB, free: 12.92 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.006936, allocations: 80 / 0.987 GB, free: 12.92 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001523/0.007089, allocations: 211.3 kB / 0.9872 GB, free: 12.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.875e-06/0.007096, allocations: 7.953 kB / 0.9872 GB, free: 12.69 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.127e-05/0.007108, allocations: 3.938 kB / 0.9872 GB, free: 12.69 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.922e-05/0.007147, allocations: 7.984 kB / 0.9872 GB, free: 12.68 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.628e-05/0.007183, allocations: 7.984 kB / 0.9872 GB, free: 12.67 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.112e-06/0.007189, allocations: 8 kB / 0.9872 GB, free: 12.66 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.424e-05/0.007224, allocations: 95.42 kB / 0.9873 GB, free: 12.57 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.007224, allocations: 0 / 0.9873 GB, free: 12.57 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001712/0.007395, allocations: 23.94 kB / 0.9873 GB, free: 12.55 MB / 0.948 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.0001173/0.007512, allocations: 99.25 kB / 0.9874 GB, free: 12.44 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.000165/0.007677, allocations: 80.12 kB / 0.9875 GB, free: 12.36 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.007679, allocations: 4.125 kB / 0.9875 GB, free: 12.36 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 6e-05/0.007739, allocations: 31.97 kB / 0.9875 GB, free: 12.33 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000184/0.007923, allocations: 11.94 kB / 0.9875 GB, free: 12.32 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002852/0.008208, allocations: 187.2 kB / 0.9877 GB, free: 12.1 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.813e-05/0.008256, allocations: 75.58 kB / 0.9878 GB, free: 12 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.605e-05/0.008282, allocations: 12.5 kB / 0.9878 GB, free: 11.99 MB / 0.948 GB Notification: Performance of SimCode: time 5.31e-07/0.008283, allocations: 4 kB / 0.9878 GB, free: 11.98 MB / 0.948 GB Notification: Performance of Templates: time 0.001813/0.0101, allocations: 1.071 MB / 0.9888 GB, free: 10.93 MB / 0.948 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] "" 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: 6.499587122350931]