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.001407/0.001407, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001538/0.001538, allocations: 169 kB / 24.28 MB, free: 276 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 1.033/1.033, allocations: 177.1 MB / 204.6 MB, free: 5.645 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.863/1.863, allocations: 377.8 MB / 0.6239 GB, free: 8.535 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 3.056e-06/3.056e-06, allocations: 0 / 0.8115 GB, free: 2.055 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.988e-05/3.293e-05, allocations: 2.312 kB / 0.8115 GB, free: 2.051 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.001435/0.001468, allocations: 0.7623 MB / 0.8123 GB, free: 1.309 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001075/0.002543, allocations: 1.117 MB / 0.8134 GB, free: 184 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.684e-05/0.00259, allocations: 0 / 0.8134 GB, free: 184 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.704e-05/0.002617, allocations: 7.875 kB / 0.8134 GB, free: 176 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 6.301e-05/0.00268, allocations: 13.23 kB / 0.8134 GB, free: 164 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002545/0.002934, allocations: 55.75 kB / 0.8135 GB, free: 108 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 9.694e-05/0.003031, allocations: 71.72 kB / 0.8135 GB, free: 36 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 9.684e-05/0.003128, allocations: 24.62 kB / 0.8135 GB, free: 8 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 9.375e-05/0.003222, allocations: 37.34 kB / 0.8136 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 4.589e-05/0.003268, allocations: 31.89 kB / 0.8136 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.504e-05/0.003283, allocations: 4 kB / 0.8136 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 4.549e-05/0.003328, allocations: 15.98 kB / 0.8136 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.149e-05/0.00335, allocations: 17.09 kB / 0.8136 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.88e-05/0.003378, allocations: 19.97 kB / 0.8137 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001107/0.003489, allocations: 63.73 kB / 0.8137 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.753e-06/0.003491, allocations: 1.188 kB / 0.8137 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.21e-07/0.003492, allocations: 0 / 0.8137 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.616e-06/0.003495, allocations: 0 / 0.8137 GB, free: 15.82 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.0003801/0.003875, allocations: 397.5 kB / 0.8141 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.00391, allocations: 12.03 kB / 0.8141 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.557e-05/0.003956, allocations: 16.83 kB / 0.8141 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.498e-05/0.004041, allocations: 121.2 kB / 0.8142 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.004052, allocations: 4.375 kB / 0.8143 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.245e-05/0.004064, allocations: 13.7 kB / 0.8143 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001114/0.004175, allocations: 66.88 kB / 0.8143 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.592e-06/0.004182, allocations: 192 / 0.8143 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.595e-06/0.00419, allocations: 3.062 kB / 0.8143 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.754e-06/0.004197, allocations: 8.125 kB / 0.8143 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.019e-05/0.004228, allocations: 11.98 kB / 0.8144 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003744/0.004602, allocations: 311.6 kB / 0.8147 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.557e-05/0.004677, allocations: 39.06 kB / 0.8147 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.337e-05/0.004701, allocations: 16.17 kB / 0.8147 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.653e-05/0.004717, allocations: 4.469 kB / 0.8147 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.216e-05/0.00479, allocations: 67.16 kB / 0.8148 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 8.92e-07/0.00479, allocations: 0 / 0.8148 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.0001669/0.004957, allocations: 85.62 kB / 0.8149 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.227e-05/0.00499, allocations: 55.41 kB / 0.8149 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.879e-05/0.005078, allocations: 177.9 kB / 0.8151 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.037e-05/0.005089, allocations: 27.45 kB / 0.8151 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.248e-05/0.005151, allocations: 138.8 kB / 0.8152 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.8e-05/0.005169, allocations: 31.75 kB / 0.8153 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.499e-05/0.005204, allocations: 31.38 kB / 0.8153 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001249/0.005329, allocations: 0.4923 MB / 0.8158 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.391e-05/0.005353, allocations: 8.828 kB / 0.8158 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.11e-05/0.005404, allocations: 77.73 kB / 0.8159 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.153e-05/0.005486, allocations: 88.38 kB / 0.8159 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.005487, allocations: 0 / 0.8159 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001084/0.005596, allocations: 107.5 kB / 0.816 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/0.005607, allocations: 8 kB / 0.8161 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.005611, allocations: 0.8438 kB / 0.8161 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.005624, allocations: 4 kB / 0.8161 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.699e-05/0.005701, allocations: 17.2 kB / 0.8161 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.291e-06/0.005707, allocations: 11.92 kB / 0.8161 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.105e-05/0.005738, allocations: 4 kB / 0.8161 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.005747, allocations: 5.312 kB / 0.8161 GB, free: 13.15 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 5.876e-05/0.005806, allocations: 160.6 kB / 0.8162 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.152e-05/0.005817, allocations: 17.55 kB / 0.8163 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.922e-05/0.005836, allocations: 12.42 kB / 0.8163 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.005838, allocations: 0 / 0.8163 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.604e-06/0.005841, allocations: 0 / 0.8163 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.005844, allocations: 0 / 0.8163 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002662/0.00611, allocations: 350.3 kB / 0.8166 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.006111, allocations: 0 / 0.8166 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.768e-05/0.006129, allocations: 4 kB / 0.8166 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.00613, allocations: 1.094 kB / 0.8166 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/0.006138, allocations: 8 kB / 0.8166 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.71e-07/0.006139, allocations: 0 / 0.8166 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.006139, allocations: 1.062 kB / 0.8166 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001037/0.006243, allocations: 232.2 kB / 0.8168 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.59e-06/0.006249, allocations: 3.953 kB / 0.8168 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.878e-06/0.006258, allocations: 1.062 kB / 0.8168 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.388e-05/0.006292, allocations: 8 kB / 0.8169 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.982e-05/0.006322, allocations: 8.484 kB / 0.8169 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.847e-06/0.006326, allocations: 0 / 0.8169 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.893e-05/0.006365, allocations: 141.1 kB / 0.817 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.006365, allocations: 0 / 0.817 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001652/0.00653, allocations: 19.94 kB / 0.817 GB, free: 12.14 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 9.653e-05/0.006627, allocations: 104.1 kB / 0.8171 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001004/0.006727, allocations: 52.89 kB / 0.8172 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.006728, allocations: 0.9062 kB / 0.8172 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.185e-05/0.00676, allocations: 23.67 kB / 0.8172 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001782/0.006938, allocations: 18.47 kB / 0.8172 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002534/0.007192, allocations: 166.4 kB / 0.8174 GB, free: 11.74 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.184e-05/0.007224, allocations: 63.2 kB / 0.8174 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.077e-05/0.007244, allocations: 4 kB / 0.8174 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.345e-05/0.007268, allocations: 12.5 kB / 0.8174 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of SimCode: time 7.51e-07/0.007269, allocations: 3.938 kB / 0.8174 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of Templates: time 0.00254/0.009808, allocations: 1.025 MB / 0.8184 GB, free: 10.64 MB / 0.7761 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: 5.180642591090873]