Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001288/0.001288, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001789/0.003077, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001085/0.001085, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001373/0.002458, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.028/1.028, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1279/1.156, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.545/2.545, allocations: 446.7 MB / 0.6745 GB, free: 6.238 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.3168/2.861, allocations: 145.9 MB / 0.817 GB, free: 4.23 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 0.8183 GB, free: 2.949 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.468e-06/1.09e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.945 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax): time 0.001192/0.001203, allocations: 0.7775 MB / 0.819 GB, free: 2.164 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.00122/0.002423, allocations: 1.256 MB / 0.8203 GB, free: 0.8945 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.567e-05/0.002458, allocations: 0 / 0.8203 GB, free: 0.8945 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 1.998e-05/0.002478, allocations: 7.875 kB / 0.8203 GB, free: 0.8867 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 3.378e-05/0.002512, allocations: 3.938 kB / 0.8203 GB, free: 0.8828 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.000292/0.002804, allocations: 143.5 kB / 0.8204 GB, free: 0.7422 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001308/0.002935, allocations: 107.8 kB / 0.8205 GB, free: 0.6367 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 6.118e-05/0.002996, allocations: 27.91 kB / 0.8205 GB, free: 0.6094 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 9.294e-05/0.003089, allocations: 63.94 kB / 0.8206 GB, free: 0.5469 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 6.889e-05/0.003158, allocations: 35.89 kB / 0.8206 GB, free: 0.5117 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.002e-05/0.003178, allocations: 12 kB / 0.8206 GB, free: 0.5 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 6.89e-05/0.003247, allocations: 35.84 kB / 0.8207 GB, free: 476 kB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.408e-05/0.003261, allocations: 4 kB / 0.8207 GB, free: 472 kB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 3.4e-05/0.003295, allocations: 27.94 kB / 0.8207 GB, free: 444 kB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001296/0.003425, allocations: 75.81 kB / 0.8208 GB, free: 368 kB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.263e-05/0.003437, allocations: 0 / 0.8208 GB, free: 368 kB / 0.7917 GB Notification: Performance of FrontEnd: time 7.22e-07/0.003438, allocations: 4 kB / 0.8208 GB, free: 364 kB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.328e-05/0.003451, allocations: 0 / 0.8208 GB, free: 364 kB / 0.7917 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.0004581/0.003909, allocations: 318.1 kB / 0.8211 GB, free: 12 kB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.003943, allocations: 8.031 kB / 0.8211 GB, free: 4 kB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001363/0.004079, allocations: 93.97 kB / 0.8212 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.582e-05/0.004155, allocations: 117.7 kB / 0.8213 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.004166, allocations: 4.375 kB / 0.8213 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.415e-05/0.00418, allocations: 8.375 kB / 0.8213 GB, free: 15.74 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001164/0.004297, allocations: 62.92 kB / 0.8214 GB, free: 15.67 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.004307, allocations: 8.172 kB / 0.8214 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.004318, allocations: 8.359 kB / 0.8214 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.072e-05/0.004328, allocations: 4.375 kB / 0.8214 GB, free: 15.65 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.533e-05/0.004364, allocations: 7.938 kB / 0.8214 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002963/0.00466, allocations: 188.1 kB / 0.8216 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 6.031e-05/0.00472, allocations: 22.58 kB / 0.8216 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.612e-05/0.004736, allocations: 8.859 kB / 0.8216 GB, free: 15.4 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.732e-05/0.004754, allocations: 4 kB / 0.8216 GB, free: 15.4 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.357e-05/0.004847, allocations: 71.47 kB / 0.8217 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=7): time 1.263e-06/0.004849, allocations: 0 / 0.8217 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7): time 0.0001257/0.004974, allocations: 73.58 kB / 0.8217 GB, free: 15.24 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.52e-05/0.005009, allocations: 63.34 kB / 0.8218 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.085e-05/0.00507, allocations: 110.7 kB / 0.8219 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.005089, allocations: 33.7 kB / 0.8219 GB, free: 15 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.619e-05/0.005125, allocations: 92.08 kB / 0.822 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.574e-05/0.005141, allocations: 15.89 kB / 0.8221 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.599e-05/0.005187, allocations: 37.69 kB / 0.8221 GB, free: 14.85 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.785e-05/0.005265, allocations: 314.8 kB / 0.8224 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.529e-05/0.00532, allocations: 57.61 kB / 0.8224 GB, free: 14.47 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.599e-05/0.005376, allocations: 77.12 kB / 0.8225 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.41e-05/0.00545, allocations: 105 kB / 0.8226 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.005452, allocations: 0 / 0.8226 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000129/0.005581, allocations: 161 kB / 0.8228 GB, free: 14.08 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 3.531e-05/0.005616, allocations: 41.62 kB / 0.8228 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.00562, allocations: 0 / 0.8228 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.907e-06/0.005629, allocations: 4 kB / 0.8228 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.976e-05/0.005699, allocations: 11.94 kB / 0.8228 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.436e-06/0.005702, allocations: 0 / 0.8228 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.427e-05/0.005777, allocations: 36.03 kB / 0.8229 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.206e-05/0.005789, allocations: 4 kB / 0.8229 GB, free: 13.98 MB / 0.8073 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 6.366e-05/0.005852, allocations: 117.8 kB / 0.823 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.508e-06/0.005862, allocations: 11.98 kB / 0.823 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.918e-05/0.005941, allocations: 65.98 kB / 0.823 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-06/0.005942, allocations: 0 / 0.823 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.923e-06/0.005944, allocations: 0 / 0.823 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.005948, allocations: 0 / 0.823 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001392/0.006087, allocations: 202.8 kB / 0.8232 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.006089, allocations: 3.984 kB / 0.8232 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.653e-05/0.006116, allocations: 12 kB / 0.8233 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 8.827e-06/0.006125, allocations: 11.89 kB / 0.8233 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.006127, allocations: 4 kB / 0.8233 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.56e-06/0.006133, allocations: 0 / 0.8233 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.21e-07/0.006133, allocations: 0 / 0.8233 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.006136, allocations: 3.984 kB / 0.8233 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.607e-05/0.006222, allocations: 159.4 kB / 0.8234 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.665e-05/0.006238, allocations: 7.922 kB / 0.8234 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.461e-05/0.006273, allocations: 4 kB / 0.8234 GB, free: 13.33 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.846e-05/0.006301, allocations: 12.06 kB / 0.8235 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.19e-06/0.006307, allocations: 4 kB / 0.8235 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.29e-05/0.006319, allocations: 12.86 kB / 0.8235 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.00632, allocations: 0 / 0.8235 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001343/0.006454, allocations: 23.98 kB / 0.8235 GB, free: 13.28 MB / 0.8073 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 9.998e-05/0.006554, allocations: 84.42 kB / 0.8236 GB, free: 13.19 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001592/0.006713, allocations: 149.8 kB / 0.8237 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.006717, allocations: 0 / 0.8237 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.625e-05/0.006744, allocations: 20.8 kB / 0.8237 GB, free: 13 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000139/0.006883, allocations: 24.11 kB / 0.8238 GB, free: 12.97 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006481/0.007531, allocations: 164.3 kB / 0.8239 GB, free: 12.79 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.866e-05/0.007569, allocations: 63.2 kB / 0.824 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.259e-05/0.007592, allocations: 4 kB / 0.824 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.503e-05/0.007667, allocations: 67.36 kB / 0.824 GB, free: 12.63 MB / 0.8073 GB Notification: Performance of SimCode: time 4.11e-07/0.007668, allocations: 0 / 0.824 GB, free: 12.63 MB / 0.8073 GB Notification: Performance of Templates: time 0.003031/0.0107, allocations: 1.658 MB / 0.8257 GB, free: 11.02 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax/Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.ref.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.692668865434825]