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.001849/0.001849, allocations: 80.41 kB / 20.23 MB, free: 4.203 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.001877/0.001877, allocations: 161.7 kB / 23.55 MB, free: 0.8945 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 1.508/1.508, allocations: 177.1 MB / 203.9 MB, free: 5.598 MB / 186.7 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.746/2.746, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 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.184e-06/2.184e-06, allocations: 0.5469 kB / 0.7864 GB, free: 11.69 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.23e-05/3.448e-05, allocations: 3.562 kB / 0.7864 GB, free: 11.69 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.001998/0.002033, allocations: 0.7381 MB / 0.7871 GB, free: 10.97 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001686/0.003719, allocations: 1.09 MB / 0.7882 GB, free: 9.867 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.176e-05/0.00377, allocations: 0 / 0.7882 GB, free: 9.867 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 3.529e-05/0.003806, allocations: 4.781 kB / 0.7882 GB, free: 9.863 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 8.344e-05/0.003889, allocations: 15.88 kB / 0.7882 GB, free: 9.848 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003023/0.004191, allocations: 52.5 kB / 0.7882 GB, free: 9.797 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001373/0.004329, allocations: 76.52 kB / 0.7883 GB, free: 9.723 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.00444, allocations: 24.09 kB / 0.7883 GB, free: 9.695 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001155/0.004556, allocations: 36.52 kB / 0.7884 GB, free: 9.66 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 6.407e-05/0.00462, allocations: 27.91 kB / 0.7884 GB, free: 9.633 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.334e-05/0.004643, allocations: 4.688 kB / 0.7884 GB, free: 9.629 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 6.208e-05/0.004705, allocations: 21.2 kB / 0.7884 GB, free: 9.609 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.968e-05/0.004735, allocations: 15.92 kB / 0.7884 GB, free: 9.594 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 4.702e-05/0.004782, allocations: 19.98 kB / 0.7885 GB, free: 9.574 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001785/0.004961, allocations: 87.66 kB / 0.7885 GB, free: 9.488 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.075e-06/0.004964, allocations: 0.9062 kB / 0.7885 GB, free: 9.488 MB / 0.698 GB Notification: Performance of FrontEnd: time 8.82e-07/0.004965, allocations: 0 / 0.7885 GB, free: 9.488 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.004969, allocations: 0.5625 kB / 0.7885 GB, free: 9.488 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.0008762/0.005846, allocations: 314.9 kB / 0.7888 GB, free: 9.152 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.005881, allocations: 8.031 kB / 0.7889 GB, free: 9.145 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.526e-05/0.005936, allocations: 9.547 kB / 0.7889 GB, free: 9.137 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001284/0.006064, allocations: 113.8 kB / 0.789 GB, free: 9 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.659e-05/0.006081, allocations: 5.594 kB / 0.789 GB, free: 8.996 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.568e-05/0.006097, allocations: 4.375 kB / 0.789 GB, free: 8.992 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002182/0.006315, allocations: 75.72 kB / 0.7891 GB, free: 8.914 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.006323, allocations: 192 / 0.7891 GB, free: 8.914 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.332e-05/0.006337, allocations: 4.375 kB / 0.7891 GB, free: 8.91 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.11e-05/0.006348, allocations: 8.125 kB / 0.7891 GB, free: 8.902 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001922/0.00654, allocations: 45.17 kB / 0.7891 GB, free: 8.859 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006494/0.007189, allocations: 257.1 kB / 0.7894 GB, free: 8.578 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001788/0.007368, allocations: 52.14 kB / 0.7894 GB, free: 8.52 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001169/0.007485, allocations: 32.97 kB / 0.7894 GB, free: 8.484 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.784e-05/0.007513, allocations: 7.375 kB / 0.7894 GB, free: 8.48 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002384/0.007751, allocations: 79.33 kB / 0.7895 GB, free: 8.391 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.007752, allocations: 0 / 0.7895 GB, free: 8.391 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0004755/0.008228, allocations: 133.6 kB / 0.7896 GB, free: 8.254 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.701e-05/0.008285, allocations: 55.41 kB / 0.7897 GB, free: 8.188 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001319/0.008417, allocations: 121.8 kB / 0.7898 GB, free: 8.059 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.704e-05/0.008444, allocations: 30.42 kB / 0.7898 GB, free: 8.023 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.656e-05/0.00852, allocations: 93.8 kB / 0.7899 GB, free: 7.93 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.845e-05/0.008539, allocations: 7.906 kB / 0.7899 GB, free: 7.922 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.046e-05/0.008599, allocations: 33.7 kB / 0.79 GB, free: 7.883 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001826/0.008782, allocations: 318.8 kB / 0.7903 GB, free: 7.562 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001193/0.008901, allocations: 28.97 kB / 0.7903 GB, free: 7.535 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001661/0.009067, allocations: 78.36 kB / 0.7904 GB, free: 7.438 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000286/0.009353, allocations: 105.1 kB / 0.7905 GB, free: 7.316 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.009356, allocations: 1 kB / 0.7905 GB, free: 7.316 MB / 0.698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003652/0.009721, allocations: 144 kB / 0.7906 GB, free: 7.172 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.009739, allocations: 7.938 kB / 0.7906 GB, free: 7.164 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.009746, allocations: 4.312 kB / 0.7906 GB, free: 7.16 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.561e-05/0.009771, allocations: 4.469 kB / 0.7906 GB, free: 7.156 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001373/0.009909, allocations: 20.61 kB / 0.7907 GB, free: 7.137 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.009915, allocations: 0 / 0.7907 GB, free: 7.137 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.84e-05/0.01001, allocations: 24.41 kB / 0.7907 GB, free: 7.113 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.751e-05/0.01003, allocations: 8.766 kB / 0.7907 GB, free: 7.105 MB / 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 0.0001319/0.01016, allocations: 118.7 kB / 0.7908 GB, free: 6.98 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.671e-05/0.01019, allocations: 15.89 kB / 0.7908 GB, free: 6.965 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.655e-05/0.01023, allocations: 12.42 kB / 0.7908 GB, free: 6.953 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.01023, allocations: 0.5312 kB / 0.7908 GB, free: 6.953 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.01023, allocations: 1.375 kB / 0.7908 GB, free: 6.953 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.318e-06/0.01024, allocations: 3.984 kB / 0.7908 GB, free: 6.949 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005363/0.01078, allocations: 319.4 kB / 0.7911 GB, free: 6.602 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.01078, allocations: 0 / 0.7911 GB, free: 6.602 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.016e-05/0.01084, allocations: 7.984 kB / 0.7911 GB, free: 6.594 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.01084, allocations: 0.625 kB / 0.7911 GB, free: 6.594 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/0.01085, allocations: 4 kB / 0.7912 GB, free: 6.59 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.01086, allocations: 0.75 kB / 0.7912 GB, free: 6.59 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.01086, allocations: 0 / 0.7912 GB, free: 6.59 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003564/0.01121, allocations: 205.1 kB / 0.7913 GB, free: 6.375 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.253e-05/0.01124, allocations: 11.95 kB / 0.7914 GB, free: 6.363 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.541e-05/0.01125, allocations: 3.938 kB / 0.7914 GB, free: 6.359 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9e-05/0.01134, allocations: 13.2 kB / 0.7914 GB, free: 6.348 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.565e-05/0.01139, allocations: 4 kB / 0.7914 GB, free: 6.344 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.064e-05/0.0114, allocations: 4.828 kB / 0.7914 GB, free: 6.34 MB / 0.698 GB Notification: Performance of sorting global known variables: time 7.934e-05/0.01148, allocations: 91.28 kB / 0.7915 GB, free: 6.25 MB / 0.698 GB Notification: Performance of sort global known variables: time 9e-08/0.01148, allocations: 4 kB / 0.7915 GB, free: 6.246 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002657/0.01174, allocations: 22.14 kB / 0.7915 GB, free: 6.227 MB / 0.698 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.0001895/0.01193, allocations: 103.2 kB / 0.7916 GB, free: 6.117 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002981/0.01223, allocations: 74.97 kB / 0.7917 GB, free: 6.047 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.01223, allocations: 0 / 0.7917 GB, free: 6.047 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001214/0.01235, allocations: 35.92 kB / 0.7917 GB, free: 6.012 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002893/0.01264, allocations: 15.92 kB / 0.7917 GB, free: 5.996 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004282/0.01307, allocations: 162.4 kB / 0.7919 GB, free: 5.809 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.733e-05/0.01317, allocations: 75.81 kB / 0.7919 GB, free: 5.715 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.023e-05/0.01321, allocations: 4.562 kB / 0.7919 GB, free: 5.711 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.647e-05/0.01324, allocations: 17.81 kB / 0.792 GB, free: 5.695 MB / 0.698 GB Notification: Performance of SimCode: time 5.41e-07/0.01325, allocations: 0 / 0.792 GB, free: 5.695 MB / 0.698 GB Notification: Performance of Templates: time 0.004419/0.01766, allocations: 1.025 MB / 0.793 GB, free: 4.707 MB / 0.698 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: 7.751439454965293]