Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001105/0.001105, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001628/0.002733, allocations: 449.8 kB / 10.44 MB, free: 252 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.001027/0.001027, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000945/0.001972, allocations: 479.5 kB / 11.82 MB, free: 2.344 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 1.004/1.004, allocations: 177.2 MB / 189.8 MB, free: 5.262 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1019/1.106, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.894/1.894, allocations: 378.4 MB / 0.6079 GB, free: 7.703 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5815/2.476, allocations: 123.3 MB / 0.7283 GB, free: 5.711 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.SampleTriggerPositiveStartTime,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.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_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.933e-06/1.933e-06, allocations: 0 / 0.7297 GB, free: 4.391 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.508e-05/2.701e-05, allocations: 5.969 kB / 0.7297 GB, free: 4.387 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.002405/0.002432, allocations: 0.8013 MB / 0.7304 GB, free: 3.617 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001474/0.003906, allocations: 1.123 MB / 0.7315 GB, free: 2.484 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.809e-05/0.003955, allocations: 1.281 kB / 0.7315 GB, free: 2.484 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 3.255e-05/0.003987, allocations: 7.922 kB / 0.7315 GB, free: 2.477 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 5.952e-05/0.004047, allocations: 16.5 kB / 0.7316 GB, free: 2.465 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002356/0.004282, allocations: 48.64 kB / 0.7316 GB, free: 2.418 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001268/0.004409, allocations: 73.64 kB / 0.7317 GB, free: 2.359 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.004516, allocations: 20.66 kB / 0.7317 GB, free: 2.336 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001375/0.004654, allocations: 47.78 kB / 0.7317 GB, free: 2.293 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001221/0.004776, allocations: 22.38 kB / 0.7318 GB, free: 2.273 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.199e-05/0.004798, allocations: 9.781 kB / 0.7318 GB, free: 2.266 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 9.922e-05/0.004897, allocations: 19.98 kB / 0.7318 GB, free: 2.246 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.95e-05/0.004926, allocations: 12.44 kB / 0.7318 GB, free: 2.234 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.153e-05/0.004958, allocations: 20.56 kB / 0.7318 GB, free: 2.215 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001482/0.005106, allocations: 51.77 kB / 0.7319 GB, free: 2.164 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.343e-05/0.00512, allocations: 0.9062 kB / 0.7319 GB, free: 2.164 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.022e-06/0.005121, allocations: 0 / 0.7319 GB, free: 2.164 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.464e-05/0.005135, allocations: 0.8125 kB / 0.7319 GB, free: 2.164 MB / 0.698 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.0004932/0.005628, allocations: 284.4 kB / 0.7321 GB, free: 1.863 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.005668, allocations: 17.42 kB / 0.7322 GB, free: 1.848 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.947e-05/0.005708, allocations: 8.938 kB / 0.7322 GB, free: 1.84 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001015/0.005809, allocations: 113.7 kB / 0.7323 GB, free: 1.703 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.005822, allocations: 4.375 kB / 0.7323 GB, free: 1.699 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.552e-05/0.005838, allocations: 8.844 kB / 0.7323 GB, free: 1.691 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001246/0.005962, allocations: 72.28 kB / 0.7324 GB, free: 1.613 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.00597, allocations: 192 / 0.7324 GB, free: 1.613 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-06/0.005979, allocations: 4.375 kB / 0.7324 GB, free: 1.609 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/0.005987, allocations: 8.125 kB / 0.7324 GB, free: 1.602 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.383e-05/0.006011, allocations: 5.156 kB / 0.7324 GB, free: 1.598 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004036/0.006414, allocations: 188.7 kB / 0.7326 GB, free: 1.398 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000102/0.006516, allocations: 40.14 kB / 0.7326 GB, free: 1.352 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.112e-05/0.006537, allocations: 8.859 kB / 0.7326 GB, free: 1.34 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.526e-05/0.006563, allocations: 0 / 0.7326 GB, free: 1.34 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001189/0.006681, allocations: 71.34 kB / 0.7327 GB, free: 1.258 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.483e-06/0.006683, allocations: 0.6562 kB / 0.7327 GB, free: 1.258 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0001683/0.006851, allocations: 67.09 kB / 0.7327 GB, free: 1.188 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.497e-05/0.006896, allocations: 51.41 kB / 0.7328 GB, free: 1.125 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.794e-05/0.006994, allocations: 126.5 kB / 0.7329 GB, free: 0.9883 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.082e-05/0.007015, allocations: 33.69 kB / 0.7329 GB, free: 0.9492 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.662e-05/0.007072, allocations: 97.61 kB / 0.733 GB, free: 0.8516 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.518e-05/0.007097, allocations: 11.89 kB / 0.733 GB, free: 0.8398 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.091e-05/0.007148, allocations: 29.69 kB / 0.7331 GB, free: 0.8047 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001165/0.007264, allocations: 318.8 kB / 0.7334 GB, free: 496 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.086e-05/0.007295, allocations: 9.281 kB / 0.7334 GB, free: 488 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.326e-05/0.007348, allocations: 57.98 kB / 0.7334 GB, free: 408 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002109/0.007559, allocations: 68.67 kB / 0.7335 GB, free: 320 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.007564, allocations: 7.984 kB / 0.7335 GB, free: 312 kB / 0.698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001378/0.007702, allocations: 78.8 kB / 0.7336 GB, free: 228 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.339e-05/0.007725, allocations: 14.31 kB / 0.7336 GB, free: 216 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.007732, allocations: 0 / 0.7336 GB, free: 216 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.007749, allocations: 4.969 kB / 0.7336 GB, free: 212 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001303/0.007879, allocations: 19.98 kB / 0.7336 GB, free: 192 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.007888, allocations: 7.922 kB / 0.7336 GB, free: 184 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.224e-05/0.007941, allocations: 5.219 kB / 0.7336 GB, free: 180 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.674e-05/0.007957, allocations: 8 kB / 0.7336 GB, free: 172 kB / 0.698 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 8.601e-05/0.008043, allocations: 115.4 kB / 0.7338 GB, free: 48 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.911e-05/0.008063, allocations: 15.92 kB / 0.7338 GB, free: 32 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.908e-05/0.008092, allocations: 8.438 kB / 0.7338 GB, free: 20 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.008094, allocations: 0 / 0.7338 GB, free: 20 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.008096, allocations: 0 / 0.7338 GB, free: 20 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.0081, allocations: 0.6562 kB / 0.7338 GB, free: 20 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002645/0.008364, allocations: 223.5 kB / 0.734 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.008368, allocations: 3.938 kB / 0.734 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.879e-05/0.008417, allocations: 4.75 kB / 0.734 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.232e-05/0.00843, allocations: 7.953 kB / 0.734 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.008432, allocations: 5.969 kB / 0.734 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.064e-06/0.008439, allocations: 0 / 0.734 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.008441, allocations: 0 / 0.734 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.008445, allocations: 3.984 kB / 0.734 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001256/0.008571, allocations: 151.4 kB / 0.7342 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.596e-05/0.008587, allocations: 4 kB / 0.7342 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.773e-05/0.008654, allocations: 5.328 kB / 0.7342 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.674e-05/0.008691, allocations: 4 kB / 0.7342 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.077e-05/0.008702, allocations: 7.984 kB / 0.7342 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.941e-05/0.008731, allocations: 18.09 kB / 0.7342 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of sort global known variables: time 8e-08/0.008731, allocations: 0 / 0.7342 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002409/0.008972, allocations: 16 kB / 0.7342 GB, free: 15.54 MB / 0.7136 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.0001667/0.009139, allocations: 93.59 kB / 0.7343 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001212/0.00926, allocations: 48.77 kB / 0.7344 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.593e-06/0.009267, allocations: 0 / 0.7344 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.327e-05/0.00931, allocations: 20.84 kB / 0.7344 GB, free: 15.37 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002548/0.009565, allocations: 105 kB / 0.7345 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005119/0.01008, allocations: 161 kB / 0.7346 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.173e-05/0.01013, allocations: 63.34 kB / 0.7347 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.444e-05/0.01017, allocations: 14.88 kB / 0.7347 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.609e-05/0.01025, allocations: 67.3 kB / 0.7348 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of SimCode: time 8.01e-07/0.01025, allocations: 0 / 0.7348 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of Templates: time 0.003925/0.01417, allocations: 1.059 MB / 0.7358 GB, free: 13.94 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.057887286879122]