Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.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.001052/0.001052, allocations: 76.17 kB / 9.906 MB, free: 0.7812 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001384/0.002436, allocations: 439.8 kB / 10.34 MB, free: 360 kB / 10.45 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.0009514/0.0009514, allocations: 157.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001201/0.002152, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9824/0.9824, allocations: 177.1 MB / 189.6 MB, free: 5.332 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08752/1.07, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.438/2.438, allocations: 446.7 MB / 0.6745 GB, free: 6.215 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.3573/2.795, allocations: 145.9 MB / 0.817 GB, free: 4.219 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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.SampleTriggerPositiveStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|samTri.y|triggeredSampler.u|triggeredSampler.y|samTri1.y|triggeredSampler1.u|triggeredSampler1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|samTri.y|triggeredSampler.u|triggeredSampler.y|samTri1.y|triggeredSampler1.u|triggeredSampler1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.595e-06/2.595e-06, allocations: 0 / 0.8183 GB, free: 2.906 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.803e-05/3.063e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.902 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.001832/0.001862, allocations: 0.7985 MB / 0.8191 GB, free: 2.098 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.00128/0.003142, allocations: 1.123 MB / 0.8202 GB, free: 0.9609 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.487e-05/0.003187, allocations: 0 / 0.8202 GB, free: 0.9609 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.931e-05/0.003216, allocations: 7.875 kB / 0.8202 GB, free: 0.9531 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 4.943e-05/0.003266, allocations: 15.86 kB / 0.8202 GB, free: 0.9375 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002195/0.003485, allocations: 59.7 kB / 0.8203 GB, free: 0.8789 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.000117/0.003602, allocations: 71.77 kB / 0.8203 GB, free: 0.8086 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.003714, allocations: 16.17 kB / 0.8203 GB, free: 0.7891 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001142/0.003828, allocations: 51.83 kB / 0.8204 GB, free: 0.7383 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 5.609e-05/0.003885, allocations: 19.97 kB / 0.8204 GB, free: 0.7188 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.945e-05/0.003904, allocations: 11.94 kB / 0.8204 GB, free: 0.707 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 8.389e-05/0.003988, allocations: 12 kB / 0.8204 GB, free: 0.6953 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 2.212e-05/0.00401, allocations: 8 kB / 0.8204 GB, free: 0.6875 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 3.17e-05/0.004042, allocations: 19.92 kB / 0.8205 GB, free: 0.668 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001355/0.004177, allocations: 59.77 kB / 0.8205 GB, free: 0.6094 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.727e-05/0.004194, allocations: 0 / 0.8205 GB, free: 0.6094 MB / 0.7917 GB Notification: Performance of FrontEnd: time 7.81e-07/0.004195, allocations: 4 kB / 0.8205 GB, free: 0.6055 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.777e-05/0.004213, allocations: 0 / 0.8205 GB, free: 0.6055 MB / 0.7917 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.0005018/0.004715, allocations: 288.3 kB / 0.8208 GB, free: 308 kB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.004758, allocations: 8.625 kB / 0.8208 GB, free: 300 kB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.532e-05/0.004804, allocations: 16.92 kB / 0.8208 GB, free: 284 kB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000112/0.004916, allocations: 121.6 kB / 0.8209 GB, free: 136 kB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.00493, allocations: 4.375 kB / 0.8209 GB, free: 132 kB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.085e-05/0.004941, allocations: 4.375 kB / 0.8209 GB, free: 128 kB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000139/0.00508, allocations: 62.94 kB / 0.821 GB, free: 56 kB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.005089, allocations: 192 / 0.821 GB, free: 56 kB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.917e-06/0.005098, allocations: 4.375 kB / 0.821 GB, free: 52 kB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.005105, allocations: 8.125 kB / 0.821 GB, free: 44 kB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.649e-05/0.005132, allocations: 15.92 kB / 0.821 GB, free: 28 kB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004073/0.005539, allocations: 196.1 kB / 0.8212 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 9.66e-05/0.005636, allocations: 34.58 kB / 0.8213 GB, free: 15.78 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.15e-05/0.005657, allocations: 12.98 kB / 0.8213 GB, free: 15.76 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.757e-05/0.005685, allocations: 4 kB / 0.8213 GB, free: 15.76 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001059/0.005791, allocations: 55.33 kB / 0.8213 GB, free: 15.69 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=7): time 1.362e-06/0.005792, allocations: 4 kB / 0.8213 GB, free: 15.69 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7): time 0.0001433/0.005935, allocations: 57.67 kB / 0.8214 GB, free: 15.62 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.715e-05/0.005992, allocations: 67.33 kB / 0.8214 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.655e-05/0.006079, allocations: 114.7 kB / 0.8216 GB, free: 15.42 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.718e-05/0.006096, allocations: 29.7 kB / 0.8216 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.267e-05/0.006149, allocations: 96.06 kB / 0.8217 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.302e-05/0.006172, allocations: 15.89 kB / 0.8217 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.965e-05/0.006211, allocations: 29.69 kB / 0.8217 GB, free: 15.24 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001073/0.006319, allocations: 318.8 kB / 0.822 GB, free: 14.92 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.013e-05/0.006339, allocations: 7.984 kB / 0.822 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.754e-05/0.006386, allocations: 54 kB / 0.8221 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.858e-05/0.006465, allocations: 73.86 kB / 0.8222 GB, free: 14.74 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.006469, allocations: 0 / 0.8222 GB, free: 14.74 MB / 0.8073 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001025/0.006571, allocations: 85.56 kB / 0.8222 GB, free: 14.65 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.006586, allocations: 7.938 kB / 0.8222 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.006592, allocations: 4 kB / 0.8222 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.006607, allocations: 7.984 kB / 0.8223 GB, free: 14.63 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001175/0.006724, allocations: 19.92 kB / 0.8223 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.006729, allocations: 4 kB / 0.8223 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.52e-05/0.006764, allocations: 7.938 kB / 0.8223 GB, free: 14.6 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.229e-05/0.006777, allocations: 11.92 kB / 0.8223 GB, free: 14.59 MB / 0.8073 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.284e-05/0.00685, allocations: 114 kB / 0.8224 GB, free: 14.47 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.377e-06/0.006859, allocations: 11.94 kB / 0.8224 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.014e-05/0.006889, allocations: 8.438 kB / 0.8224 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.006891, allocations: 7.938 kB / 0.8224 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.006896, allocations: 3.984 kB / 0.8224 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.006899, allocations: 0 / 0.8224 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002207/0.00712, allocations: 211.1 kB / 0.8226 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.007123, allocations: 7.938 kB / 0.8226 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.103e-05/0.007154, allocations: 11.92 kB / 0.8227 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 8.596e-06/0.007163, allocations: 3.953 kB / 0.8227 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.007166, allocations: 4 kB / 0.8227 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.789e-06/0.007171, allocations: 4 kB / 0.8227 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.007172, allocations: 0 / 0.8227 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.007173, allocations: 80 / 0.8227 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.971e-05/0.007263, allocations: 155.5 kB / 0.8228 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.257e-05/0.007276, allocations: 8 kB / 0.8228 GB, free: 14 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.099e-05/0.007307, allocations: 0 / 0.8228 GB, free: 14 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.883e-05/0.007346, allocations: 7.984 kB / 0.8228 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/0.00735, allocations: 0 / 0.8228 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.089e-05/0.007371, allocations: 24.83 kB / 0.8229 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.007371, allocations: 0 / 0.8229 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001408/0.007511, allocations: 15.94 kB / 0.8229 GB, free: 13.95 MB / 0.8073 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.0001292/0.007641, allocations: 96.34 kB / 0.823 GB, free: 13.85 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001037/0.007744, allocations: 44.77 kB / 0.823 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.96e-06/0.007749, allocations: 0 / 0.823 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.906e-05/0.007778, allocations: 16.86 kB / 0.823 GB, free: 13.78 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001597/0.007938, allocations: 20.91 kB / 0.823 GB, free: 13.76 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004469/0.008385, allocations: 161.5 kB / 0.8232 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.864e-05/0.008434, allocations: 63.2 kB / 0.8233 GB, free: 13.49 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.737e-05/0.008461, allocations: 8 kB / 0.8233 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.236e-05/0.008523, allocations: 63.3 kB / 0.8233 GB, free: 13.42 MB / 0.8073 GB Notification: Performance of SimCode: time 1.262e-06/0.008525, allocations: 0 / 0.8233 GB, free: 13.42 MB / 0.8073 GB Notification: Performance of Templates: time 0.003098/0.01162, allocations: 1.094 MB / 0.8244 GB, free: 12.39 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.457854968495667]