Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001901/0.001901, allocations: 79.2 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.002257/0.002257, allocations: 164 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.499/1.499, allocations: 177.2 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.747/2.747, allocations: 359 MB / 0.6037 GB, free: 14.96 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.204e-06/2.204e-06, allocations: 0 / 0.951 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.463e-05/2.683e-05, allocations: 6.219 kB / 0.951 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.002098/0.002125, allocations: 0.727 MB / 0.9517 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001736/0.003861, allocations: 1.097 MB / 0.9528 GB, free: 9.68 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.646e-05/0.003917, allocations: 4 kB / 0.9528 GB, free: 9.676 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.971e-05/0.003947, allocations: 3.938 kB / 0.9528 GB, free: 9.672 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.835e-05/0.004035, allocations: 11.88 kB / 0.9528 GB, free: 9.66 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003335/0.004369, allocations: 59.75 kB / 0.9529 GB, free: 9.602 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000136/0.004505, allocations: 75.77 kB / 0.9529 GB, free: 9.527 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001175/0.004622, allocations: 16.11 kB / 0.9529 GB, free: 9.508 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000116/0.004738, allocations: 35.97 kB / 0.953 GB, free: 9.473 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.969e-05/0.004798, allocations: 27.89 kB / 0.953 GB, free: 9.445 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.055e-05/0.004818, allocations: 4 kB / 0.953 GB, free: 9.441 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 6.526e-05/0.004884, allocations: 16 kB / 0.953 GB, free: 9.426 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.464e-05/0.004928, allocations: 19.91 kB / 0.953 GB, free: 9.406 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.534e-05/0.004974, allocations: 19.98 kB / 0.9531 GB, free: 9.387 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001763/0.00515, allocations: 91.59 kB / 0.9531 GB, free: 9.297 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.005153, allocations: 4 kB / 0.9531 GB, free: 9.293 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.333e-06/0.005154, allocations: 0 / 0.9531 GB, free: 9.293 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.005159, allocations: 0 / 0.9531 GB, free: 9.293 MB / 0.8575 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.0005995/0.005758, allocations: 310 kB / 0.9534 GB, free: 8.961 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.005793, allocations: 8.031 kB / 0.9535 GB, free: 8.953 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.858e-05/0.005841, allocations: 8.922 kB / 0.9535 GB, free: 8.945 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000129/0.00597, allocations: 113.7 kB / 0.9536 GB, free: 8.809 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.958e-05/0.00599, allocations: 8.375 kB / 0.9536 GB, free: 8.801 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.526e-05/0.006005, allocations: 8.312 kB / 0.9536 GB, free: 8.793 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002227/0.006228, allocations: 78.09 kB / 0.9537 GB, free: 8.711 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.006238, allocations: 192 / 0.9537 GB, free: 8.711 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.00625, allocations: 384 / 0.9537 GB, free: 8.711 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.617e-06/0.006258, allocations: 4.125 kB / 0.9537 GB, free: 8.707 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001903/0.006449, allocations: 47.95 kB / 0.9537 GB, free: 8.66 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000642/0.007091, allocations: 252.4 kB / 0.954 GB, free: 8.383 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002033/0.007294, allocations: 54.59 kB / 0.954 GB, free: 8.32 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001079/0.007402, allocations: 28.95 kB / 0.954 GB, free: 8.289 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.727e-05/0.007429, allocations: 7.938 kB / 0.954 GB, free: 8.281 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002242/0.007653, allocations: 75.38 kB / 0.9541 GB, free: 8.195 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.483e-06/0.007655, allocations: 0 / 0.9541 GB, free: 8.195 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0004593/0.008114, allocations: 133.5 kB / 0.9542 GB, free: 8.059 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.271e-05/0.008167, allocations: 59.41 kB / 0.9543 GB, free: 7.988 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001195/0.008286, allocations: 125.8 kB / 0.9544 GB, free: 7.855 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.155e-05/0.008308, allocations: 25.7 kB / 0.9544 GB, free: 7.824 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.454e-05/0.008372, allocations: 92.12 kB / 0.9545 GB, free: 7.73 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.188e-05/0.008394, allocations: 11.91 kB / 0.9545 GB, free: 7.719 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.875e-05/0.008453, allocations: 33.7 kB / 0.9546 GB, free: 7.68 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001639/0.008617, allocations: 314.8 kB / 0.9549 GB, free: 7.363 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001318/0.008749, allocations: 27.98 kB / 0.9549 GB, free: 7.336 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001548/0.008903, allocations: 73.98 kB / 0.955 GB, free: 7.242 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002715/0.009175, allocations: 109.8 kB / 0.9551 GB, free: 7.113 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.00918, allocations: 4 kB / 0.9551 GB, free: 7.109 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003511/0.009531, allocations: 137.4 kB / 0.9552 GB, free: 6.969 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.009545, allocations: 4 kB / 0.9552 GB, free: 6.965 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.00955, allocations: 0 / 0.9552 GB, free: 6.965 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.945e-05/0.00957, allocations: 7.938 kB / 0.9552 GB, free: 6.957 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001395/0.009709, allocations: 23.92 kB / 0.9552 GB, free: 6.934 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/0.009719, allocations: 4 kB / 0.9552 GB, free: 6.93 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.35e-05/0.009812, allocations: 20.09 kB / 0.9553 GB, free: 6.91 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.493e-05/0.009827, allocations: 4 kB / 0.9553 GB, free: 6.906 MB / 0.8575 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.0001043/0.009931, allocations: 124 kB / 0.9554 GB, free: 6.777 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.624e-05/0.009948, allocations: 3.938 kB / 0.9554 GB, free: 6.773 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.757e-05/0.009975, allocations: 8.438 kB / 0.9554 GB, free: 6.766 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.009977, allocations: 0 / 0.9554 GB, free: 6.766 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.009984, allocations: 11.86 kB / 0.9554 GB, free: 6.754 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.009986, allocations: 0 / 0.9554 GB, free: 6.754 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004914/0.01048, allocations: 322.1 kB / 0.9557 GB, free: 6.402 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.01048, allocations: 0 / 0.9557 GB, free: 6.402 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.88e-05/0.01054, allocations: 11.92 kB / 0.9557 GB, free: 6.391 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.01054, allocations: 0 / 0.9557 GB, free: 6.391 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/0.01055, allocations: 8 kB / 0.9557 GB, free: 6.383 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.01055, allocations: 0 / 0.9557 GB, free: 6.383 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.01055, allocations: 400 / 0.9557 GB, free: 6.383 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003369/0.01089, allocations: 207.4 kB / 0.9559 GB, free: 6.164 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.259e-05/0.0109, allocations: 7.938 kB / 0.9559 GB, free: 6.156 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.106e-05/0.01093, allocations: 12 kB / 0.956 GB, free: 6.145 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.592e-05/0.01101, allocations: 4 kB / 0.956 GB, free: 6.141 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.666e-05/0.01106, allocations: 7.969 kB / 0.956 GB, free: 6.133 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.255e-06/0.01107, allocations: 4 kB / 0.956 GB, free: 6.129 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.271e-05/0.01113, allocations: 91.27 kB / 0.9561 GB, free: 6.039 MB / 0.8575 GB Notification: Performance of sort global known variables: time 7e-08/0.01113, allocations: 0 / 0.9561 GB, free: 6.039 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000272/0.0114, allocations: 19.94 kB / 0.9561 GB, free: 6.02 MB / 0.8575 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.0001887/0.01159, allocations: 119.2 kB / 0.9562 GB, free: 5.891 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002843/0.01187, allocations: 71.89 kB / 0.9563 GB, free: 5.82 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.01188, allocations: 0 / 0.9563 GB, free: 5.82 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.000122/0.012, allocations: 35.97 kB / 0.9563 GB, free: 5.785 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002886/0.01229, allocations: 15.92 kB / 0.9563 GB, free: 5.77 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004267/0.01271, allocations: 165.3 kB / 0.9565 GB, free: 5.578 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.089e-05/0.01279, allocations: 71.78 kB / 0.9565 GB, free: 5.488 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.926e-05/0.01283, allocations: 7.984 kB / 0.9565 GB, free: 5.48 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.577e-05/0.01287, allocations: 12.5 kB / 0.9566 GB, free: 5.469 MB / 0.8575 GB Notification: Performance of SimCode: time 3.91e-07/0.01287, allocations: 0 / 0.9566 GB, free: 5.469 MB / 0.8575 GB Notification: Performance of Templates: time 0.004129/0.017, allocations: 1.026 MB / 0.9576 GB, free: 4.504 MB / 0.8575 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerPositiveStartTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.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.00800197571516]