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.001192/0.001192, allocations: 83.69 kB / 20.45 MB, free: 4.125 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.001168/0.001168, allocations: 169 kB / 23.82 MB, free: 0.7539 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 0.9874/0.9874, 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.725/1.725, 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 1.573e-06/1.573e-06, allocations: 0 / 0.7871 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.531e-05/1.688e-05, allocations: 3.281 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.001178/0.001195, allocations: 0.7577 MB / 0.7879 GB, free: 11.72 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0009889/0.002184, allocations: 1.132 MB / 0.789 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.05e-05/0.002224, allocations: 0.5625 kB / 0.789 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.848e-05/0.002253, allocations: 9.125 kB / 0.789 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.965e-05/0.002322, allocations: 7.938 kB / 0.789 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002693/0.002592, allocations: 53.38 kB / 0.789 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001005/0.002692, allocations: 75.72 kB / 0.7891 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.596e-05/0.002788, allocations: 20.16 kB / 0.7891 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 7.713e-05/0.002865, allocations: 31.97 kB / 0.7892 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.619e-05/0.002911, allocations: 27.89 kB / 0.7892 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.679e-05/0.002928, allocations: 9.219 kB / 0.7892 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 5.252e-05/0.002981, allocations: 19.98 kB / 0.7892 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.973e-05/0.003, allocations: 11.94 kB / 0.7892 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.036e-05/0.003031, allocations: 28.53 kB / 0.7892 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001167/0.003148, allocations: 63.73 kB / 0.7893 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.00315, allocations: 1.406 kB / 0.7893 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.51e-07/0.00315, allocations: 0 / 0.7893 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.828e-06/0.003154, 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.0003838/0.003538, allocations: 397.2 kB / 0.7897 GB, free: 9.805 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.003573, allocations: 8.031 kB / 0.7897 GB, free: 9.797 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.428e-05/0.003617, allocations: 13.45 kB / 0.7897 GB, free: 9.785 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000147/0.003764, allocations: 124.5 kB / 0.7898 GB, free: 9.637 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.658e-06/0.003774, allocations: 1.062 kB / 0.7898 GB, free: 9.637 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.188e-05/0.003786, allocations: 4.375 kB / 0.7898 GB, free: 9.633 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001163/0.003902, allocations: 75.83 kB / 0.7899 GB, free: 9.551 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.523e-06/0.003909, allocations: 192 / 0.7899 GB, free: 9.551 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.257e-06/0.003918, allocations: 1.031 kB / 0.7899 GB, free: 9.551 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.716e-06/0.003927, allocations: 8.125 kB / 0.7899 GB, free: 9.543 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.847e-05/0.003955, allocations: 9.531 kB / 0.7899 GB, free: 9.535 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003698/0.004325, allocations: 319.5 kB / 0.7902 GB, free: 9.188 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.247e-05/0.004407, allocations: 39.84 kB / 0.7903 GB, free: 9.137 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.252e-05/0.00443, allocations: 15.67 kB / 0.7903 GB, free: 9.117 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.736e-05/0.004447, allocations: 7.344 kB / 0.7903 GB, free: 9.113 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.951e-05/0.004517, allocations: 65.22 kB / 0.7903 GB, free: 9.035 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.363e-06/0.004518, allocations: 0 / 0.7903 GB, free: 9.035 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0001787/0.004697, allocations: 81.62 kB / 0.7904 GB, free: 8.949 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.299e-05/0.00473, allocations: 55.41 kB / 0.7905 GB, free: 8.883 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.336e-05/0.004813, allocations: 185.8 kB / 0.7907 GB, free: 8.684 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.212e-05/0.004825, allocations: 25.7 kB / 0.7907 GB, free: 8.652 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.873e-05/0.004874, allocations: 146.8 kB / 0.7908 GB, free: 8.504 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.833e-05/0.004892, allocations: 20.61 kB / 0.7908 GB, free: 8.484 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.507e-05/0.004927, allocations: 31.38 kB / 0.7909 GB, free: 8.445 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.972e-05/0.005027, allocations: 497.8 kB / 0.7913 GB, free: 7.949 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.518e-05/0.005052, allocations: 15.98 kB / 0.7914 GB, free: 7.934 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.951e-05/0.005102, allocations: 73.8 kB / 0.7914 GB, free: 7.832 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.479e-05/0.005177, allocations: 87.72 kB / 0.7915 GB, free: 7.719 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.005179, allocations: 4.5 kB / 0.7915 GB, free: 7.715 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001114/0.00529, allocations: 106.8 kB / 0.7916 GB, free: 7.605 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.005302, allocations: 4.531 kB / 0.7916 GB, free: 7.602 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.005307, allocations: 5.344 kB / 0.7916 GB, free: 7.598 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.005318, allocations: 0 / 0.7916 GB, free: 7.598 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.148e-05/0.0054, allocations: 23.92 kB / 0.7917 GB, free: 7.574 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.005405, allocations: 4.297 kB / 0.7917 GB, free: 7.57 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.22e-05/0.005437, allocations: 12.5 kB / 0.7917 GB, free: 7.559 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.979e-06/0.005447, allocations: 4.562 kB / 0.7917 GB, free: 7.555 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 6.153e-05/0.005509, allocations: 161.9 kB / 0.7918 GB, free: 7.387 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.131e-05/0.00552, allocations: 11.89 kB / 0.7918 GB, free: 7.375 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.139e-05/0.005541, allocations: 16.42 kB / 0.7919 GB, free: 7.363 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.005544, allocations: 4.594 kB / 0.7919 GB, free: 7.359 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.005547, allocations: 0 / 0.7919 GB, free: 7.359 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.00555, allocations: 1.469 kB / 0.7919 GB, free: 7.359 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002173/0.005767, allocations: 341.3 kB / 0.7922 GB, free: 6.984 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.005769, allocations: 0 / 0.7922 GB, free: 6.984 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.019e-05/0.005789, allocations: 5.125 kB / 0.7922 GB, free: 6.98 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.556e-06/0.005792, allocations: 4 kB / 0.7922 GB, free: 6.977 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.793e-06/0.005799, allocations: 0 / 0.7922 GB, free: 6.977 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.0058, allocations: 0.5312 kB / 0.7922 GB, free: 6.977 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.005801, allocations: 0 / 0.7922 GB, free: 6.977 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001031/0.005904, allocations: 232.3 kB / 0.7924 GB, free: 6.73 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.816e-06/0.005913, allocations: 16.78 kB / 0.7924 GB, free: 6.715 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.277e-06/0.005922, allocations: 0 / 0.7924 GB, free: 6.715 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.17e-05/0.005954, allocations: 4 kB / 0.7924 GB, free: 6.711 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.18e-05/0.005986, allocations: 8.766 kB / 0.7924 GB, free: 6.703 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.368e-06/0.00599, allocations: 4 kB / 0.7924 GB, free: 6.699 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.708e-05/0.006027, allocations: 135.7 kB / 0.7926 GB, free: 6.566 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.006027, allocations: 1.375 kB / 0.7926 GB, free: 6.566 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001588/0.006186, allocations: 12 kB / 0.7926 GB, free: 6.555 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.0001006/0.006287, allocations: 108 kB / 0.7927 GB, free: 6.438 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001085/0.006395, allocations: 56.42 kB / 0.7927 GB, free: 6.379 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.253e-06/0.006396, allocations: 0 / 0.7927 GB, free: 6.379 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.319e-05/0.006429, allocations: 28.94 kB / 0.7928 GB, free: 6.348 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001817/0.006611, allocations: 18.95 kB / 0.7928 GB, free: 6.332 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002644/0.006876, allocations: 164.4 kB / 0.7929 GB, free: 6.141 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.283e-05/0.006908, allocations: 57.67 kB / 0.793 GB, free: 6.066 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.251e-05/0.006931, 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 2.442e-05/0.006955, allocations: 24.44 kB / 0.793 GB, free: 6.035 MB / 0.7448 GB Notification: Performance of SimCode: time 3.91e-07/0.006956, allocations: 0 / 0.793 GB, free: 6.035 MB / 0.7448 GB Notification: Performance of Templates: time 0.002717/0.009673, allocations: 1.098 MB / 0.7941 GB, free: 5.016 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.021838518325239]