Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001447/0.001447, allocations: 78.72 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.001497/0.001497, allocations: 167.2 kB / 22.46 MB, free: 5.363 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.54/1.54, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.12/3.12, allocations: 377.8 MB / 0.6221 GB, free: 12.59 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.684e-06/1.684e-06, allocations: 0 / 0.9814 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.491e-05/2.659e-05, allocations: 2.281 kB / 0.9814 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.001845/0.001872, allocations: 0.7286 MB / 0.9822 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001695/0.003567, allocations: 1.096 MB / 0.9832 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.981e-05/0.003616, allocations: 3.938 kB / 0.9832 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.92e-05/0.003646, allocations: 3.938 kB / 0.9832 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.288e-05/0.003718, allocations: 15.88 kB / 0.9833 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003189/0.004037, allocations: 55.75 kB / 0.9833 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001236/0.004161, allocations: 71.77 kB / 0.9834 GB, free: 9.965 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.004262, allocations: 16.17 kB / 0.9834 GB, free: 9.945 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000101/0.004363, allocations: 39.91 kB / 0.9834 GB, free: 9.906 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.229e-05/0.004426, allocations: 27.95 kB / 0.9835 GB, free: 9.879 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.153e-05/0.004447, allocations: 4 kB / 0.9835 GB, free: 9.875 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 6.341e-05/0.00451, allocations: 12 kB / 0.9835 GB, free: 9.863 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.726e-05/0.004548, allocations: 23.91 kB / 0.9835 GB, free: 9.84 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.311e-05/0.004591, allocations: 27.86 kB / 0.9835 GB, free: 9.812 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001675/0.004758, allocations: 91.61 kB / 0.9836 GB, free: 9.723 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.00476, allocations: 0 / 0.9836 GB, free: 9.723 MB / 0.9356 GB Notification: Performance of FrontEnd: time 6.71e-07/0.004761, allocations: 0 / 0.9836 GB, free: 9.723 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 3.827e-06/0.004765, allocations: 0 / 0.9836 GB, free: 9.723 MB / 0.9356 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.0005445/0.005309, allocations: 302 kB / 0.9839 GB, free: 9.398 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.005346, allocations: 8.031 kB / 0.9839 GB, free: 9.391 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.935e-05/0.005386, allocations: 8.891 kB / 0.9839 GB, free: 9.383 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001205/0.005506, allocations: 125.7 kB / 0.984 GB, free: 9.234 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.644e-05/0.005523, allocations: 4.375 kB / 0.984 GB, free: 9.23 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.527e-05/0.005538, allocations: 8.375 kB / 0.984 GB, free: 9.223 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002325/0.005771, allocations: 78.16 kB / 0.9841 GB, free: 9.141 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.005779, allocations: 192 / 0.9841 GB, free: 9.141 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.005792, allocations: 4.359 kB / 0.9841 GB, free: 9.137 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.157e-06/0.005801, allocations: 4.125 kB / 0.9841 GB, free: 9.133 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001874/0.005988, allocations: 43.95 kB / 0.9842 GB, free: 9.09 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006106/0.006599, allocations: 252.5 kB / 0.9844 GB, free: 8.812 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001773/0.006776, allocations: 46.56 kB / 0.9845 GB, free: 8.758 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000107/0.006883, allocations: 32.95 kB / 0.9845 GB, free: 8.723 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.435e-05/0.006907, allocations: 3.938 kB / 0.9845 GB, free: 8.719 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000201/0.007108, allocations: 79.33 kB / 0.9846 GB, free: 8.629 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 1.453e-06/0.00711, allocations: 0 / 0.9846 GB, free: 8.629 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.0004523/0.007562, allocations: 137.6 kB / 0.9847 GB, free: 8.488 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.06e-05/0.007613, allocations: 51.41 kB / 0.9847 GB, free: 8.426 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001132/0.007726, allocations: 121.8 kB / 0.9849 GB, free: 8.297 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.745e-05/0.007753, allocations: 29.7 kB / 0.9849 GB, free: 8.262 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.441e-05/0.007828, allocations: 96.06 kB / 0.985 GB, free: 8.164 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.52e-05/0.007853, allocations: 15.84 kB / 0.985 GB, free: 8.148 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.475e-05/0.007908, allocations: 29.7 kB / 0.985 GB, free: 8.113 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002591/0.008167, allocations: 322.8 kB / 0.9853 GB, free: 7.789 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001129/0.00828, allocations: 23.98 kB / 0.9854 GB, free: 7.766 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001884/0.008468, allocations: 77.92 kB / 0.9854 GB, free: 7.668 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002537/0.008722, allocations: 105.9 kB / 0.9855 GB, free: 7.543 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.008724, allocations: 4 kB / 0.9855 GB, free: 7.539 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003377/0.009062, allocations: 137.4 kB / 0.9857 GB, free: 7.398 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.00908, allocations: 14.28 kB / 0.9857 GB, free: 7.387 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.009085, allocations: 0 / 0.9857 GB, free: 7.387 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.009101, allocations: 4 kB / 0.9857 GB, free: 7.383 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001296/0.009231, allocations: 20.14 kB / 0.9857 GB, free: 7.363 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.009237, allocations: 4 kB / 0.9857 GB, free: 7.359 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.064e-05/0.009327, allocations: 15.94 kB / 0.9857 GB, free: 7.344 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.632e-05/0.009364, allocations: 8 kB / 0.9857 GB, free: 7.336 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.0001064/0.00947, allocations: 117.8 kB / 0.9858 GB, free: 7.211 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.028e-05/0.00949, allocations: 11.89 kB / 0.9859 GB, free: 7.199 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.047e-05/0.009521, allocations: 8.438 kB / 0.9859 GB, free: 7.191 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.009524, allocations: 4 kB / 0.9859 GB, free: 7.188 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.00953, allocations: 0 / 0.9859 GB, free: 7.188 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.009536, allocations: 3.984 kB / 0.9859 GB, free: 7.184 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004778/0.01001, allocations: 314.1 kB / 0.9862 GB, free: 6.84 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.01002, allocations: 4 kB / 0.9862 GB, free: 6.836 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.423e-05/0.01007, allocations: 4 kB / 0.9862 GB, free: 6.832 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.638e-06/0.01007, allocations: 3.984 kB / 0.9862 GB, free: 6.828 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.072e-05/0.01009, allocations: 4 kB / 0.9862 GB, free: 6.824 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.01009, allocations: 0 / 0.9862 GB, free: 6.824 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.01009, allocations: 4 kB / 0.9862 GB, free: 6.82 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003258/0.01041, allocations: 203.4 kB / 0.9864 GB, free: 6.605 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 1.541e-05/0.01043, allocations: 15.88 kB / 0.9864 GB, free: 6.59 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.871e-05/0.01045, allocations: 4 kB / 0.9864 GB, free: 6.586 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.475e-05/0.01053, allocations: 4 kB / 0.9864 GB, free: 6.582 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.961e-05/0.01058, allocations: 11.98 kB / 0.9864 GB, free: 6.57 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.031e-06/0.01059, allocations: 3.938 kB / 0.9864 GB, free: 6.566 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.178e-05/0.01066, allocations: 99.27 kB / 0.9865 GB, free: 6.469 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/0.01066, allocations: 0 / 0.9865 GB, free: 6.469 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002577/0.01092, allocations: 12 kB / 0.9865 GB, free: 6.457 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.0001693/0.01109, allocations: 116.2 kB / 0.9866 GB, free: 6.336 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002902/0.01138, allocations: 72.36 kB / 0.9867 GB, free: 6.266 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.01138, allocations: 0 / 0.9867 GB, free: 6.266 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001252/0.0115, allocations: 35.91 kB / 0.9867 GB, free: 6.23 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002771/0.01178, allocations: 20.52 kB / 0.9868 GB, free: 6.211 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003908/0.01217, allocations: 157.6 kB / 0.9869 GB, free: 6.027 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.232e-05/0.01224, allocations: 71.58 kB / 0.987 GB, free: 5.938 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.696e-05/0.01228, allocations: 11.98 kB / 0.987 GB, free: 5.926 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.87e-05/0.01232, allocations: 16.5 kB / 0.987 GB, free: 5.906 MB / 0.9356 GB Notification: Performance of SimCode: time 6.81e-07/0.01232, allocations: 3.938 kB / 0.987 GB, free: 5.902 MB / 0.9356 GB Notification: Performance of Templates: time 0.004325/0.01665, allocations: 1.007 MB / 0.988 GB, free: 4.926 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTrigger.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.586690865457058]