Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.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.001059/0.001059, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.00149/0.00149, allocations: 173.3 kB / 23.49 MB, free: 1.062 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.029/1.029, allocations: 177.1 MB / 203.8 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.132/2.132, allocations: 429.5 MB / 0.6736 GB, free: 4.039 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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.SampleTriggerNegativeStartTime,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.SampleTriggerNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime,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.SampleTriggerNegativeStartTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 0.8782 GB, free: 5.484 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.125e-05/2.328e-05, allocations: 2.312 kB / 0.8782 GB, free: 5.48 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.001933/0.001956, allocations: 0.7633 MB / 0.8789 GB, free: 4.742 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001522/0.003479, allocations: 1.126 MB / 0.88 GB, free: 3.605 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.303e-05/0.003532, allocations: 1.344 kB / 0.8801 GB, free: 3.605 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.86e-05/0.00356, allocations: 8.375 kB / 0.8801 GB, free: 3.598 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 7.219e-05/0.003633, allocations: 11.86 kB / 0.8801 GB, free: 3.586 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002785/0.003911, allocations: 60.5 kB / 0.8801 GB, free: 3.527 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001097/0.004021, allocations: 71.78 kB / 0.8802 GB, free: 3.457 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 9.778e-05/0.004119, allocations: 16.83 kB / 0.8802 GB, free: 3.438 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001047/0.004223, allocations: 48.55 kB / 0.8803 GB, free: 3.391 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 5.034e-05/0.004274, allocations: 19.97 kB / 0.8803 GB, free: 3.371 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.784e-05/0.004292, allocations: 7 kB / 0.8803 GB, free: 3.367 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 6.106e-05/0.004353, allocations: 19.97 kB / 0.8803 GB, free: 3.348 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 2.77e-05/0.00438, allocations: 19.92 kB / 0.8803 GB, free: 3.328 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 3.925e-05/0.00442, allocations: 15.94 kB / 0.8803 GB, free: 3.312 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001404/0.00456, allocations: 67.72 kB / 0.8804 GB, free: 3.246 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.004562, allocations: 3.938 kB / 0.8804 GB, free: 3.242 MB / 0.7917 GB Notification: Performance of FrontEnd: time 8.02e-07/0.004563, allocations: 0 / 0.8804 GB, free: 3.242 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 4.479e-06/0.004567, allocations: 0 / 0.8804 GB, free: 3.242 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.0004769/0.005044, allocations: 398 kB / 0.8808 GB, free: 2.82 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.005089, allocations: 12.03 kB / 0.8808 GB, free: 2.809 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.888e-05/0.005138, allocations: 12.89 kB / 0.8808 GB, free: 2.797 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000113/0.005251, allocations: 116.6 kB / 0.8809 GB, free: 2.656 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.005265, allocations: 5.906 kB / 0.8809 GB, free: 2.652 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.506e-05/0.00528, allocations: 8.375 kB / 0.8809 GB, free: 2.645 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001533/0.005433, allocations: 66.88 kB / 0.881 GB, free: 2.57 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.455e-06/0.005442, allocations: 192 / 0.881 GB, free: 2.57 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.005452, allocations: 7.406 kB / 0.881 GB, free: 2.566 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.468e-06/0.005462, allocations: 4.125 kB / 0.881 GB, free: 2.562 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.343e-05/0.005505, allocations: 15.97 kB / 0.881 GB, free: 2.547 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004778/0.005983, allocations: 307.6 kB / 0.8813 GB, free: 2.211 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 9.928e-05/0.006082, allocations: 43.05 kB / 0.8814 GB, free: 2.156 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.845e-05/0.006111, allocations: 11.69 kB / 0.8814 GB, free: 2.141 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 2.26e-05/0.006133, allocations: 8.625 kB / 0.8814 GB, free: 2.133 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.316e-05/0.006226, allocations: 66.81 kB / 0.8814 GB, free: 2.055 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=7): time 1.413e-06/0.006228, allocations: 0 / 0.8814 GB, free: 2.055 MB / 0.7917 GB Notification: Performance of matching and sorting (n=7): time 0.0002149/0.006443, allocations: 85.67 kB / 0.8815 GB, free: 1.965 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.328e-05/0.006486, allocations: 55.41 kB / 0.8816 GB, free: 1.898 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001134/0.006599, allocations: 179.2 kB / 0.8817 GB, free: 1.707 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 1.78e-05/0.006617, allocations: 29.7 kB / 0.8818 GB, free: 1.672 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 6.135e-05/0.006678, allocations: 138.8 kB / 0.8819 GB, free: 1.531 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 2.006e-05/0.006698, allocations: 15.91 kB / 0.8819 GB, free: 1.516 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.226e-05/0.006751, allocations: 39.36 kB / 0.882 GB, free: 1.469 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.006888, allocations: 0.4884 MB / 0.8824 GB, free: 0.9688 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.452e-05/0.006923, allocations: 11.92 kB / 0.8824 GB, free: 0.957 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.024e-05/0.006993, allocations: 73.8 kB / 0.8825 GB, free: 0.8555 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000108/0.007101, allocations: 89.69 kB / 0.8826 GB, free: 0.7383 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/0.007105, allocations: 8 kB / 0.8826 GB, free: 0.7305 MB / 0.7917 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001682/0.007273, allocations: 101.4 kB / 0.8827 GB, free: 0.625 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.007287, allocations: 11.94 kB / 0.8827 GB, free: 0.6133 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.007293, allocations: 0 / 0.8827 GB, free: 0.6133 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.007308, allocations: 4 kB / 0.8827 GB, free: 0.6094 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001155/0.007423, allocations: 19.98 kB / 0.8827 GB, free: 0.5898 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.906e-06/0.007432, allocations: 4 kB / 0.8827 GB, free: 0.5859 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.119e-05/0.007483, allocations: 12.16 kB / 0.8828 GB, free: 0.5742 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.44e-05/0.007497, allocations: 8 kB / 0.8828 GB, free: 0.5664 MB / 0.7917 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 8.191e-05/0.007579, allocations: 160.5 kB / 0.8829 GB, free: 408 kB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.363e-05/0.007603, allocations: 19.88 kB / 0.8829 GB, free: 388 kB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.543e-05/0.007628, allocations: 8.438 kB / 0.8829 GB, free: 380 kB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.007631, allocations: 0 / 0.8829 GB, free: 380 kB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.007635, allocations: 0 / 0.8829 GB, free: 380 kB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.177e-06/0.007639, allocations: 0 / 0.8829 GB, free: 380 kB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00033/0.007969, allocations: 345.3 kB / 0.8833 GB, free: 15.99 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.00797, allocations: 0 / 0.8833 GB, free: 15.99 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.027e-05/0.008001, allocations: 8 kB / 0.8833 GB, free: 15.98 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.574e-06/0.008003, allocations: 0 / 0.8833 GB, free: 15.98 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.248e-06/0.008012, allocations: 4 kB / 0.8833 GB, free: 15.98 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.008015, allocations: 3.938 kB / 0.8833 GB, free: 15.98 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.008016, allocations: 0 / 0.8833 GB, free: 15.98 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001534/0.008169, allocations: 227.8 kB / 0.8835 GB, free: 15.73 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.027e-05/0.008179, allocations: 7.891 kB / 0.8835 GB, free: 15.73 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.546e-05/0.008195, allocations: 7.938 kB / 0.8835 GB, free: 15.72 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.057e-05/0.008255, allocations: 7.984 kB / 0.8835 GB, free: 15.71 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.465e-05/0.00829, allocations: 4 kB / 0.8835 GB, free: 15.71 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.634e-06/0.008298, allocations: 7.922 kB / 0.8835 GB, free: 15.7 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 5.203e-05/0.00835, allocations: 135.2 kB / 0.8837 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of sort global known variables: time 8e-08/0.00835, allocations: 0 / 0.8837 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002682/0.008618, allocations: 19.98 kB / 0.8837 GB, free: 15.55 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.0001265/0.008744, allocations: 104.2 kB / 0.8838 GB, free: 15.44 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001287/0.008873, allocations: 47.59 kB / 0.8838 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.008875, allocations: 0 / 0.8838 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 4.258e-05/0.008917, allocations: 24.53 kB / 0.8839 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002847/0.009202, allocations: 19.92 kB / 0.8839 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003735/0.009575, allocations: 163 kB / 0.884 GB, free: 15.15 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.289e-05/0.009618, allocations: 59.34 kB / 0.8841 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.874e-05/0.009647, allocations: 8 kB / 0.8841 GB, free: 15.06 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.939e-05/0.009677, allocations: 12.5 kB / 0.8841 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of SimCode: time 7.41e-07/0.009677, allocations: 0 / 0.8841 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of Templates: time 0.003612/0.01329, allocations: 1.057 MB / 0.8851 GB, free: 14.06 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime.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.569439409999177]