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.001155/0.001155, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001696/0.002851, allocations: 449.7 kB / 10.37 MB, free: 328 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.001116/0.001116, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001494/0.002609, allocations: 459.6 kB / 11.71 MB, free: 2.457 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.057/1.057, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1195/1.177, allocations: 53.66 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 2.012/2.012, allocations: 378.2 MB / 0.6076 GB, free: 7.832 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.49/2.502, allocations: 123.3 MB / 0.728 GB, free: 5.82 MB / 0.698 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.174e-06/2.174e-06, allocations: 0.6562 kB / 0.7293 GB, free: 4.562 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.176e-05/2.394e-05, allocations: 10.25 kB / 0.7293 GB, free: 4.551 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax): time 0.002002/0.002026, allocations: 0.7701 MB / 0.7301 GB, free: 3.805 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001591/0.003617, allocations: 1.245 MB / 0.7313 GB, free: 2.551 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.433e-05/0.003661, allocations: 0 / 0.7313 GB, free: 2.551 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.525e-05/0.003686, allocations: 5.344 kB / 0.7313 GB, free: 2.547 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 5.761e-05/0.003744, allocations: 19.64 kB / 0.7313 GB, free: 2.531 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004491/0.004193, allocations: 141.1 kB / 0.7314 GB, free: 2.395 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002034/0.004396, allocations: 115.9 kB / 0.7315 GB, free: 2.293 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 8.977e-05/0.004486, allocations: 11.98 kB / 0.7316 GB, free: 2.281 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001456/0.004632, allocations: 75.22 kB / 0.7316 GB, free: 2.211 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 9.694e-05/0.004729, allocations: 34.34 kB / 0.7317 GB, free: 2.18 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.655e-05/0.004755, allocations: 12.66 kB / 0.7317 GB, free: 2.168 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001001/0.004856, allocations: 32.61 kB / 0.7317 GB, free: 2.137 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.386e-05/0.004879, allocations: 11.94 kB / 0.7317 GB, free: 2.125 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 4.831e-05/0.004928, allocations: 24.44 kB / 0.7317 GB, free: 2.102 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001857/0.005113, allocations: 88.28 kB / 0.7318 GB, free: 2.016 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.627e-05/0.00513, allocations: 0.875 kB / 0.7318 GB, free: 2.016 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.022e-06/0.005131, allocations: 0 / 0.7318 GB, free: 2.016 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.874e-05/0.005149, allocations: 0 / 0.7318 GB, free: 2.016 MB / 0.698 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.0005472/0.005697, allocations: 311.6 kB / 0.7321 GB, free: 1.68 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.005732, allocations: 8.031 kB / 0.7321 GB, free: 1.672 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001496/0.005881, allocations: 93.97 kB / 0.7322 GB, free: 1.562 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001061/0.005988, allocations: 114.4 kB / 0.7323 GB, free: 1.426 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.762e-05/0.006005, allocations: 4.375 kB / 0.7323 GB, free: 1.422 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.096e-05/0.006026, allocations: 13.06 kB / 0.7323 GB, free: 1.41 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001329/0.006159, allocations: 60.66 kB / 0.7324 GB, free: 1.344 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.00617, allocations: 8.109 kB / 0.7324 GB, free: 1.336 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.348e-06/0.00618, allocations: 4.359 kB / 0.7324 GB, free: 1.332 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.441e-06/0.006185, allocations: 384 / 0.7324 GB, free: 1.332 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.678e-05/0.006222, allocations: 11.94 kB / 0.7324 GB, free: 1.32 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003373/0.006559, allocations: 181 kB / 0.7326 GB, free: 1.129 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.629e-05/0.006636, allocations: 23.08 kB / 0.7326 GB, free: 1.098 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.728e-05/0.006653, allocations: 13.64 kB / 0.7326 GB, free: 1.082 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.379e-05/0.006677, allocations: 7.984 kB / 0.7326 GB, free: 1.074 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001215/0.006798, allocations: 63.97 kB / 0.7327 GB, free: 1 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.563e-06/0.0068, allocations: 1.25 kB / 0.7327 GB, free: 1 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0001659/0.006966, allocations: 69.61 kB / 0.7328 GB, free: 0.9258 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.519e-05/0.007011, allocations: 63.33 kB / 0.7328 GB, free: 0.8516 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.328e-05/0.007094, allocations: 123.4 kB / 0.7329 GB, free: 0.7188 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.097e-05/0.007115, allocations: 29.7 kB / 0.733 GB, free: 0.6836 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.887e-05/0.007164, allocations: 88.72 kB / 0.7331 GB, free: 0.5938 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.252e-05/0.007186, allocations: 19.88 kB / 0.7331 GB, free: 0.5742 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.122e-05/0.007248, allocations: 34.38 kB / 0.7331 GB, free: 0.5352 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.621e-05/0.007344, allocations: 318.8 kB / 0.7334 GB, free: 220 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.939e-05/0.007413, allocations: 59.44 kB / 0.7335 GB, free: 156 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.261e-05/0.007486, allocations: 77.12 kB / 0.7335 GB, free: 60 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001205/0.007606, allocations: 101 kB / 0.7336 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.007609, allocations: 0.5938 kB / 0.7336 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001902/0.007799, allocations: 161.9 kB / 0.7338 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 4.857e-05/0.007848, allocations: 47.97 kB / 0.7338 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.619e-06/0.007857, allocations: 0.5312 kB / 0.7338 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.007869, allocations: 9.062 kB / 0.7339 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.812e-05/0.007958, allocations: 8 kB / 0.7339 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.007962, allocations: 0 / 0.7339 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001054/0.008068, allocations: 24.69 kB / 0.7339 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.956e-05/0.008087, allocations: 8.531 kB / 0.7339 GB, free: 15.67 MB / 0.7136 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 8.067e-05/0.008168, allocations: 122.7 kB / 0.734 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.367e-05/0.008182, allocations: 4 kB / 0.734 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001158/0.008297, allocations: 67.2 kB / 0.7341 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.008299, allocations: 0 / 0.7341 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.973e-06/0.008301, allocations: 0 / 0.7341 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.008306, allocations: 5.562 kB / 0.7341 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001932/0.008499, allocations: 210.8 kB / 0.7343 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.008502, allocations: 3.938 kB / 0.7343 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.254e-05/0.008554, allocations: 8 kB / 0.7343 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.916e-06/0.008563, allocations: 4.438 kB / 0.7343 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.008567, allocations: 4.656 kB / 0.7343 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.008576, allocations: 3.984 kB / 0.7343 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.008579, allocations: 0.75 kB / 0.7343 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.00858, allocations: 0 / 0.7343 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000119/0.008699, allocations: 153 kB / 0.7345 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.819e-05/0.008717, allocations: 3.938 kB / 0.7345 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.957e-05/0.008787, allocations: 4 kB / 0.7345 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.182e-05/0.008819, allocations: 5.266 kB / 0.7345 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.919e-06/0.008829, allocations: 8 kB / 0.7345 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.467e-05/0.008853, allocations: 24.77 kB / 0.7345 GB, free: 14.99 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.01e-07/0.008853, allocations: 0.5625 kB / 0.7345 GB, free: 14.99 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002332/0.009087, allocations: 21.16 kB / 0.7345 GB, free: 14.97 MB / 0.7136 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.0001353/0.009222, allocations: 88.41 kB / 0.7346 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001938/0.009416, allocations: 146.8 kB / 0.7347 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.009421, allocations: 0 / 0.7347 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.805e-05/0.009459, allocations: 26.16 kB / 0.7348 GB, free: 14.69 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000217/0.009676, allocations: 21.02 kB / 0.7348 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009447/0.01062, allocations: 168.8 kB / 0.7349 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.192e-05/0.01066, allocations: 61.09 kB / 0.735 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.706e-05/0.0107, allocations: 7.938 kB / 0.735 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.899e-05/0.0108, allocations: 67.36 kB / 0.7351 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of SimCode: time 6.91e-07/0.0108, allocations: 1.062 kB / 0.7351 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of Templates: time 0.00703/0.01783, allocations: 1.643 MB / 0.7367 GB, free: 12.77 MB / 0.7136 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 -ignoreHideResult -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax/Buildings_12_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.2205874575302005]