Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.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.001388/0.001388, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001522/0.001522, allocations: 161.4 kB / 23.82 MB, free: 0.7539 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.9514/0.9514, allocations: 177.1 MB / 204.2 MB, free: 5.648 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.873/1.873, allocations: 377.8 MB / 0.6236 GB, free: 8.57 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.Discrete.Validation.TriggeredSampler,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|booPul.y|sin1.y|triSam.y|triSam1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler") translateModel(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|booPul.y|sin1.y|triSam.y|triSam1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.006e-06/3.006e-06, allocations: 0 / 0.8115 GB, free: 1.77 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.704e-05/3.005e-05, allocations: 3.297 kB / 0.8115 GB, free: 1.766 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler): time 0.00189/0.00192, allocations: 0.7723 MB / 0.8123 GB, free: 1.016 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001671/0.003591, allocations: 1.217 MB / 0.8135 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.42e-05/0.003665, allocations: 8.625 kB / 0.8135 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 4.398e-05/0.003709, allocations: 3.938 kB / 0.8135 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 9.557e-05/0.003805, allocations: 8.781 kB / 0.8135 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.00064/0.004445, allocations: 145.8 kB / 0.8136 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002059/0.004651, allocations: 119.8 kB / 0.8137 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001401/0.004791, allocations: 24.16 kB / 0.8137 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001398/0.004931, allocations: 63.89 kB / 0.8138 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001076/0.005038, allocations: 39.92 kB / 0.8138 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.773e-05/0.005066, allocations: 13.53 kB / 0.8139 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 9.07e-05/0.005157, allocations: 27.94 kB / 0.8139 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 3.332e-05/0.00519, allocations: 19.91 kB / 0.8139 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 6.601e-05/0.005256, allocations: 35.91 kB / 0.8139 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002173/0.005473, allocations: 109 kB / 0.814 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.005478, allocations: 0 / 0.814 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.234e-06/0.00548, allocations: 0 / 0.814 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.602e-06/0.005487, allocations: 0.875 kB / 0.814 GB, free: 15.18 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006151/0.006102, allocations: 442.1 kB / 0.8145 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.006143, allocations: 13.06 kB / 0.8145 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001318/0.006274, allocations: 16.83 kB / 0.8145 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.414e-05/0.006369, allocations: 116.6 kB / 0.8146 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.676e-05/0.006385, allocations: 5 kB / 0.8146 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.988e-05/0.006405, allocations: 16.31 kB / 0.8146 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001521/0.006557, allocations: 71.81 kB / 0.8147 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.006565, allocations: 192 / 0.8147 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.006577, allocations: 5.078 kB / 0.8147 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/0.006587, allocations: 8.125 kB / 0.8147 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.036e-05/0.006628, allocations: 12.59 kB / 0.8147 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004529/0.007081, allocations: 328.9 kB / 0.815 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001072/0.007188, allocations: 43.05 kB / 0.8151 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.11e-05/0.007219, allocations: 29.48 kB / 0.8151 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.83e-05/0.007237, allocations: 0 / 0.8151 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001153/0.007352, allocations: 77.06 kB / 0.8152 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=8): time 1.533e-06/0.007354, allocations: 0 / 0.8152 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8): time 0.0002177/0.007572, allocations: 106.8 kB / 0.8153 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.829e-05/0.00761, allocations: 51.41 kB / 0.8153 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.596e-05/0.007696, allocations: 173.9 kB / 0.8155 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.256e-05/0.007719, allocations: 29.7 kB / 0.8155 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.495e-05/0.007783, allocations: 147.3 kB / 0.8157 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.195e-05/0.007805, allocations: 28.33 kB / 0.8157 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.775e-05/0.007863, allocations: 47.34 kB / 0.8157 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001608/0.008024, allocations: 497.3 kB / 0.8162 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001151/0.008139, allocations: 61.67 kB / 0.8163 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001263/0.008265, allocations: 119.8 kB / 0.8164 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001313/0.008397, allocations: 134.7 kB / 0.8165 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.008399, allocations: 0 / 0.8165 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002407/0.00864, allocations: 214.1 kB / 0.8167 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.979e-05/0.00868, allocations: 44.34 kB / 0.8168 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.008685, allocations: 0.5 kB / 0.8168 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.0087, allocations: 5.562 kB / 0.8168 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.823e-05/0.008798, allocations: 19.92 kB / 0.8168 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.645e-06/0.008806, allocations: 4 kB / 0.8168 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.182e-05/0.008898, allocations: 24.75 kB / 0.8168 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.715e-05/0.008915, allocations: 11.98 kB / 0.8168 GB, free: 12.05 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 (triSam1.y,$PRE.triSam1.y,triSam.y,$PRE.triSam.y,booPul.y,$PRE.booPul.y,$whenCondition3,$whenCondition1,$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): 10 * Array equations: 0 * Algorithm blocks: 1 * 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.398e-05/0.008999, allocations: 161.5 kB / 0.817 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.74e-05/0.009016, allocations: 25.05 kB / 0.817 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001471/0.009164, allocations: 82.11 kB / 0.8171 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.009167, allocations: 4 kB / 0.8171 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/0.009171, allocations: 3.984 kB / 0.8171 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.009175, allocations: 0.9688 kB / 0.8171 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002172/0.009392, allocations: 341.3 kB / 0.8174 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.009394, allocations: 2.312 kB / 0.8174 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.618e-05/0.00944, allocations: 7.984 kB / 0.8174 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.009444, allocations: 0 / 0.8174 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.796e-06/0.009453, allocations: 0 / 0.8174 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.009455, allocations: 4 kB / 0.8174 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/0.009456, allocations: 0 / 0.8174 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001459/0.009602, allocations: 243.2 kB / 0.8177 GB, free: 11.13 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.129e-05/0.009613, allocations: 11.89 kB / 0.8177 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.212e-05/0.009625, allocations: 48 / 0.8177 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.287e-05/0.009668, allocations: 19.91 kB / 0.8177 GB, free: 11.1 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.808e-05/0.009706, allocations: 0 / 0.8177 GB, free: 11.1 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.097e-06/0.009715, allocations: 11.92 kB / 0.8177 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.606e-05/0.009772, allocations: 131.2 kB / 0.8178 GB, free: 10.96 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.009772, allocations: 0 / 0.8178 GB, free: 10.96 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000202/0.009974, allocations: 23.98 kB / 0.8178 GB, free: 10.93 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 ($whenCondition3,$whenCondition1,$whenCondition2,booPul.y,triSam.y,triSam1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001271/0.0101, allocations: 104.2 kB / 0.8179 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.000207/0.01031, allocations: 166.1 kB / 0.8181 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.01031, allocations: 0 / 0.8181 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.999e-05/0.01035, allocations: 28.28 kB / 0.8181 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000217/0.01057, allocations: 22.36 kB / 0.8182 GB, free: 10.59 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005285/0.0111, allocations: 182.3 kB / 0.8183 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.218e-05/0.01114, allocations: 67.2 kB / 0.8184 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.724e-05/0.01116, allocations: 5.094 kB / 0.8184 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.667e-05/0.01119, allocations: 12.5 kB / 0.8184 GB, free: 10.28 MB / 0.7761 GB Notification: Performance of SimCode: time 1.062e-06/0.01119, allocations: 0.6562 kB / 0.8184 GB, free: 10.28 MB / 0.7761 GB Notification: Performance of Templates: time 0.003688/0.01488, allocations: 1.699 MB / 0.8201 GB, free: 8.641 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Discrete_Validation_TriggeredSampler.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.064153969753534]