Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001428/0.001428, allocations: 81.86 kB / 20.68 MB, free: 3.812 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.001726/0.001726, allocations: 185 kB / 24.09 MB, free: 412 kB / 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.9512/0.9512, allocations: 177.1 MB / 204.5 MB, free: 5.508 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.887/1.887, allocations: 377.9 MB / 0.624 GB, free: 8.383 MB / 0.5886 GB " [Timeout remaining time 178] 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.SampleTriggerPositiveStartTime,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.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_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.986e-06/2.986e-06, allocations: 0 / 0.812 GB, free: 1.434 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.778e-05/3.077e-05, allocations: 7.25 kB / 0.812 GB, free: 1.426 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.002104/0.002135, allocations: 0.7569 MB / 0.8128 GB, free: 0.6953 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001832/0.003967, allocations: 1.121 MB / 0.8139 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.366e-05/0.004021, allocations: 0 / 0.8139 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 3.493e-05/0.004056, allocations: 7.875 kB / 0.8139 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 8.411e-05/0.00414, allocations: 16.77 kB / 0.8139 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002809/0.004421, allocations: 47.81 kB / 0.8139 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 9.86e-05/0.004519, allocations: 73.34 kB / 0.814 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.004621, allocations: 20.11 kB / 0.814 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 9.249e-05/0.004713, allocations: 39.89 kB / 0.8141 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 4.603e-05/0.004759, allocations: 27.91 kB / 0.8141 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.813e-05/0.004778, allocations: 4.875 kB / 0.8141 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 5.577e-05/0.004833, allocations: 27.91 kB / 0.8141 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.019e-05/0.004854, allocations: 12.72 kB / 0.8141 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.471e-05/0.004888, allocations: 19.98 kB / 0.8142 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001086/0.004997, allocations: 63.78 kB / 0.8142 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.005, allocations: 1.688 kB / 0.8142 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of FrontEnd: time 8.42e-07/0.005001, allocations: 0 / 0.8142 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.888e-06/0.005005, allocations: 0 / 0.8142 GB, free: 15.21 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.0003804/0.005385, allocations: 396.4 kB / 0.8146 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.332e-05/0.005419, allocations: 9.562 kB / 0.8146 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.116e-05/0.00545, allocations: 20.89 kB / 0.8146 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.424e-05/0.005524, allocations: 120.5 kB / 0.8147 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.005535, allocations: 4.375 kB / 0.8147 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.137e-06/0.005545, allocations: 5.75 kB / 0.8147 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001316/0.005676, allocations: 66.92 kB / 0.8148 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.005683, allocations: 4.125 kB / 0.8148 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.955e-06/0.005691, allocations: 6.125 kB / 0.8148 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.005697, allocations: 4.125 kB / 0.8148 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.031e-05/0.005718, allocations: 15.88 kB / 0.8148 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003166/0.006034, allocations: 281.4 kB / 0.8151 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 6.892e-05/0.006103, allocations: 39.03 kB / 0.8151 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.972e-05/0.006123, allocations: 15.81 kB / 0.8152 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.241e-05/0.006145, allocations: 12.92 kB / 0.8152 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.543e-05/0.006221, allocations: 62.02 kB / 0.8152 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 1.373e-06/0.006222, allocations: 4 kB / 0.8152 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.000152/0.006374, allocations: 77.62 kB / 0.8153 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.301e-05/0.006407, allocations: 57.77 kB / 0.8154 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.903e-05/0.006486, allocations: 181.8 kB / 0.8155 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.283e-05/0.006499, allocations: 29.7 kB / 0.8156 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001263/0.006625, allocations: 142.8 kB / 0.8157 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.525e-05/0.006641, allocations: 15.83 kB / 0.8157 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.748e-05/0.006678, allocations: 39.34 kB / 0.8158 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001103/0.006788, allocations: 0.4889 MB / 0.8162 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.945e-05/0.006808, allocations: 8 kB / 0.8162 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.541e-05/0.006853, allocations: 66.52 kB / 0.8163 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.217e-05/0.006925, allocations: 96.47 kB / 0.8164 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.006927, allocations: 3.938 kB / 0.8164 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001062/0.007034, allocations: 95.31 kB / 0.8165 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.007045, allocations: 8.781 kB / 0.8165 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.007051, allocations: 0 / 0.8165 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.087e-05/0.007072, allocations: 4.812 kB / 0.8165 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.89e-05/0.007151, allocations: 23.86 kB / 0.8165 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.007155, allocations: 4.938 kB / 0.8165 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.031e-05/0.007185, allocations: 4 kB / 0.8165 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.091e-05/0.007196, allocations: 8 kB / 0.8165 GB, free: 12.58 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 6.711e-05/0.007263, allocations: 161.8 kB / 0.8167 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.065e-05/0.007274, allocations: 15.89 kB / 0.8167 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.236e-05/0.007296, allocations: 5.344 kB / 0.8167 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.82e-07/0.007297, allocations: 4 kB / 0.8167 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-06/0.007299, allocations: 0 / 0.8167 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/0.007301, allocations: 2.219 kB / 0.8167 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001929/0.007494, allocations: 326.1 kB / 0.817 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.007496, allocations: 4 kB / 0.817 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.824e-05/0.007514, allocations: 4 kB / 0.817 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.012e-06/0.007515, allocations: 0 / 0.817 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.59e-06/0.00752, allocations: 7.188 kB / 0.817 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.32e-07/0.007521, allocations: 0 / 0.817 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.007523, allocations: 3.938 kB / 0.8171 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.259e-05/0.007615, allocations: 223.9 kB / 0.8173 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.434e-06/0.007623, allocations: 7.953 kB / 0.8173 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.345e-06/0.007631, allocations: 4 kB / 0.8173 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.187e-05/0.007663, allocations: 4 kB / 0.8173 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.349e-05/0.007686, allocations: 3.984 kB / 0.8173 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-06/0.00769, allocations: 4 kB / 0.8173 GB, free: 11.76 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.000161/0.007851, allocations: 133 kB / 0.8174 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of sort global known variables: time 4e-08/0.007851, allocations: 0 / 0.8174 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001577/0.008008, allocations: 16 kB / 0.8174 GB, free: 11.62 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.0001143/0.008123, allocations: 104.4 kB / 0.8175 GB, free: 11.51 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 8.084e-05/0.008203, allocations: 53.05 kB / 0.8176 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.462e-06/0.008205, allocations: 1.094 kB / 0.8176 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.672e-05/0.008232, allocations: 23.67 kB / 0.8176 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000179/0.008411, allocations: 20.52 kB / 0.8176 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002372/0.008648, allocations: 159.7 kB / 0.8178 GB, free: 11.22 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.303e-05/0.008681, allocations: 67.09 kB / 0.8178 GB, free: 11.13 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.228e-05/0.008703, allocations: 9.141 kB / 0.8178 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.764e-05/0.008751, allocations: 78.2 kB / 0.8179 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of SimCode: time 5.61e-07/0.008751, allocations: 1 kB / 0.8179 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of Templates: time 0.002519/0.01127, allocations: 1.122 MB / 0.819 GB, free: 9.992 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.087067293934524]