Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001407/0.001407, allocations: 106.4 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001429/0.001429, allocations: 189.9 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.418/1.418, allocations: 225.6 MB / 249.9 MB, free: 13.44 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.593/2.593, allocations: 443.5 MB / 0.7309 GB, free: 12.74 MB / 0.5919 GB [Timeout remaining time 87] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=521,variableFilter="time|samTri.y|triggeredSampler.u|triggeredSampler.y|samTri1.y|triggeredSampler1.u|triggeredSampler1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=521,variableFilter="time|samTri.y|triggeredSampler.u|triggeredSampler.y|samTri1.y|triggeredSampler1.u|triggeredSampler1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.002742/0.002742, allocations: 63.91 kB / 1.06 GB, free: 4.02 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7586/0.7614, allocations: 160.7 MB / 1.217 GB, free: 3.91 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.002127/0.7635, allocations: 0.7663 MB / 1.217 GB, free: 3.332 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001508/0.765, allocations: 1.071 MB / 1.218 GB, free: 2.469 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.066e-05/0.7651, allocations: 3.938 kB / 1.218 GB, free: 2.465 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.587e-05/0.7651, allocations: 5.406 kB / 1.218 GB, free: 2.461 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.756e-05/0.7652, allocations: 13.2 kB / 1.218 GB, free: 2.449 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000318/0.7655, allocations: 56.67 kB / 1.218 GB, free: 2.406 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001317/0.7656, allocations: 72.67 kB / 1.218 GB, free: 2.363 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.7657, allocations: 17.77 kB / 1.219 GB, free: 2.348 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 7.522e-05/0.7658, allocations: 25.86 kB / 1.219 GB, free: 2.332 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.745e-05/0.7659, allocations: 34.31 kB / 1.219 GB, free: 2.309 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.681e-05/0.7659, allocations: 4.875 kB / 1.219 GB, free: 2.309 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 7.789e-05/0.766, allocations: 28.19 kB / 1.219 GB, free: 2.293 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.521e-05/0.766, allocations: 15.48 kB / 1.219 GB, free: 2.281 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.066e-05/0.7661, allocations: 31.02 kB / 1.219 GB, free: 2.258 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001528/0.7662, allocations: 76.2 kB / 1.219 GB, free: 2.207 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.7662, allocations: 5.062 kB / 1.219 GB, free: 2.203 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.523e-06/0.7662, allocations: 0 / 1.219 GB, free: 2.203 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.7662, allocations: 3.938 kB / 1.219 GB, free: 2.199 MB / 0.92 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.0006107/0.7668, allocations: 381.9 kB / 1.219 GB, free: 1.805 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.824e-05/0.7669, allocations: 9.984 kB / 1.219 GB, free: 1.805 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.517e-05/0.7669, allocations: 13 kB / 1.219 GB, free: 1.797 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001569/0.7671, allocations: 180.1 kB / 1.219 GB, free: 1.586 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.052e-05/0.7671, allocations: 3.031 kB / 1.219 GB, free: 1.586 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.184e-05/0.7671, allocations: 11.91 kB / 1.219 GB, free: 1.578 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002114/0.7673, allocations: 69.81 kB / 1.219 GB, free: 1.523 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.7673, allocations: 7.875 kB / 1.219 GB, free: 1.516 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.7673, allocations: 0 / 1.219 GB, free: 1.516 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.217e-06/0.7673, allocations: 1.188 kB / 1.219 GB, free: 1.516 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00018/0.7675, allocations: 48.72 kB / 1.219 GB, free: 1.492 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006662/0.7682, allocations: 320.3 kB / 1.22 GB, free: 1.164 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001755/0.7684, allocations: 55.02 kB / 1.22 GB, free: 1.121 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001097/0.7685, allocations: 29.64 kB / 1.22 GB, free: 1.102 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.469e-05/0.7685, allocations: 0.8125 kB / 1.22 GB, free: 1.102 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000234/0.7687, allocations: 82.45 kB / 1.22 GB, free: 1.027 MB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 1.402e-06/0.7687, allocations: 0 / 1.22 GB, free: 1.027 MB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.0004262/0.7692, allocations: 124.4 kB / 1.22 GB, free: 0.957 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.907e-05/0.7692, allocations: 61.78 kB / 1.22 GB, free: 0.8867 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001175/0.7693, allocations: 120.9 kB / 1.22 GB, free: 0.7734 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.454e-05/0.7694, allocations: 33.7 kB / 1.22 GB, free: 0.7344 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.782e-05/0.7694, allocations: 91.38 kB / 1.22 GB, free: 0.6445 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.512e-05/0.7694, allocations: 18.81 kB / 1.22 GB, free: 0.6289 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.424e-05/0.7695, allocations: 27.02 kB / 1.22 GB, free: 0.6055 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000155/0.7697, allocations: 323.9 kB / 1.221 GB, free: 288 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000114/0.7698, allocations: 32.91 kB / 1.221 GB, free: 272 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001418/0.7699, allocations: 77.8 kB / 1.221 GB, free: 192 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002464/0.7702, allocations: 112.2 kB / 1.221 GB, free: 96 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.7702, allocations: 0 / 1.221 GB, free: 96 kB / 0.92 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003096/0.7705, allocations: 125.6 kB / 1.221 GB, free: 20 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.7705, allocations: 9.781 kB / 1.221 GB, free: 16 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.635e-06/0.7705, allocations: 5.266 kB / 1.221 GB, free: 12 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.7705, allocations: 2.688 kB / 1.221 GB, free: 12 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001431/0.7707, allocations: 24.02 kB / 1.221 GB, free: 0 / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.7707, allocations: 2.531 kB / 1.221 GB, free: 0 / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001106/0.7708, allocations: 17.3 kB / 1.221 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.379e-05/0.7708, allocations: 5.5 kB / 1.221 GB, free: 15.98 MB / 0.9356 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.0001083/0.7709, allocations: 120 kB / 1.221 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.572e-05/0.7709, allocations: 10.58 kB / 1.221 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.813e-05/0.7709, allocations: 9.688 kB / 1.221 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.7709, allocations: 1.188 kB / 1.221 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.7709, allocations: 1.219 kB / 1.221 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.7709, allocations: 3.938 kB / 1.221 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000507/0.7715, allocations: 376.7 kB / 1.222 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.7715, allocations: 0 / 1.222 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.461e-05/0.7715, allocations: 13.55 kB / 1.222 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.7715, allocations: 0.9062 kB / 1.222 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/0.7715, allocations: 9.125 kB / 1.222 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.7715, allocations: 3.938 kB / 1.222 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.7715, allocations: 0.9062 kB / 1.222 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000302/0.7718, allocations: 201.8 kB / 1.222 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.637e-05/0.7719, allocations: 86.34 kB / 1.222 GB, free: 15.19 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.646e-05/0.7719, allocations: 1.25 kB / 1.222 GB, free: 15.19 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.88e-05/0.772, allocations: 11.36 kB / 1.222 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.025e-05/0.772, allocations: 3.375 kB / 1.222 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.097e-05/0.7721, allocations: 9.109 kB / 1.222 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.842e-05/0.7721, allocations: 88.81 kB / 1.222 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9e-08/0.7721, allocations: 0 / 1.222 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002584/0.7724, allocations: 17.86 kB / 1.222 GB, free: 15.09 MB / 0.9356 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.0001837/0.7726, allocations: 115.8 kB / 1.222 GB, free: 14.99 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002969/0.7729, allocations: 79.52 kB / 1.222 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.7729, allocations: 0 / 1.222 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001112/0.773, allocations: 27.11 kB / 1.222 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002711/0.7732, allocations: 13.77 kB / 1.222 GB, free: 14.94 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004073/0.7736, allocations: 197 kB / 1.222 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003389/0.774, allocations: 0.689 MB / 1.223 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.615e-05/0.774, allocations: 11.69 kB / 1.223 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of SimCode: time 3.11e-07/0.774, allocations: 0 / 1.223 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of Templates: time 0.003155/0.7772, allocations: 1.054 MB / 1.224 GB, free: 13.51 MB / 0.9356 GB [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTrigger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] [Timeout remaining time 300] "" Variables in the reference:time,samTri.y,triggeredSampler.u,triggeredSampler.y,samTri1.y,triggeredSampler1.u,triggeredSampler1.y Variables in the result:samTri.y,samTri1.y,time,triggeredSampler.u,triggeredSampler.y,triggeredSampler1.u,triggeredSampler1.y