Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.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.001045/0.001045, allocations: 81.95 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.001077/0.001077, allocations: 166.8 kB / 24.87 MB, free: 8.891 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 1.054/1.054, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.986/1.986, allocations: 377.9 MB / 0.6247 GB, free: 8.422 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.Discrete.Validation.TriggeredMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|triggeredMax.u|triggeredMax.y|triggeredMax.trigger",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax") translateModel(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|triggeredMax.u|triggeredMax.y|triggeredMax.trigger",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.365e-06/2.365e-06, allocations: 0 / 0.8128 GB, free: 1.48 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.865e-05/2.101e-05, allocations: 2.312 kB / 0.8128 GB, free: 1.477 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax): time 0.00155/0.001571, allocations: 0.7237 MB / 0.8135 GB, free: 0.7734 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001345/0.002916, allocations: 1.241 MB / 0.8147 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.096e-05/0.002977, allocations: 0.7812 kB / 0.8147 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 3.183e-05/0.003009, allocations: 3.938 kB / 0.8147 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 8.914e-05/0.003098, allocations: 17.61 kB / 0.8147 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004613/0.003559, allocations: 143.4 kB / 0.8148 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001591/0.003718, allocations: 117.3 kB / 0.8149 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 8.604e-05/0.003804, allocations: 15.92 kB / 0.815 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001116/0.003916, allocations: 67.88 kB / 0.815 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 7.893e-05/0.003995, allocations: 31.94 kB / 0.8151 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.132e-05/0.004016, allocations: 8.5 kB / 0.8151 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 6.761e-05/0.004084, allocations: 31.92 kB / 0.8151 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.459e-05/0.004108, allocations: 12.83 kB / 0.8151 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 4.397e-05/0.004152, allocations: 35.91 kB / 0.8151 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001492/0.004302, allocations: 96.44 kB / 0.8152 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.043e-06/0.004304, allocations: 0 / 0.8152 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.22e-07/0.004305, allocations: 1.594 kB / 0.8152 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.94e-06/0.004309, allocations: 4 kB / 0.8152 GB, free: 14.95 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005097/0.004819, allocations: 426.2 kB / 0.8156 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.004854, allocations: 8.031 kB / 0.8157 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.94e-05/0.004953, allocations: 17.36 kB / 0.8157 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.381e-05/0.005047, allocations: 125.2 kB / 0.8158 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.495e-05/0.005062, allocations: 4.375 kB / 0.8158 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.701e-05/0.005079, allocations: 16.84 kB / 0.8158 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000103/0.005182, allocations: 64.55 kB / 0.8159 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.005189, allocations: 192 / 0.8159 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.426e-06/0.005198, allocations: 4.375 kB / 0.8159 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.005204, allocations: 384 / 0.8159 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.942e-05/0.005233, allocations: 15.92 kB / 0.8159 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003015/0.005535, allocations: 280.8 kB / 0.8162 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 6.942e-05/0.005604, allocations: 44.36 kB / 0.8162 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.874e-05/0.005623, allocations: 19.69 kB / 0.8162 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.413e-05/0.005637, allocations: 5.203 kB / 0.8162 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.655e-05/0.005723, allocations: 69.11 kB / 0.8163 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 8.91e-07/0.005724, allocations: 0 / 0.8163 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.0001681/0.005892, allocations: 94.91 kB / 0.8164 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.301e-05/0.005925, allocations: 51.41 kB / 0.8164 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.267e-05/0.006008, allocations: 181.8 kB / 0.8166 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.006027, allocations: 31.45 kB / 0.8166 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.083e-05/0.006078, allocations: 130.9 kB / 0.8168 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.673e-05/0.006094, allocations: 15.89 kB / 0.8168 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.158e-05/0.006146, allocations: 51.33 kB / 0.8168 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001144/0.00626, allocations: 496.1 kB / 0.8173 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.241e-05/0.006313, allocations: 54.52 kB / 0.8173 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.567e-05/0.006378, allocations: 100.3 kB / 0.8174 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.334e-05/0.006462, allocations: 102.6 kB / 0.8175 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.006464, allocations: 0 / 0.8175 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001793/0.006643, allocations: 188.9 kB / 0.8177 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.822e-05/0.006671, allocations: 41.64 kB / 0.8178 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/0.006676, allocations: 6.828 kB / 0.8178 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.037e-05/0.006687, allocations: 4 kB / 0.8178 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.814e-05/0.006745, allocations: 8 kB / 0.8178 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.496e-06/0.006748, allocations: 0 / 0.8178 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002452/0.006993, allocations: 31.86 kB / 0.8178 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.289e-05/0.007006, allocations: 7.938 kB / 0.8178 GB, free: 12.04 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,$whenCondition3,booPul.y,$PRE.booPul.y,$whenCondition1,triggeredMax.y,$PRE.triggeredMax.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * 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 7.799e-05/0.007084, allocations: 173 kB / 0.818 GB, free: 11.87 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.124e-05/0.007096, allocations: 7.938 kB / 0.818 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001031/0.007199, allocations: 82.09 kB / 0.8181 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.0072, allocations: 0.625 kB / 0.8181 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-06/0.007202, allocations: 0 / 0.8181 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.007205, allocations: 0.5625 kB / 0.8181 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001757/0.007381, allocations: 306.5 kB / 0.8184 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.007382, allocations: 0 / 0.8184 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.829e-05/0.00741, allocations: 8.562 kB / 0.8184 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.007413, allocations: 5.312 kB / 0.8184 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.59e-06/0.007418, allocations: 0 / 0.8184 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.007421, allocations: 7.984 kB / 0.8184 GB, free: 11.42 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.007422, allocations: 0 / 0.8184 GB, free: 11.42 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001095/0.007531, allocations: 222.4 kB / 0.8186 GB, free: 11.19 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 8.325e-06/0.007539, allocations: 15.88 kB / 0.8186 GB, free: 11.17 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.209e-05/0.007552, allocations: 0 / 0.8186 GB, free: 11.17 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.472e-05/0.007586, allocations: 4 kB / 0.8186 GB, free: 11.17 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.917e-05/0.007615, allocations: 11.98 kB / 0.8186 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.898e-06/0.007619, allocations: 0 / 0.8186 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.708e-05/0.007656, allocations: 127.2 kB / 0.8187 GB, free: 11.03 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.007656, allocations: 4.75 kB / 0.8188 GB, free: 11.03 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001686/0.007825, allocations: 20 kB / 0.8188 GB, free: 11.01 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: 5 ($whenCondition2,$whenCondition3,$whenCondition1,triggeredMax.y,booPul.y) * Number of discrete states: 1 (triggeredMax.y) * 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.0001009/0.007926, allocations: 106.6 kB / 0.8189 GB, free: 10.9 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001642/0.00809, allocations: 157.8 kB / 0.819 GB, free: 10.72 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.008092, allocations: 0 / 0.819 GB, free: 10.72 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.087e-05/0.008122, allocations: 20.41 kB / 0.819 GB, free: 10.7 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001864/0.008309, allocations: 19.77 kB / 0.8191 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003813/0.00869, allocations: 166 kB / 0.8192 GB, free: 10.49 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.742e-05/0.008728, allocations: 59.22 kB / 0.8193 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.392e-05/0.008752, allocations: 7.984 kB / 0.8193 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.009e-05/0.008842, allocations: 90.19 kB / 0.8194 GB, free: 10.32 MB / 0.7761 GB Notification: Performance of SimCode: time 4.51e-07/0.008842, allocations: 1.406 kB / 0.8194 GB, free: 10.32 MB / 0.7761 GB Notification: Performance of Templates: time 0.003034/0.01188, allocations: 1.71 MB / 0.821 GB, free: 8.668 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Discrete_Validation_TriggeredMax.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.2799052549526095]