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.00101/0.00101, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.001079/0.001079, allocations: 169.3 kB / 23.02 MB, free: 1.547 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.9789/0.9789, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.148/2.148, allocations: 429.5 MB / 0.6733 GB, free: 4.016 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 3.196e-06/3.196e-06, allocations: 0 / 0.8782 GB, free: 6.27 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.914e-05/3.233e-05, allocations: 4.844 kB / 0.8782 GB, free: 6.266 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.001455/0.001488, allocations: 0.7716 MB / 0.8789 GB, free: 5.516 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001459/0.002947, allocations: 1.119 MB / 0.88 GB, free: 4.383 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.643e-05/0.002993, allocations: 0 / 0.88 GB, free: 4.383 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.352e-05/0.003026, allocations: 11.88 kB / 0.88 GB, free: 4.371 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.3e-05/0.003099, allocations: 11.2 kB / 0.8801 GB, free: 4.363 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002984/0.003398, allocations: 55.75 kB / 0.8801 GB, free: 4.309 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001042/0.003502, allocations: 71.78 kB / 0.8802 GB, free: 4.238 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 9.992e-05/0.003602, allocations: 24.03 kB / 0.8802 GB, free: 4.211 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 8.382e-05/0.003686, allocations: 35.97 kB / 0.8802 GB, free: 4.176 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.385e-05/0.00374, allocations: 27.89 kB / 0.8803 GB, free: 4.148 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.802e-05/0.003758, allocations: 4 kB / 0.8803 GB, free: 4.145 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 5.338e-05/0.003811, allocations: 16 kB / 0.8803 GB, free: 4.129 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.255e-05/0.003834, allocations: 20.8 kB / 0.8803 GB, free: 4.109 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.411e-05/0.003868, allocations: 23.97 kB / 0.8803 GB, free: 4.086 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001263/0.003994, allocations: 60.83 kB / 0.8804 GB, free: 4.027 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.003998, allocations: 0 / 0.8804 GB, free: 4.027 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.342e-06/0.003999, allocations: 0 / 0.8804 GB, free: 4.027 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.004003, allocations: 1.125 kB / 0.8804 GB, free: 4.027 MB / 0.8386 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.0004128/0.004416, allocations: 400.3 kB / 0.8808 GB, free: 3.602 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.004452, allocations: 12.03 kB / 0.8808 GB, free: 3.59 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.525e-05/0.004498, allocations: 6.031 kB / 0.8808 GB, free: 3.586 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.778e-05/0.004585, allocations: 120.5 kB / 0.8809 GB, free: 3.441 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/0.004598, allocations: 12.31 kB / 0.8809 GB, free: 3.43 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.185e-05/0.00461, allocations: 5 kB / 0.8809 GB, free: 3.426 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001437/0.004754, allocations: 63.72 kB / 0.881 GB, free: 3.355 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.004762, allocations: 192 / 0.881 GB, free: 3.355 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.869e-06/0.004772, allocations: 11.81 kB / 0.881 GB, free: 3.348 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/0.00478, allocations: 4.125 kB / 0.881 GB, free: 3.344 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.032e-05/0.00481, allocations: 15.92 kB / 0.881 GB, free: 3.328 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004278/0.005238, allocations: 307.7 kB / 0.8813 GB, free: 2.992 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.32e-05/0.005331, allocations: 43.05 kB / 0.8813 GB, free: 2.938 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.312e-05/0.005355, allocations: 11.69 kB / 0.8814 GB, free: 2.922 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.046e-05/0.005375, allocations: 8.031 kB / 0.8814 GB, free: 2.914 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.393e-05/0.005459, allocations: 65.7 kB / 0.8814 GB, free: 2.836 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.372e-06/0.00546, allocations: 1.156 kB / 0.8814 GB, free: 2.836 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0001913/0.005652, allocations: 81.62 kB / 0.8815 GB, free: 2.75 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.119e-05/0.005693, allocations: 55.41 kB / 0.8816 GB, free: 2.684 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.779e-05/0.005781, allocations: 182.3 kB / 0.8817 GB, free: 2.488 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.532e-05/0.005796, allocations: 41.62 kB / 0.8818 GB, free: 2.441 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.742e-05/0.005843, allocations: 132.4 kB / 0.8819 GB, free: 2.309 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.922e-05/0.005863, allocations: 23.83 kB / 0.8819 GB, free: 2.285 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.923e-05/0.005902, allocations: 31.36 kB / 0.8819 GB, free: 2.246 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.006012, allocations: 0.4923 MB / 0.8824 GB, free: 1.742 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.826e-05/0.00604, allocations: 12 kB / 0.8824 GB, free: 1.73 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.234e-05/0.006092, allocations: 69.8 kB / 0.8825 GB, free: 1.633 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.509e-05/0.006177, allocations: 93.73 kB / 0.8826 GB, free: 1.512 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.00618, allocations: 4 kB / 0.8826 GB, free: 1.508 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001267/0.006306, allocations: 101.4 kB / 0.8827 GB, free: 1.402 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.006322, allocations: 14.44 kB / 0.8827 GB, free: 1.391 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.006327, allocations: 0 / 0.8827 GB, free: 1.391 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.00634, allocations: 4 kB / 0.8827 GB, free: 1.387 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001028/0.006443, allocations: 27.92 kB / 0.8827 GB, free: 1.359 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.00645, allocations: 4 kB / 0.8827 GB, free: 1.355 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.512e-05/0.006485, allocations: 7.953 kB / 0.8828 GB, free: 1.348 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.279e-05/0.006498, allocations: 8.203 kB / 0.8828 GB, free: 1.34 MB / 0.8386 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.498e-05/0.006573, allocations: 164.6 kB / 0.8829 GB, free: 1.168 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.279e-05/0.006585, allocations: 7.938 kB / 0.8829 GB, free: 1.16 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.756e-05/0.006613, allocations: 12.44 kB / 0.8829 GB, free: 1.145 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.006615, allocations: 0 / 0.8829 GB, free: 1.145 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.006619, allocations: 0 / 0.8829 GB, free: 1.145 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.006623, allocations: 3.984 kB / 0.8829 GB, free: 1.141 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002535/0.006877, allocations: 345.2 kB / 0.8833 GB, free: 0.7617 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.006878, allocations: 0 / 0.8833 GB, free: 0.7617 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.995e-05/0.006908, allocations: 7.984 kB / 0.8833 GB, free: 0.7539 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.006911, allocations: 0 / 0.8833 GB, free: 0.7539 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-06/0.006917, allocations: 4 kB / 0.8833 GB, free: 0.75 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.006918, allocations: 0 / 0.8833 GB, free: 0.75 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.006921, allocations: 4 kB / 0.8833 GB, free: 0.7461 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001167/0.007037, allocations: 227.8 kB / 0.8835 GB, free: 0.5039 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 9.127e-06/0.007047, allocations: 7.938 kB / 0.8835 GB, free: 0.4961 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.266e-05/0.007059, allocations: 4 kB / 0.8835 GB, free: 0.4922 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.392e-05/0.007093, allocations: 0 / 0.8835 GB, free: 0.4922 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.365e-05/0.007127, allocations: 7.984 kB / 0.8835 GB, free: 496 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.295e-05/0.00714, allocations: 4 kB / 0.8835 GB, free: 492 kB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.087e-05/0.007181, allocations: 131.2 kB / 0.8836 GB, free: 360 kB / 0.8386 GB Notification: Performance of sort global known variables: time 8e-08/0.007181, allocations: 8 kB / 0.8837 GB, free: 352 kB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001748/0.007356, allocations: 16 kB / 0.8837 GB, free: 336 kB / 0.8386 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.0001332/0.007489, allocations: 99.25 kB / 0.8838 GB, free: 228 kB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001297/0.007618, allocations: 51.53 kB / 0.8838 GB, free: 172 kB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.00762, allocations: 0 / 0.8838 GB, free: 172 kB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.572e-05/0.007656, allocations: 32.08 kB / 0.8838 GB, free: 136 kB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002022/0.007858, allocations: 18.44 kB / 0.8839 GB, free: 120 kB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003208/0.008179, allocations: 162.8 kB / 0.884 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.702e-05/0.008216, allocations: 63.34 kB / 0.8841 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.677e-05/0.008242, allocations: 11.92 kB / 0.8841 GB, free: 15.83 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.879e-05/0.008271, allocations: 16.5 kB / 0.8841 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of SimCode: time 8.92e-07/0.008272, allocations: 0 / 0.8841 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of Templates: time 0.002995/0.01127, allocations: 1.109 MB / 0.8852 GB, free: 14.77 MB / 0.8542 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.443929661996663]