Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001276/0.001276, allocations: 102.1 kB / 19.7 MB, free: 2.254 MB / 14.72 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.00149/0.00149, allocations: 215.8 kB / 23.01 MB, free: 4.609 MB / 14.72 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.442/1.442, allocations: 230.6 MB / 256.8 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.738/2.738, allocations: 476.7 MB / 0.7714 GB, free: 4.297 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001979/0.001979, allocations: 65.62 kB / 1.119 GB, free: 8.766 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3494/0.3513, allocations: 169.9 MB / 1.285 GB, free: 3.352 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax): time 0.002157/0.3535, allocations: 0.7401 MB / 1.285 GB, free: 2.609 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001834/0.3553, allocations: 1.226 MB / 1.287 GB, free: 1.371 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.176e-05/0.3554, allocations: 0 / 1.287 GB, free: 1.371 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.286e-05/0.3554, allocations: 3.938 kB / 1.287 GB, free: 1.367 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.971e-05/0.3555, allocations: 27.84 kB / 1.287 GB, free: 1.34 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005438/0.356, allocations: 135.2 kB / 1.287 GB, free: 1.211 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000206/0.3563, allocations: 119.8 kB / 1.287 GB, free: 1.094 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.3564, allocations: 8 kB / 1.287 GB, free: 1.086 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001042/0.3565, allocations: 51.84 kB / 1.287 GB, free: 1.035 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001143/0.3566, allocations: 47.81 kB / 1.287 GB, free: 0.9883 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.699e-05/0.3566, allocations: 12 kB / 1.287 GB, free: 0.9766 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.357e-05/0.3567, allocations: 27.98 kB / 1.287 GB, free: 0.9492 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.91e-05/0.3567, allocations: 15.98 kB / 1.287 GB, free: 0.9336 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.609e-05/0.3568, allocations: 43.84 kB / 1.287 GB, free: 0.8906 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001998/0.357, allocations: 119.6 kB / 1.287 GB, free: 0.7734 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.357, allocations: 0 / 1.287 GB, free: 0.7734 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.142e-06/0.357, allocations: 0 / 1.287 GB, free: 0.7734 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.357, allocations: 0 / 1.287 GB, free: 0.7734 MB / 0.9825 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.0006405/0.3576, allocations: 331.8 kB / 1.287 GB, free: 420 kB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.3577, allocations: 12.03 kB / 1.287 GB, free: 408 kB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001001/0.3578, allocations: 4.938 kB / 1.287 GB, free: 404 kB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001255/0.3579, allocations: 134.3 kB / 1.288 GB, free: 244 kB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.088e-05/0.3579, allocations: 8.375 kB / 1.288 GB, free: 236 kB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.445e-05/0.3579, allocations: 8.359 kB / 1.288 GB, free: 228 kB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002101/0.3582, allocations: 66.22 kB / 1.288 GB, free: 156 kB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.3582, allocations: 192 / 1.288 GB, free: 156 kB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.737e-05/0.3582, allocations: 7.938 kB / 1.288 GB, free: 148 kB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.708e-06/0.3582, allocations: 0 / 1.288 GB, free: 148 kB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001779/0.3584, allocations: 43.95 kB / 1.288 GB, free: 104 kB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005588/0.3589, allocations: 299.7 kB / 1.288 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001867/0.3591, allocations: 46.56 kB / 1.288 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.784e-05/0.3592, allocations: 28.92 kB / 1.288 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.38e-05/0.3592, allocations: 0 / 1.288 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002595/0.3595, allocations: 91.34 kB / 1.288 GB, free: 15.58 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.203e-06/0.3595, allocations: 0 / 1.288 GB, free: 15.58 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0004359/0.3599, allocations: 141.6 kB / 1.288 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.819e-05/0.36, allocations: 51.41 kB / 1.288 GB, free: 15.37 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001103/0.3601, allocations: 117.8 kB / 1.288 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.361e-05/0.3601, allocations: 33.7 kB / 1.288 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.679e-05/0.3602, allocations: 88.14 kB / 1.289 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.642e-05/0.3602, allocations: 15.86 kB / 1.289 GB, free: 15.1 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.036e-05/0.3603, allocations: 37.69 kB / 1.289 GB, free: 15.06 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001532/0.3604, allocations: 322.8 kB / 1.289 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001484/0.3606, allocations: 47.95 kB / 1.289 GB, free: 14.69 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001666/0.3608, allocations: 79.28 kB / 1.289 GB, free: 14.6 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002832/0.361, allocations: 133 kB / 1.289 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.361, allocations: 0 / 1.289 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004297/0.3615, allocations: 199.3 kB / 1.289 GB, free: 14.24 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.168e-05/0.3615, allocations: 33.7 kB / 1.289 GB, free: 14.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.3615, allocations: 8.453 kB / 1.289 GB, free: 14.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.3615, allocations: 0 / 1.289 GB, free: 14.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.247e-05/0.3616, allocations: 11.98 kB / 1.289 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.128e-05/0.3616, allocations: 4 kB / 1.289 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002209/0.3619, allocations: 43.91 kB / 1.289 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.104e-05/0.3619, allocations: 11.94 kB / 1.289 GB, free: 14.12 MB / 0.9981 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 0.0001114/0.362, allocations: 131.1 kB / 1.29 GB, free: 13.99 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.34e-05/0.362, allocations: 3.953 kB / 1.29 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002938/0.3623, allocations: 110 kB / 1.29 GB, free: 13.87 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.3623, allocations: 4 kB / 1.29 GB, free: 13.87 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.3623, allocations: 0 / 1.29 GB, free: 13.87 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/0.3623, allocations: 4 kB / 1.29 GB, free: 13.86 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004307/0.3627, allocations: 333.5 kB / 1.29 GB, free: 13.49 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.3627, allocations: 0 / 1.29 GB, free: 13.49 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.75e-05/0.3628, allocations: 19.98 kB / 1.29 GB, free: 13.47 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.3628, allocations: 0 / 1.29 GB, free: 13.47 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.837e-06/0.3628, allocations: 0 / 1.29 GB, free: 13.47 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.3628, allocations: 0 / 1.29 GB, free: 13.47 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.3628, allocations: 3.984 kB / 1.29 GB, free: 13.46 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003022/0.3631, allocations: 207.4 kB / 1.29 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.763e-05/0.3631, allocations: 7.953 kB / 1.29 GB, free: 13.24 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.776e-05/0.3632, allocations: 0 / 1.29 GB, free: 13.24 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.99e-05/0.3633, allocations: 11.98 kB / 1.29 GB, free: 13.23 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.144e-05/0.3633, allocations: 7.938 kB / 1.29 GB, free: 13.22 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.859e-06/0.3633, allocations: 3.984 kB / 1.29 GB, free: 13.21 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.63e-05/0.3634, allocations: 91.28 kB / 1.29 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.3634, allocations: 0 / 1.29 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002694/0.3636, allocations: 23.94 kB / 1.29 GB, free: 13.1 MB / 0.9981 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.0001598/0.3638, allocations: 103.2 kB / 1.29 GB, free: 12.99 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003777/0.3642, allocations: 159.2 kB / 1.291 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3642, allocations: 128 / 1.291 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001241/0.3643, allocations: 43.91 kB / 1.291 GB, free: 12.78 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003262/0.3646, allocations: 18.7 kB / 1.291 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004103/0.365, allocations: 181.1 kB / 1.291 GB, free: 12.55 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003378/0.3654, allocations: 0.6923 MB / 1.292 GB, free: 11.84 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.98e-05/0.3654, allocations: 15.44 kB / 1.292 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of SimCode: time 3e-07/0.3654, allocations: 0 / 1.292 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of Templates: time 0.003341/0.3687, allocations: 1.203 MB / 1.293 GB, free: 10.62 MB / 0.9981 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Discrete_Validation_TriggeredMax.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.913167216989677]