Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001195/0.001195, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002081/0.003276, allocations: 435.8 kB / 10.33 MB, free: 368 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.001287/0.001287, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001722/0.003009, 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.9703/0.9703, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09826/1.069, 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.388/2.388, allocations: 446.7 MB / 0.6745 GB, free: 6.199 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.3266/2.715, allocations: 145.9 MB / 0.817 GB, free: 4.207 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.SampleTrigger,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.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_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.695e-06/2.695e-06, allocations: 0 / 0.8183 GB, free: 2.898 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.592e-05/3.861e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.895 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.002315/0.002354, allocations: 0.8019 MB / 0.8191 GB, free: 2.09 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.004979/0.007332, allocations: 1.12 MB / 0.8202 GB, free: 0.957 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.865e-05/0.007411, allocations: 3.938 kB / 0.8202 GB, free: 0.9531 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 4.827e-05/0.007459, allocations: 7.938 kB / 0.8202 GB, free: 0.9453 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 8.863e-05/0.007548, allocations: 15.86 kB / 0.8202 GB, free: 0.9297 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003923/0.00794, allocations: 59.69 kB / 0.8203 GB, free: 0.8711 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001882/0.008128, allocations: 71.72 kB / 0.8203 GB, free: 0.8008 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001487/0.008277, allocations: 8.188 kB / 0.8203 GB, free: 0.7891 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001722/0.008449, allocations: 55.88 kB / 0.8204 GB, free: 0.7344 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 8.334e-05/0.008533, allocations: 19.97 kB / 0.8204 GB, free: 0.7148 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 3.191e-05/0.008565, allocations: 11.94 kB / 0.8204 GB, free: 0.7031 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001324/0.008697, allocations: 19.98 kB / 0.8204 GB, free: 0.6836 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 2.874e-05/0.008726, allocations: 8 kB / 0.8204 GB, free: 0.6758 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 4.194e-05/0.008768, allocations: 19.94 kB / 0.8205 GB, free: 0.6562 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.003211/0.01198, allocations: 51.83 kB / 0.8205 GB, free: 0.6055 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 2.637e-05/0.01201, allocations: 0 / 0.8205 GB, free: 0.6055 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.924e-06/0.01201, allocations: 0 / 0.8205 GB, free: 0.6055 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 2.359e-05/0.01203, 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.0005763/0.01261, allocations: 292.3 kB / 0.8208 GB, free: 304 kB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/0.01265, allocations: 8.625 kB / 0.8208 GB, free: 296 kB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.562e-05/0.0127, allocations: 8.938 kB / 0.8208 GB, free: 288 kB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001348/0.01284, allocations: 125.7 kB / 0.8209 GB, free: 136 kB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.757e-05/0.01285, allocations: 4.375 kB / 0.8209 GB, free: 132 kB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.713e-05/0.01287, allocations: 12.38 kB / 0.8209 GB, free: 120 kB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001529/0.01302, allocations: 58.94 kB / 0.821 GB, free: 52 kB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.01303, allocations: 192 / 0.821 GB, free: 52 kB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.01304, allocations: 8.312 kB / 0.821 GB, free: 44 kB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.01305, allocations: 4.125 kB / 0.821 GB, free: 40 kB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.075e-05/0.01308, allocations: 11.98 kB / 0.821 GB, free: 28 kB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004574/0.01354, allocations: 184.2 kB / 0.8212 GB, free: 15.83 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000108/0.01365, allocations: 38.55 kB / 0.8212 GB, free: 15.79 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.356e-05/0.01367, allocations: 12.86 kB / 0.8213 GB, free: 15.77 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 3.24e-05/0.0137, allocations: 11.98 kB / 0.8213 GB, free: 15.76 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001494/0.01385, allocations: 59.31 kB / 0.8213 GB, free: 15.69 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=7): time 3.667e-06/0.01386, allocations: 0 / 0.8213 GB, free: 15.69 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7): time 0.0001987/0.01406, allocations: 61.75 kB / 0.8214 GB, free: 15.62 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.279e-05/0.01412, allocations: 55.41 kB / 0.8214 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001096/0.01423, allocations: 122.7 kB / 0.8215 GB, free: 15.42 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.944e-05/0.01425, allocations: 29.7 kB / 0.8216 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.482e-05/0.0143, allocations: 92.08 kB / 0.8217 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.463e-05/0.01433, allocations: 15.89 kB / 0.8217 GB, free: 15.28 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.114e-05/0.01438, allocations: 29.69 kB / 0.8217 GB, free: 15.24 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.01449, allocations: 322.8 kB / 0.822 GB, free: 14.92 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.99e-05/0.01452, allocations: 7.984 kB / 0.822 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.067e-05/0.01458, allocations: 54 kB / 0.8221 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00138/0.01596, allocations: 69.86 kB / 0.8221 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-06/0.01596, allocations: 0 / 0.8221 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001915/0.01616, allocations: 81.55 kB / 0.8222 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.525e-05/0.01618, allocations: 7.938 kB / 0.8222 GB, free: 14.65 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.238e-05/0.01619, allocations: 7.984 kB / 0.8222 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/0.01621, allocations: 0 / 0.8222 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001936/0.01641, allocations: 27.91 kB / 0.8223 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.01641, allocations: 4 kB / 0.8223 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.385e-05/0.01648, allocations: 8.156 kB / 0.8223 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.734e-05/0.01649, allocations: 12 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 0.0001327/0.01663, allocations: 121.7 kB / 0.8224 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.702e-05/0.01665, allocations: 11.94 kB / 0.8224 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.107e-05/0.01669, allocations: 4.438 kB / 0.8224 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.0167, allocations: 4 kB / 0.8224 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.0167, allocations: 0 / 0.8224 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.73e-06/0.01671, allocations: 0 / 0.8224 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003627/0.01707, allocations: 218.8 kB / 0.8226 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/0.01708, allocations: 7.875 kB / 0.8226 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.905e-05/0.01715, allocations: 8 kB / 0.8226 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.768e-05/0.01716, allocations: 11.94 kB / 0.8227 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.01717, allocations: 0 / 0.8227 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-06/0.01718, allocations: 4 kB / 0.8227 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.01718, allocations: 0 / 0.8227 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.01718, allocations: 400 / 0.8227 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001482/0.01733, allocations: 159.4 kB / 0.8228 GB, free: 14 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.544e-05/0.01735, allocations: 0 / 0.8228 GB, free: 14 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.324e-05/0.01742, allocations: 4 kB / 0.8228 GB, free: 14 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.947e-05/0.01747, allocations: 11.98 kB / 0.8228 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.534e-06/0.01748, allocations: 0 / 0.8228 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 3.524e-05/0.01751, allocations: 25.38 kB / 0.8229 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.01751, allocations: 4 kB / 0.8229 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002619/0.01778, allocations: 15.94 kB / 0.8229 GB, free: 13.94 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.0002191/0.01799, allocations: 88.41 kB / 0.823 GB, free: 13.85 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001402/0.01813, allocations: 40.77 kB / 0.823 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 8.055e-06/0.01814, allocations: 0 / 0.823 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 4.471e-05/0.01819, allocations: 20.8 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.0002928/0.01848, allocations: 32.36 kB / 0.823 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006875/0.01917, allocations: 153.2 kB / 0.8232 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.832e-05/0.01923, allocations: 63.2 kB / 0.8233 GB, free: 13.49 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.56e-05/0.01927, allocations: 4 kB / 0.8233 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.292e-05/0.01935, allocations: 67.36 kB / 0.8233 GB, free: 13.42 MB / 0.8073 GB Notification: Performance of SimCode: time 1.453e-06/0.01936, allocations: 3.938 kB / 0.8233 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of Templates: time 0.004918/0.02427, allocations: 1.086 MB / 0.8244 GB, free: 12.35 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.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.429291163571179]