Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001353/0.001353, allocations: 87.58 kB / 20.45 MB, free: 4.113 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.001166/0.001166, allocations: 161 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.004/1.004, allocations: 177.1 MB / 204.2 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 179] 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 1.929/1.929, allocations: 377.8 MB / 0.6236 GB, free: 8.539 MB / 0.5886 GB " [Timeout remaining time 177] 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.SampleTriggerNegativeStartTime,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.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_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.605e-06/2.605e-06, allocations: 0 / 0.8116 GB, free: 1.711 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.25e-05/3.511e-05, allocations: 7.719 kB / 0.8116 GB, free: 1.703 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.001638/0.001673, allocations: 0.7571 MB / 0.8123 GB, free: 0.9688 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001296/0.002969, allocations: 1.126 MB / 0.8134 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.171e-05/0.003031, allocations: 0 / 0.8134 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 4.203e-05/0.003073, allocations: 3.938 kB / 0.8134 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 9.999e-05/0.003173, allocations: 11.86 kB / 0.8134 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003755/0.003548, allocations: 56.83 kB / 0.8135 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001313/0.003679, allocations: 75.75 kB / 0.8135 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001203/0.0038, allocations: 16.94 kB / 0.8136 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 8.602e-05/0.003886, allocations: 43.95 kB / 0.8136 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 5.379e-05/0.00394, allocations: 23.91 kB / 0.8136 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.99e-05/0.00396, allocations: 9.344 kB / 0.8136 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 5.762e-05/0.004017, allocations: 15.98 kB / 0.8136 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.262e-05/0.00404, allocations: 19.91 kB / 0.8137 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.846e-05/0.004068, allocations: 13.94 kB / 0.8137 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.000132/0.0042, allocations: 71.72 kB / 0.8138 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.004203, allocations: 0 / 0.8138 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.603e-06/0.004204, allocations: 0 / 0.8138 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.11e-06/0.004209, allocations: 0 / 0.8138 GB, free: 15.48 MB / 0.7761 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.000462/0.004671, allocations: 398.1 kB / 0.8141 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.004712, allocations: 8.031 kB / 0.8141 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.245e-05/0.004765, allocations: 16.89 kB / 0.8142 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001031/0.004868, allocations: 120.5 kB / 0.8143 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.431e-05/0.004882, allocations: 384 / 0.8143 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.8e-05/0.0049, allocations: 9.281 kB / 0.8143 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001432/0.005043, allocations: 74.81 kB / 0.8143 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.005055, allocations: 0.7188 kB / 0.8144 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.005067, allocations: 1.031 kB / 0.8144 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.126e-05/0.005078, allocations: 8.109 kB / 0.8144 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.232e-05/0.00511, allocations: 16.45 kB / 0.8144 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004493/0.005559, allocations: 305 kB / 0.8147 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001013/0.005661, allocations: 43.05 kB / 0.8147 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.574e-05/0.005687, allocations: 16.22 kB / 0.8147 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.471e-05/0.005711, allocations: 5.438 kB / 0.8147 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.591e-05/0.005807, allocations: 73.08 kB / 0.8148 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 1.483e-06/0.005809, allocations: 0 / 0.8148 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.0002014/0.00601, allocations: 82.78 kB / 0.8149 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.774e-05/0.006048, allocations: 51.41 kB / 0.8149 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.686e-05/0.006145, allocations: 181.9 kB / 0.8151 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.41e-05/0.006159, allocations: 26.83 kB / 0.8151 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.156e-05/0.00622, allocations: 146.8 kB / 0.8153 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.809e-05/0.006238, allocations: 11.84 kB / 0.8153 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.457e-05/0.006283, allocations: 40.2 kB / 0.8153 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.00643, allocations: 496.1 kB / 0.8158 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.397e-05/0.006464, allocations: 11.98 kB / 0.8158 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003613/0.006825, allocations: 78.58 kB / 0.8159 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.63e-05/0.006921, allocations: 91.86 kB / 0.816 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.006925, allocations: 5.219 kB / 0.816 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001331/0.007058, allocations: 106.7 kB / 0.8161 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.007072, allocations: 4 kB / 0.8161 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.007078, allocations: 5.875 kB / 0.8161 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.007095, allocations: 3.938 kB / 0.8161 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001046/0.0072, allocations: 19.98 kB / 0.8161 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.007206, allocations: 0 / 0.8161 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.618e-05/0.007242, allocations: 6.781 kB / 0.8161 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.361e-05/0.007256, allocations: 15.98 kB / 0.8161 GB, free: 12.8 MB / 0.7761 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.05e-05/0.007336, allocations: 168.5 kB / 0.8163 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.806e-05/0.007354, allocations: 11.89 kB / 0.8163 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.13e-05/0.007386, allocations: 8.438 kB / 0.8163 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.007388, allocations: 0 / 0.8163 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.007393, allocations: 4.5 kB / 0.8163 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.007396, allocations: 0 / 0.8163 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002658/0.007662, allocations: 341.8 kB / 0.8166 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.007664, allocations: 1.344 kB / 0.8166 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.782e-05/0.007692, allocations: 4 kB / 0.8166 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.007694, allocations: 0 / 0.8166 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.225e-06/0.007703, allocations: 12.89 kB / 0.8166 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.007704, allocations: 0 / 0.8166 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.007705, allocations: 0 / 0.8166 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001263/0.007832, allocations: 220.5 kB / 0.8169 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.024e-05/0.007842, allocations: 7.953 kB / 0.8169 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.169e-05/0.007854, allocations: 0.6562 kB / 0.8169 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.702e-05/0.007891, allocations: 14.86 kB / 0.8169 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.757e-05/0.007928, allocations: 3.984 kB / 0.8169 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.483e-06/0.007935, allocations: 4 kB / 0.8169 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.556e-05/0.00798, allocations: 135.8 kB / 0.817 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.00798, allocations: 0 / 0.817 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001755/0.008156, allocations: 12 kB / 0.817 GB, free: 11.8 MB / 0.7761 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.0001472/0.008303, allocations: 110.2 kB / 0.8171 GB, free: 11.69 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001279/0.008431, allocations: 55.53 kB / 0.8172 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.008432, allocations: 0 / 0.8172 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.495e-05/0.008467, allocations: 23.62 kB / 0.8172 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002075/0.008675, allocations: 16.86 kB / 0.8172 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003321/0.009007, allocations: 163.9 kB / 0.8174 GB, free: 11.4 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.181e-05/0.009049, allocations: 63.2 kB / 0.8174 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.497e-05/0.009074, allocations: 5.031 kB / 0.8174 GB, free: 11.31 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.025e-05/0.009104, allocations: 12.5 kB / 0.8175 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of SimCode: time 5.81e-07/0.009105, allocations: 1.125 kB / 0.8175 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of Templates: time 0.003032/0.01214, allocations: 1.047 MB / 0.8185 GB, free: 10.32 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.4091631369665265]