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.001301/0.001301, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.001029/0.001029, allocations: 185 kB / 24.09 MB, free: 416 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.9751/0.9751, allocations: 177.1 MB / 204.5 MB, free: 5.527 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.916/1.916, allocations: 377.9 MB / 0.624 GB, free: 8.41 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.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 2.114e-06/2.114e-06, allocations: 0.6562 kB / 0.812 GB, free: 1.434 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.673e-05/1.884e-05, allocations: 6.312 kB / 0.812 GB, free: 1.426 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.001282/0.001301, allocations: 0.7409 MB / 0.8128 GB, free: 0.7031 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001049/0.002351, allocations: 1.128 MB / 0.8139 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.769e-05/0.002398, allocations: 4 kB / 0.8139 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.709e-05/0.002425, allocations: 3.938 kB / 0.8139 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 7.436e-05/0.0025, allocations: 9.125 kB / 0.8139 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002522/0.002752, allocations: 59.75 kB / 0.8139 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 8.642e-05/0.002838, allocations: 72.67 kB / 0.814 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 8.601e-05/0.002924, allocations: 16.11 kB / 0.814 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 8.703e-05/0.003011, allocations: 44.55 kB / 0.8141 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 4.459e-05/0.003056, allocations: 23.91 kB / 0.8141 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.649e-05/0.003073, allocations: 8.875 kB / 0.8141 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 5.471e-05/0.003127, allocations: 16 kB / 0.8141 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.923e-05/0.003147, allocations: 13.09 kB / 0.8141 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.387e-05/0.00317, allocations: 23.92 kB / 0.8141 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.000109/0.003279, allocations: 67.72 kB / 0.8142 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.003282, allocations: 1.531 kB / 0.8142 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of FrontEnd: time 8.12e-07/0.003282, allocations: 0 / 0.8142 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 2.986e-06/0.003285, allocations: 4 kB / 0.8142 GB, free: 15.2 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.0003386/0.003624, allocations: 396.4 kB / 0.8146 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.003659, allocations: 9.562 kB / 0.8146 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.01e-05/0.003689, allocations: 12.89 kB / 0.8146 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.555e-05/0.003764, allocations: 124.5 kB / 0.8147 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.678e-06/0.003774, allocations: 384 / 0.8147 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.14e-05/0.003786, allocations: 9.688 kB / 0.8147 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.683e-05/0.003882, allocations: 70.8 kB / 0.8148 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.861e-06/0.003888, allocations: 192 / 0.8148 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.855e-06/0.003896, allocations: 12.86 kB / 0.8148 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.003902, allocations: 4.125 kB / 0.8148 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.782e-05/0.00392, allocations: 9.219 kB / 0.8148 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003189/0.004239, allocations: 281 kB / 0.8151 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 6.809e-05/0.004307, allocations: 47.03 kB / 0.8151 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.575e-05/0.004322, allocations: 13.16 kB / 0.8152 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.801e-05/0.004341, allocations: 4 kB / 0.8152 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.286e-05/0.004403, allocations: 60.98 kB / 0.8152 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 9.61e-07/0.004404, allocations: 0.625 kB / 0.8152 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.0001419/0.004546, allocations: 90.72 kB / 0.8153 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.063e-05/0.004577, allocations: 55.39 kB / 0.8154 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.33e-05/0.00465, allocations: 173.9 kB / 0.8155 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.274e-05/0.004663, allocations: 34.45 kB / 0.8156 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.919e-05/0.004712, allocations: 138.8 kB / 0.8157 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.69e-05/0.004729, allocations: 20.48 kB / 0.8157 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.624e-05/0.004765, allocations: 35.34 kB / 0.8157 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001137/0.004879, allocations: 0.4935 MB / 0.8162 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.747e-05/0.004896, allocations: 4 kB / 0.8162 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.354e-05/0.00494, allocations: 73.8 kB / 0.8163 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.679e-05/0.005007, allocations: 98.88 kB / 0.8164 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.005008, allocations: 0 / 0.8164 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001022/0.00511, allocations: 97.38 kB / 0.8165 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.088e-05/0.005121, allocations: 6.5 kB / 0.8165 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.005126, allocations: 4 kB / 0.8165 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.003e-05/0.005136, allocations: 0.8438 kB / 0.8165 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.876e-05/0.005205, allocations: 19.98 kB / 0.8165 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.256e-06/0.005208, allocations: 0.5 kB / 0.8165 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.388e-05/0.005242, allocations: 12.56 kB / 0.8165 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.303e-06/0.005249, allocations: 0.5625 kB / 0.8165 GB, free: 12.59 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.653e-05/0.005316, allocations: 173.8 kB / 0.8167 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.032e-05/0.005326, allocations: 11.89 kB / 0.8167 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.23e-05/0.005349, allocations: 8.438 kB / 0.8167 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.00535, allocations: 0.6875 kB / 0.8167 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-06/0.005352, allocations: 0 / 0.8167 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.005356, allocations: 4.562 kB / 0.8167 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001974/0.005553, allocations: 317.8 kB / 0.817 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.554e-06/0.005556, allocations: 6.016 kB / 0.817 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.383e-05/0.005579, allocations: 12 kB / 0.817 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.005582, allocations: 4 kB / 0.817 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.498e-06/0.005586, allocations: 0 / 0.817 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.005587, allocations: 0 / 0.817 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.005588, allocations: 0.5312 kB / 0.817 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001004/0.005688, allocations: 225 kB / 0.8173 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.224e-06/0.005696, allocations: 11.89 kB / 0.8173 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.145e-06/0.005704, allocations: 4 kB / 0.8173 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.079e-05/0.005735, allocations: 0.9375 kB / 0.8173 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.351e-05/0.005758, allocations: 7.984 kB / 0.8173 GB, free: 11.76 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.377e-06/0.005762, allocations: 1.312 kB / 0.8173 GB, free: 11.76 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.822e-05/0.0058, allocations: 139.8 kB / 0.8174 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of sort global known variables: time 4e-08/0.0058, allocations: 0 / 0.8174 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001643/0.005964, allocations: 16 kB / 0.8174 GB, free: 11.61 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.0001001/0.006064, allocations: 102.5 kB / 0.8175 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 8.434e-05/0.006149, allocations: 47.59 kB / 0.8176 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.162e-06/0.00615, allocations: 0 / 0.8176 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.941e-05/0.006179, allocations: 27.61 kB / 0.8176 GB, free: 11.42 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001729/0.006352, allocations: 23.89 kB / 0.8176 GB, free: 11.4 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002241/0.006576, allocations: 154.8 kB / 0.8178 GB, free: 11.22 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.973e-05/0.006606, allocations: 59.22 kB / 0.8178 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.157e-05/0.006627, allocations: 7.984 kB / 0.8178 GB, free: 11.13 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.783e-05/0.006675, allocations: 78.2 kB / 0.8179 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of SimCode: time 3.81e-07/0.006676, allocations: 0 / 0.8179 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of Templates: time 0.002811/0.009487, allocations: 1.134 MB / 0.819 GB, free: 9.965 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: 4.97767592780292]