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.0009826/0.0009826, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001359/0.002341, allocations: 449.8 kB / 10.44 MB, free: 252 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.0007747/0.0007747, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001013/0.001787, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.008/1.008, allocations: 177.2 MB / 189.8 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1008/1.109, allocations: 53.66 MB / 243.4 MB, free: 15.52 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 1.952/1.952, allocations: 378.4 MB / 0.6079 GB, free: 7.695 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5438/2.496, allocations: 123.3 MB / 0.7283 GB, free: 5.742 MB / 0.698 GB " [Timeout remaining time 178] 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 1.953e-06/1.953e-06, allocations: 0 / 0.7296 GB, free: 4.445 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.965e-05/2.16e-05, allocations: 3.688 kB / 0.7296 GB, free: 4.441 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax): time 0.001979/0.002001, allocations: 0.7798 MB / 0.7304 GB, free: 3.699 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001542/0.003542, allocations: 1.248 MB / 0.7316 GB, free: 2.441 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.754e-05/0.00359, allocations: 5.125 kB / 0.7316 GB, free: 2.438 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.638e-05/0.003616, allocations: 3.938 kB / 0.7316 GB, free: 2.434 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 5.086e-05/0.003667, allocations: 11.91 kB / 0.7316 GB, free: 2.426 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003958/0.004063, allocations: 147.7 kB / 0.7318 GB, free: 2.285 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001926/0.004256, allocations: 118.8 kB / 0.7319 GB, free: 2.18 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 9.959e-05/0.004355, allocations: 4 kB / 0.7319 GB, free: 2.176 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001386/0.004494, allocations: 78.55 kB / 0.732 GB, free: 2.102 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 9.571e-05/0.00459, allocations: 34.12 kB / 0.732 GB, free: 2.07 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.687e-05/0.004616, allocations: 12 kB / 0.732 GB, free: 2.059 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 9.551e-05/0.004712, allocations: 37.39 kB / 0.732 GB, free: 2.023 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.63e-05/0.004738, allocations: 7.484 kB / 0.732 GB, free: 2.02 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 4.814e-05/0.004786, allocations: 28.59 kB / 0.7321 GB, free: 1.992 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.000162/0.004948, allocations: 75.75 kB / 0.7321 GB, free: 1.918 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.378e-05/0.004962, allocations: 0 / 0.7321 GB, free: 1.918 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.212e-06/0.004963, allocations: 0.5312 kB / 0.7321 GB, free: 1.918 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.429e-05/0.004978, allocations: 0 / 0.7321 GB, free: 1.918 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.0005793/0.005557, allocations: 311.7 kB / 0.7324 GB, free: 1.582 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.005596, allocations: 12.03 kB / 0.7325 GB, free: 1.57 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001633/0.00576, allocations: 97.97 kB / 0.7325 GB, free: 1.457 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001053/0.005865, allocations: 114.7 kB / 0.7327 GB, free: 1.32 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.737e-05/0.005882, allocations: 4.375 kB / 0.7327 GB, free: 1.316 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.212e-05/0.005904, allocations: 4.375 kB / 0.7327 GB, free: 1.312 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001354/0.00604, allocations: 71.36 kB / 0.7327 GB, free: 1.234 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.986e-06/0.006049, allocations: 1.875 kB / 0.7327 GB, free: 1.234 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.297e-06/0.006058, allocations: 4.375 kB / 0.7327 GB, free: 1.23 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.006064, allocations: 384 / 0.7327 GB, free: 1.23 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.88e-05/0.006093, allocations: 7.938 kB / 0.7327 GB, free: 1.223 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003143/0.006407, allocations: 181.5 kB / 0.7329 GB, free: 1.031 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.292e-05/0.00648, allocations: 34.5 kB / 0.733 GB, free: 0.9883 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.711e-05/0.006497, allocations: 9.516 kB / 0.733 GB, free: 0.9766 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.667e-05/0.006514, allocations: 4 kB / 0.733 GB, free: 0.9727 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001046/0.006618, allocations: 64.66 kB / 0.733 GB, free: 0.8984 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.292e-06/0.00662, allocations: 0 / 0.733 GB, free: 0.8984 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.000145/0.006765, allocations: 73.55 kB / 0.7331 GB, free: 0.8203 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.247e-05/0.006797, allocations: 56.28 kB / 0.7332 GB, free: 0.7539 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.164e-05/0.006869, allocations: 122.5 kB / 0.7333 GB, free: 0.6211 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.002e-05/0.006889, allocations: 30.48 kB / 0.7333 GB, free: 0.5859 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.516e-05/0.006934, allocations: 96.08 kB / 0.7334 GB, free: 500 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.965e-05/0.006954, allocations: 16.52 kB / 0.7334 GB, free: 484 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.587e-05/0.007009, allocations: 29.7 kB / 0.7334 GB, free: 448 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.953e-05/0.007099, allocations: 323.7 kB / 0.7337 GB, free: 116 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.128e-05/0.00717, allocations: 53.69 kB / 0.7338 GB, free: 56 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.852e-05/0.007259, allocations: 81.94 kB / 0.7339 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001018/0.007361, allocations: 106.4 kB / 0.734 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.007362, allocations: 0 / 0.734 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001846/0.007547, allocations: 165.5 kB / 0.7341 GB, free: 15.65 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.955e-05/0.007586, allocations: 43.36 kB / 0.7342 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.007592, allocations: 1.438 kB / 0.7342 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.007605, allocations: 0 / 0.7342 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.256e-05/0.007688, allocations: 15.98 kB / 0.7342 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.106e-06/0.007691, allocations: 1.594 kB / 0.7342 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.449e-05/0.007785, allocations: 19.98 kB / 0.7342 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.05e-05/0.007806, allocations: 7.984 kB / 0.7342 GB, free: 15.56 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 7.676e-05/0.007883, allocations: 126.5 kB / 0.7343 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.391e-05/0.007897, allocations: 5.312 kB / 0.7343 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001012/0.007998, allocations: 66.03 kB / 0.7344 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.008, allocations: 0 / 0.7344 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.776e-06/0.008003, allocations: 3.984 kB / 0.7344 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.008006, allocations: 1.344 kB / 0.7344 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001912/0.008198, allocations: 210.7 kB / 0.7346 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.053e-06/0.0082, allocations: 0 / 0.7346 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.13e-05/0.008251, allocations: 13.23 kB / 0.7346 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.384e-06/0.008258, allocations: 3.938 kB / 0.7346 GB, free: 15.1 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.008261, allocations: 0 / 0.7346 GB, free: 15.1 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/0.008269, allocations: 4 kB / 0.7346 GB, free: 15.1 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.275e-06/0.008271, allocations: 1.25 kB / 0.7346 GB, free: 15.1 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.008272, allocations: 0 / 0.7346 GB, free: 15.1 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001035/0.008376, allocations: 155.9 kB / 0.7348 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.695e-05/0.008393, allocations: 8.906 kB / 0.7348 GB, free: 14.92 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.295e-05/0.008456, allocations: 11.98 kB / 0.7348 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.722e-05/0.008483, allocations: 0 / 0.7348 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.88e-06/0.008488, allocations: 0.5312 kB / 0.7348 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.076e-05/0.008508, allocations: 18 kB / 0.7348 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of sort global known variables: time 8e-08/0.008509, allocations: 0 / 0.7348 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002155/0.008724, allocations: 24 kB / 0.7348 GB, free: 14.87 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.0001341/0.008858, allocations: 89.17 kB / 0.7349 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000183/0.009041, allocations: 147.1 kB / 0.7351 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.009046, allocations: 3.938 kB / 0.7351 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.329e-05/0.00909, allocations: 29.47 kB / 0.7351 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000222/0.009312, allocations: 97.84 kB / 0.7352 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008296/0.01014, allocations: 170.9 kB / 0.7354 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.788e-05/0.01018, allocations: 59.36 kB / 0.7354 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.98e-05/0.01021, allocations: 4 kB / 0.7354 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.302e-05/0.0103, allocations: 68.69 kB / 0.7355 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of SimCode: time 7.11e-07/0.0103, allocations: 0 / 0.7355 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of Templates: time 0.003892/0.01419, allocations: 1.609 MB / 0.7371 GB, free: 12.6 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.1133000534027815]