Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.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.001553/0.001553, allocations: 83.59 kB / 20.45 MB, free: 4.121 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.00197/0.00197, allocations: 165 kB / 23.82 MB, free: 0.7461 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.047/1.047, allocations: 177.1 MB / 204.2 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] 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 1.809/1.809, allocations: 359 MB / 0.6052 GB, free: 11.02 MB / 0.573 GB " [Timeout remaining time 178] 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.SampleTriggerPositiveStartTime,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.SampleTriggerPositiveStartTime") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime,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.SampleTriggerPositiveStartTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.314e-06/2.314e-06, allocations: 0 / 0.7871 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.451e-05/2.682e-05, allocations: 6.641 kB / 0.7871 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.002023/0.002049, allocations: 0.7634 MB / 0.7879 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00162/0.003669, allocations: 1.116 MB / 0.7889 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.22e-05/0.003732, allocations: 8.688 kB / 0.789 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4e-05/0.003772, allocations: 3.938 kB / 0.789 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.992e-05/0.003862, allocations: 12.62 kB / 0.789 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003544/0.004216, allocations: 60.3 kB / 0.789 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001279/0.004344, allocations: 72.41 kB / 0.7891 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001258/0.00447, allocations: 16.11 kB / 0.7891 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 9.988e-05/0.00457, allocations: 45.3 kB / 0.7892 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.608e-05/0.004626, allocations: 23.91 kB / 0.7892 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.965e-05/0.004645, allocations: 4 kB / 0.7892 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.995e-05/0.004725, allocations: 21.02 kB / 0.7892 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.365e-05/0.004749, allocations: 11.98 kB / 0.7892 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.553e-05/0.004784, allocations: 23.92 kB / 0.7892 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001393/0.004924, allocations: 65.03 kB / 0.7893 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.004926, allocations: 0 / 0.7893 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.132e-06/0.004927, allocations: 0 / 0.7893 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.004932, allocations: 0 / 0.7893 GB, free: 10.23 MB / 0.7448 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.0004504/0.005382, allocations: 401.8 kB / 0.7897 GB, free: 9.801 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.005423, allocations: 11.97 kB / 0.7897 GB, free: 9.789 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.701e-05/0.00547, allocations: 12.89 kB / 0.7897 GB, free: 9.777 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.714e-05/0.005567, allocations: 121.6 kB / 0.7898 GB, free: 9.633 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.911e-05/0.005586, allocations: 8.375 kB / 0.7898 GB, free: 9.625 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.81e-05/0.005604, allocations: 4.375 kB / 0.7898 GB, free: 9.621 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001378/0.005742, allocations: 67.88 kB / 0.7899 GB, free: 9.547 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.005752, allocations: 192 / 0.7899 GB, free: 9.547 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.005763, allocations: 5.469 kB / 0.7899 GB, free: 9.543 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.045e-05/0.005774, allocations: 8.062 kB / 0.7899 GB, free: 9.535 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.605e-05/0.00581, allocations: 15.97 kB / 0.7899 GB, free: 9.52 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004128/0.006223, allocations: 305.2 kB / 0.7902 GB, free: 9.188 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.937e-05/0.006312, allocations: 47.08 kB / 0.7903 GB, free: 9.129 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.41e-05/0.006336, allocations: 12.97 kB / 0.7903 GB, free: 9.113 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.664e-05/0.006363, allocations: 11.92 kB / 0.7903 GB, free: 9.102 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.343e-05/0.006436, allocations: 61.17 kB / 0.7903 GB, free: 9.027 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.092e-06/0.006437, allocations: 2.969 kB / 0.7903 GB, free: 9.027 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0001887/0.006626, allocations: 89.56 kB / 0.7904 GB, free: 8.934 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.759e-05/0.006663, allocations: 51.41 kB / 0.7905 GB, free: 8.871 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.959e-05/0.006753, allocations: 177.9 kB / 0.7907 GB, free: 8.68 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.392e-05/0.006767, allocations: 33.7 kB / 0.7907 GB, free: 8.641 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.299e-05/0.00682, allocations: 134.8 kB / 0.7908 GB, free: 8.504 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.81e-05/0.006838, allocations: 19.84 kB / 0.7908 GB, free: 8.484 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.821e-05/0.006876, allocations: 31.36 kB / 0.7909 GB, free: 8.445 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001136/0.00699, allocations: 0.493 MB / 0.7913 GB, free: 7.941 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.842e-05/0.007018, allocations: 12 kB / 0.7914 GB, free: 7.93 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.941e-05/0.007068, allocations: 67.45 kB / 0.7914 GB, free: 7.836 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.052e-05/0.007148, allocations: 103.4 kB / 0.7915 GB, free: 7.707 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.00715, allocations: 0 / 0.7915 GB, free: 7.707 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001194/0.00727, allocations: 100.2 kB / 0.7916 GB, free: 7.605 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.007283, allocations: 5.875 kB / 0.7916 GB, free: 7.602 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.007287, allocations: 0 / 0.7916 GB, free: 7.602 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.007304, allocations: 4 kB / 0.7916 GB, free: 7.598 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.953e-05/0.007393, allocations: 25.61 kB / 0.7916 GB, free: 7.574 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.0074, allocations: 4 kB / 0.7917 GB, free: 7.57 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.141e-05/0.007431, allocations: 7.984 kB / 0.7917 GB, free: 7.562 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.136e-05/0.007443, allocations: 4 kB / 0.7917 GB, free: 7.559 MB / 0.7448 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 7.747e-05/0.00752, allocations: 169.4 kB / 0.7918 GB, free: 7.383 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.014e-05/0.00753, allocations: 11.89 kB / 0.7918 GB, free: 7.371 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.76e-05/0.007558, allocations: 12.97 kB / 0.7918 GB, free: 7.363 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.007559, allocations: 0.6875 kB / 0.7918 GB, free: 7.363 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.007564, allocations: 3.984 kB / 0.7919 GB, free: 7.359 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.007568, allocations: 0.5312 kB / 0.7919 GB, free: 7.359 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002306/0.007798, allocations: 342.6 kB / 0.7922 GB, free: 6.984 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.0078, allocations: 0 / 0.7922 GB, free: 6.984 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.534e-05/0.007825, allocations: 11.92 kB / 0.7922 GB, free: 6.973 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.002e-06/0.007826, allocations: 0 / 0.7922 GB, free: 6.973 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.007836, allocations: 0.5312 kB / 0.7922 GB, free: 6.973 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.007839, allocations: 9.375 kB / 0.7922 GB, free: 6.965 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.00784, allocations: 0 / 0.7922 GB, free: 6.965 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000118/0.007958, allocations: 227.8 kB / 0.7924 GB, free: 6.723 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.766e-06/0.007966, allocations: 7.953 kB / 0.7924 GB, free: 6.715 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.005e-05/0.007976, allocations: 1.156 kB / 0.7924 GB, free: 6.715 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.117e-05/0.008008, allocations: 0 / 0.7924 GB, free: 6.715 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.654e-05/0.008044, allocations: 7.984 kB / 0.7924 GB, free: 6.707 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.181e-06/0.00805, allocations: 9.125 kB / 0.7924 GB, free: 6.699 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.382e-05/0.008094, allocations: 135.1 kB / 0.7926 GB, free: 6.566 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.008094, allocations: 0 / 0.7926 GB, free: 6.566 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001643/0.008258, allocations: 16.81 kB / 0.7926 GB, free: 6.551 MB / 0.7448 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.0001255/0.008384, allocations: 104.2 kB / 0.7927 GB, free: 6.438 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001298/0.008514, allocations: 44.95 kB / 0.7927 GB, free: 6.391 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.008515, allocations: 0 / 0.7927 GB, free: 6.391 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.87e-05/0.008554, allocations: 32.95 kB / 0.7928 GB, free: 6.355 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001979/0.008752, allocations: 17.2 kB / 0.7928 GB, free: 6.344 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002993/0.009051, allocations: 170.6 kB / 0.7929 GB, free: 6.145 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.122e-05/0.009092, allocations: 59.36 kB / 0.793 GB, free: 6.066 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.253e-05/0.009115, allocations: 7.984 kB / 0.793 GB, free: 6.059 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.502e-05/0.00915, allocations: 13.16 kB / 0.793 GB, free: 6.047 MB / 0.7448 GB Notification: Performance of SimCode: time 7.11e-07/0.00915, allocations: 3.438 kB / 0.793 GB, free: 6.047 MB / 0.7448 GB Notification: Performance of Templates: time 0.002948/0.0121, allocations: 1.045 MB / 0.794 GB, free: 5.078 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerPositiveStartTime.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.381292697973549]