Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.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.001036/0.001036, allocations: 80.3 kB / 21.47 MB, free: 3.031 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.001137/0.001137, allocations: 170 kB / 24.86 MB, free: 9.289 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.9904/0.9904, allocations: 177.1 MB / 205.3 MB, free: 5.496 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.882/1.882, allocations: 377.9 MB / 0.6247 GB, free: 8.375 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.SampleTrigger,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.SampleTrigger") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger,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.SampleTrigger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 0.8128 GB, free: 292 kB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.314e-05/1.483e-05, allocations: 3.312 kB / 0.8128 GB, free: 288 kB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.001247/0.001262, allocations: 0.748 MB / 0.8135 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001124/0.002386, allocations: 1.118 MB / 0.8146 GB, free: 14.42 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.012e-05/0.002436, allocations: 8.719 kB / 0.8146 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.108e-05/0.002467, allocations: 7.875 kB / 0.8146 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 7.406e-05/0.002541, allocations: 13.17 kB / 0.8146 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002984/0.00284, allocations: 59.73 kB / 0.8147 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001042/0.002944, allocations: 67.78 kB / 0.8148 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 9.282e-05/0.003037, allocations: 13.58 kB / 0.8148 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 8.712e-05/0.003124, allocations: 47.89 kB / 0.8148 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 4.5e-05/0.003169, allocations: 19.97 kB / 0.8148 GB, free: 14.19 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.572e-05/0.003184, allocations: 8.703 kB / 0.8148 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 5.101e-05/0.003235, allocations: 12 kB / 0.8149 GB, free: 14.17 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.288e-05/0.003258, allocations: 20.83 kB / 0.8149 GB, free: 14.15 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.619e-05/0.003284, allocations: 27.84 kB / 0.8149 GB, free: 14.12 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001103/0.003395, allocations: 67.67 kB / 0.815 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.733e-06/0.003396, allocations: 0.6562 kB / 0.815 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of FrontEnd: time 6.41e-07/0.003397, allocations: 1.25 kB / 0.815 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.003402, allocations: 0 / 0.815 GB, free: 14.05 MB / 0.7292 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.0003486/0.00375, allocations: 400 kB / 0.8153 GB, free: 13.63 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.003785, allocations: 13.16 kB / 0.8154 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.549e-05/0.00382, allocations: 8.891 kB / 0.8154 GB, free: 13.61 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.234e-05/0.003912, allocations: 116.5 kB / 0.8155 GB, free: 13.47 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.003925, allocations: 8.969 kB / 0.8155 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.021e-05/0.003935, allocations: 4.375 kB / 0.8155 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.44e-05/0.00403, allocations: 63.5 kB / 0.8156 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.263e-06/0.004037, allocations: 1.438 kB / 0.8156 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.791e-06/0.004043, allocations: 384 / 0.8156 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.004048, allocations: 8.125 kB / 0.8156 GB, free: 13.38 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002784/0.004327, allocations: 7.984 kB / 0.8156 GB, free: 13.37 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003279/0.004655, allocations: 294.4 kB / 0.8159 GB, free: 13.06 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 8.197e-05/0.004736, allocations: 43.05 kB / 0.8159 GB, free: 13 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.804e-05/0.004755, allocations: 11.69 kB / 0.8159 GB, free: 12.99 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.592e-05/0.00477, allocations: 0.7188 kB / 0.8159 GB, free: 12.99 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.006e-05/0.004851, allocations: 77.12 kB / 0.816 GB, free: 12.9 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/0.004852, allocations: 1.25 kB / 0.816 GB, free: 12.9 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0001513/0.005003, allocations: 69.64 kB / 0.816 GB, free: 12.82 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.688e-05/0.00504, allocations: 59.41 kB / 0.8161 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.987e-05/0.00512, allocations: 182.5 kB / 0.8163 GB, free: 12.56 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.526e-05/0.005135, allocations: 25.7 kB / 0.8163 GB, free: 12.53 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.295e-05/0.005188, allocations: 147.5 kB / 0.8164 GB, free: 12.38 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.16e-05/0.005209, allocations: 23.84 kB / 0.8165 GB, free: 12.36 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.167e-05/0.005251, allocations: 35.88 kB / 0.8165 GB, free: 12.31 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001293/0.00538, allocations: 0.4898 MB / 0.817 GB, free: 11.81 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.958e-05/0.0054, allocations: 7.984 kB / 0.817 GB, free: 11.8 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.833e-05/0.005448, allocations: 65.8 kB / 0.817 GB, free: 11.71 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.745e-05/0.005526, allocations: 93.09 kB / 0.8171 GB, free: 11.59 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.005528, allocations: 0 / 0.8171 GB, free: 11.59 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001165/0.005645, allocations: 94.62 kB / 0.8172 GB, free: 11.5 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.005658, allocations: 7.984 kB / 0.8172 GB, free: 11.49 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.005662, allocations: 5.406 kB / 0.8172 GB, free: 11.48 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.206e-06/0.005671, allocations: 0 / 0.8172 GB, free: 11.48 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.3e-05/0.005744, allocations: 27.92 kB / 0.8173 GB, free: 11.46 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.005e-06/0.005747, allocations: 0.5312 kB / 0.8173 GB, free: 11.46 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.907e-05/0.005786, allocations: 11.89 kB / 0.8173 GB, free: 11.45 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.877e-06/0.005795, allocations: 4.5 kB / 0.8173 GB, free: 11.44 MB / 0.7292 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.582e-05/0.00586, allocations: 163.9 kB / 0.8174 GB, free: 11.27 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.183e-05/0.005872, allocations: 15.88 kB / 0.8175 GB, free: 11.26 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.949e-05/0.005892, allocations: 12.44 kB / 0.8175 GB, free: 11.25 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.005893, allocations: 0.8125 kB / 0.8175 GB, free: 11.25 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.005895, allocations: 0 / 0.8175 GB, free: 11.25 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.005898, allocations: 0.5312 kB / 0.8175 GB, free: 11.25 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002006/0.006098, allocations: 319.6 kB / 0.8178 GB, free: 10.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.006099, allocations: 0 / 0.8178 GB, free: 10.9 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.094e-05/0.00612, allocations: 11.98 kB / 0.8178 GB, free: 10.89 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.052e-06/0.006121, allocations: 0 / 0.8178 GB, free: 10.89 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.471e-06/0.006127, allocations: 4.906 kB / 0.8178 GB, free: 10.89 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.51e-07/0.006127, allocations: 0 / 0.8178 GB, free: 10.89 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.006128, allocations: 0.8438 kB / 0.8178 GB, free: 10.89 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.966e-05/0.006228, allocations: 231.7 kB / 0.818 GB, free: 10.64 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 8.476e-06/0.006236, allocations: 11.88 kB / 0.818 GB, free: 10.63 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.036e-05/0.006247, allocations: 9.297 kB / 0.818 GB, free: 10.62 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.211e-05/0.006279, allocations: 0 / 0.818 GB, free: 10.62 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.42e-05/0.006303, allocations: 11.98 kB / 0.818 GB, free: 10.61 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.567e-06/0.006307, allocations: 0.5 kB / 0.818 GB, free: 10.61 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.601e-05/0.006343, allocations: 131.9 kB / 0.8182 GB, free: 10.48 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5.1e-08/0.006343, allocations: 0 / 0.8182 GB, free: 10.48 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001672/0.00651, allocations: 17.72 kB / 0.8182 GB, free: 10.46 MB / 0.7292 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 9.023e-05/0.0066, allocations: 103.2 kB / 0.8183 GB, free: 10.36 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 9.07e-05/0.006691, allocations: 48.41 kB / 0.8183 GB, free: 10.3 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 9.02e-07/0.006692, allocations: 3.469 kB / 0.8183 GB, free: 10.3 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.13e-05/0.006723, allocations: 23.67 kB / 0.8184 GB, free: 10.28 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001739/0.006897, allocations: 11.94 kB / 0.8184 GB, free: 10.27 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002219/0.007119, allocations: 166.7 kB / 0.8185 GB, free: 10.07 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.963e-05/0.007148, allocations: 59.34 kB / 0.8186 GB, free: 9.992 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.198e-05/0.00717, allocations: 7.984 kB / 0.8186 GB, free: 9.984 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.254e-05/0.007223, allocations: 86.64 kB / 0.8187 GB, free: 9.898 MB / 0.7292 GB Notification: Performance of SimCode: time 5.11e-07/0.007223, allocations: 1.25 kB / 0.8187 GB, free: 9.898 MB / 0.7292 GB Notification: Performance of Templates: time 0.002438/0.009662, allocations: 1.142 MB / 0.8198 GB, free: 8.805 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTrigger.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: 4.931629434227943]