Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.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.001863/0.001863, allocations: 79.86 kB / 19.18 MB, free: 2.527 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.002228/0.002228, allocations: 163.8 kB / 22.46 MB, free: 5.359 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.599/1.599, allocations: 177.1 MB / 202.8 MB, free: 9.18 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.782/2.782, allocations: 359 MB / 0.6037 GB, free: 14.99 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.SampleTrigger,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.SampleTrigger") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger,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.SampleTrigger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.725e-06/2.725e-06, allocations: 0 / 0.951 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 5.356e-05/5.629e-05, allocations: 13.11 kB / 0.951 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.00208/0.002136, allocations: 0.7325 MB / 0.9517 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001952/0.004088, allocations: 1.085 MB / 0.9528 GB, free: 9.723 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.7e-05/0.004165, allocations: 0 / 0.9528 GB, free: 9.723 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.785e-05/0.004203, allocations: 11.86 kB / 0.9528 GB, free: 9.711 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001063/0.004309, allocations: 23.8 kB / 0.9528 GB, free: 9.688 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004405/0.00475, allocations: 43.83 kB / 0.9528 GB, free: 9.645 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000141/0.004891, allocations: 71.77 kB / 0.9529 GB, free: 9.574 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001219/0.005013, allocations: 16.19 kB / 0.9529 GB, free: 9.555 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001239/0.005136, allocations: 43.89 kB / 0.953 GB, free: 9.512 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.977e-05/0.005196, allocations: 23.91 kB / 0.953 GB, free: 9.488 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.175e-05/0.005218, allocations: 8 kB / 0.953 GB, free: 9.48 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 7.257e-05/0.005291, allocations: 23.97 kB / 0.953 GB, free: 9.457 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.986e-05/0.00532, allocations: 15.92 kB / 0.953 GB, free: 9.441 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.115e-05/0.005372, allocations: 23.92 kB / 0.9531 GB, free: 9.418 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001845/0.005556, allocations: 83.72 kB / 0.9531 GB, free: 9.336 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.00556, allocations: 0 / 0.9531 GB, free: 9.336 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.022e-06/0.005561, allocations: 0 / 0.9531 GB, free: 9.336 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.005566, allocations: 0 / 0.9531 GB, free: 9.336 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.0006202/0.006187, allocations: 311.9 kB / 0.9534 GB, free: 9.004 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.006229, allocations: 15.98 kB / 0.9534 GB, free: 8.988 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.272e-05/0.006292, allocations: 4.938 kB / 0.9534 GB, free: 8.984 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001304/0.006422, allocations: 113.7 kB / 0.9536 GB, free: 8.848 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.729e-05/0.006439, allocations: 4.375 kB / 0.9536 GB, free: 8.844 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.726e-05/0.006457, allocations: 12.3 kB / 0.9536 GB, free: 8.832 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002196/0.006676, allocations: 62.23 kB / 0.9536 GB, free: 8.766 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.006686, allocations: 192 / 0.9536 GB, free: 8.766 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.006697, allocations: 4.375 kB / 0.9536 GB, free: 8.762 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.006704, allocations: 8.062 kB / 0.9536 GB, free: 8.754 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001958/0.006899, allocations: 47.95 kB / 0.9537 GB, free: 8.707 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006525/0.007552, allocations: 260.3 kB / 0.9539 GB, free: 8.422 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002008/0.007753, allocations: 50.55 kB / 0.954 GB, free: 8.363 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000113/0.007866, allocations: 28.95 kB / 0.954 GB, free: 8.332 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.754e-05/0.007893, allocations: 3.938 kB / 0.954 GB, free: 8.328 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002657/0.008159, allocations: 87.39 kB / 0.9541 GB, free: 8.23 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.433e-06/0.00816, allocations: 0 / 0.9541 GB, free: 8.23 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.000472/0.008632, allocations: 125.6 kB / 0.9542 GB, free: 8.102 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.782e-05/0.00869, allocations: 55.39 kB / 0.9543 GB, free: 8.035 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001204/0.008811, allocations: 125.8 kB / 0.9544 GB, free: 7.902 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.437e-05/0.008835, allocations: 25.7 kB / 0.9544 GB, free: 7.871 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.402e-05/0.008909, allocations: 92.12 kB / 0.9545 GB, free: 7.777 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.616e-05/0.008935, allocations: 23.89 kB / 0.9545 GB, free: 7.754 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.067e-05/0.008996, allocations: 33.64 kB / 0.9546 GB, free: 7.715 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.009136, allocations: 314.8 kB / 0.9549 GB, free: 7.398 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001223/0.009259, allocations: 31.97 kB / 0.9549 GB, free: 7.367 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001546/0.009413, allocations: 73.92 kB / 0.955 GB, free: 7.273 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002619/0.009675, allocations: 109.9 kB / 0.9551 GB, free: 7.145 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.009677, allocations: 0 / 0.9551 GB, free: 7.145 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003534/0.01003, allocations: 137.5 kB / 0.9552 GB, free: 7.004 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.01005, allocations: 4 kB / 0.9552 GB, free: 7 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.01005, allocations: 4 kB / 0.9552 GB, free: 6.996 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.01007, allocations: 4 kB / 0.9552 GB, free: 6.992 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001366/0.01021, allocations: 23.97 kB / 0.9552 GB, free: 6.969 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.01022, allocations: 0 / 0.9552 GB, free: 6.969 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.222e-05/0.01031, allocations: 15.89 kB / 0.9552 GB, free: 6.953 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.849e-05/0.01033, allocations: 7.984 kB / 0.9553 GB, free: 6.945 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.0001086/0.01043, allocations: 117.8 kB / 0.9554 GB, free: 6.82 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.008e-05/0.01045, allocations: 20 kB / 0.9554 GB, free: 6.801 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.675e-05/0.01048, allocations: 4.438 kB / 0.9554 GB, free: 6.797 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.01049, allocations: 4 kB / 0.9554 GB, free: 6.793 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.01049, allocations: 0 / 0.9554 GB, free: 6.793 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.01049, allocations: 0 / 0.9554 GB, free: 6.793 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000504/0.011, allocations: 314.4 kB / 0.9557 GB, free: 6.449 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/0.011, allocations: 3.984 kB / 0.9557 GB, free: 6.445 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.919e-05/0.01106, allocations: 8 kB / 0.9557 GB, free: 6.438 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.01107, allocations: 0 / 0.9557 GB, free: 6.438 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.796e-06/0.01107, allocations: 4 kB / 0.9557 GB, free: 6.434 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.01108, allocations: 0 / 0.9557 GB, free: 6.434 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.01108, allocations: 3.984 kB / 0.9557 GB, free: 6.43 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003468/0.01143, allocations: 219.4 kB / 0.9559 GB, free: 6.199 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.394e-05/0.01144, allocations: 7.953 kB / 0.9559 GB, free: 6.191 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.86e-05/0.01146, allocations: 4 kB / 0.9559 GB, free: 6.188 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.795e-05/0.01156, allocations: 11.92 kB / 0.9559 GB, free: 6.176 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.769e-05/0.0116, allocations: 7.984 kB / 0.956 GB, free: 6.168 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.77e-06/0.01161, allocations: 4 kB / 0.956 GB, free: 6.164 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.054e-05/0.01168, allocations: 95.92 kB / 0.956 GB, free: 6.07 MB / 0.8575 GB Notification: Performance of sort global known variables: time 7e-08/0.01168, allocations: 0 / 0.956 GB, free: 6.07 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002701/0.01195, allocations: 19.94 kB / 0.9561 GB, free: 6.051 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.0001789/0.01213, allocations: 107.2 kB / 0.9562 GB, free: 5.934 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002938/0.01242, allocations: 71.88 kB / 0.9562 GB, free: 5.863 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.01242, allocations: 4.438 kB / 0.9562 GB, free: 5.859 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001246/0.01255, allocations: 39.91 kB / 0.9563 GB, free: 5.82 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002835/0.01283, allocations: 12.27 kB / 0.9563 GB, free: 5.809 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004326/0.01327, allocations: 157.5 kB / 0.9564 GB, free: 5.625 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.7e-05/0.01334, allocations: 71.33 kB / 0.9565 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.469e-05/0.01338, allocations: 4 kB / 0.9565 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.621e-05/0.01341, allocations: 20.48 kB / 0.9565 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of SimCode: time 5.61e-07/0.01341, allocations: 4 kB / 0.9565 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of Templates: time 0.004199/0.01761, allocations: 1.026 MB / 0.9575 GB, free: 4.508 MB / 0.8575 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTrigger.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.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.211578823626041]