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.001672/0.001672, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001833/0.001833, allocations: 215.5 kB / 22.25 MB, free: 5.262 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.554/1.554, allocations: 230.6 MB / 256 MB, free: 7.797 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.898/2.898, allocations: 475.9 MB / 0.7699 GB, free: 4.828 MB / 0.6231 GB " [Timeout remaining time 176] 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.002028/0.002028, allocations: 67.11 kB / 1.117 GB, free: 41.14 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4224/0.4244, allocations: 169.9 MB / 1.283 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax): time 0.00224/0.4266, allocations: 0.7205 MB / 1.284 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001886/0.4285, allocations: 1.203 MB / 1.285 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.215e-05/0.4286, allocations: 0 / 1.285 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.809e-05/0.4286, allocations: 3.938 kB / 1.285 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.293e-05/0.4287, allocations: 11.88 kB / 1.285 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005868/0.4293, allocations: 147 kB / 1.285 GB, free: 9.973 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002221/0.4295, allocations: 115.8 kB / 1.285 GB, free: 9.859 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.4296, allocations: 19.97 kB / 1.285 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001064/0.4297, allocations: 47.91 kB / 1.285 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001113/0.4298, allocations: 43.81 kB / 1.285 GB, free: 9.75 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.678e-05/0.4299, allocations: 8 kB / 1.285 GB, free: 9.742 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.09e-05/0.4299, allocations: 27.98 kB / 1.285 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.805e-05/0.43, allocations: 11.98 kB / 1.285 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.921e-05/0.4301, allocations: 39.86 kB / 1.285 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002632/0.4303, allocations: 111.7 kB / 1.285 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.032e-06/0.4303, allocations: 4 kB / 1.285 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.864e-06/0.4303, allocations: 0 / 1.285 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.067e-05/0.4303, allocations: 0 / 1.285 GB, free: 9.551 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.0007819/0.4311, allocations: 338 kB / 1.286 GB, free: 9.184 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.4312, allocations: 11.97 kB / 1.286 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001384/0.4313, allocations: 12.92 kB / 1.286 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001434/0.4314, allocations: 122.4 kB / 1.286 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.689e-05/0.4315, allocations: 4.375 kB / 1.286 GB, free: 9.012 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.777e-05/0.4315, allocations: 4.375 kB / 1.286 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002203/0.4317, allocations: 70.22 kB / 1.286 GB, free: 8.934 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.4317, allocations: 192 / 1.286 GB, free: 8.934 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.913e-05/0.4317, allocations: 3.938 kB / 1.286 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.4317, allocations: 0 / 1.286 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001849/0.4319, allocations: 43.95 kB / 1.286 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000506/0.4324, allocations: 256.4 kB / 1.286 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001724/0.4326, allocations: 50.48 kB / 1.286 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.878e-05/0.4327, allocations: 32.92 kB / 1.286 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.274e-05/0.4327, allocations: 0 / 1.286 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002344/0.433, allocations: 83.36 kB / 1.286 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.673e-06/0.433, allocations: 3.938 kB / 1.286 GB, free: 8.414 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0004607/0.4334, allocations: 137.6 kB / 1.287 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.309e-05/0.4335, allocations: 59.41 kB / 1.287 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/0.4336, allocations: 109.8 kB / 1.287 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.985e-05/0.4336, allocations: 33.7 kB / 1.287 GB, free: 8.047 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.869e-05/0.4337, allocations: 96.19 kB / 1.287 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.469e-05/0.4337, allocations: 19.8 kB / 1.287 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.012e-05/0.4338, allocations: 37.7 kB / 1.287 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001595/0.4339, allocations: 322.8 kB / 1.287 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001997/0.4341, allocations: 73.67 kB / 1.287 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001995/0.4343, allocations: 117 kB / 1.287 GB, free: 7.352 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002884/0.4346, allocations: 137.4 kB / 1.288 GB, free: 7.199 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.4346, allocations: 0 / 1.288 GB, free: 7.199 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005346/0.4351, allocations: 221 kB / 1.288 GB, free: 6.965 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.343e-05/0.4352, allocations: 37.69 kB / 1.288 GB, free: 6.922 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.4352, allocations: 0 / 1.288 GB, free: 6.922 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.988e-05/0.4352, allocations: 11.94 kB / 1.288 GB, free: 6.91 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.983e-05/0.4353, allocations: 20.08 kB / 1.288 GB, free: 6.891 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.4353, allocations: 0 / 1.288 GB, free: 6.891 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002019/0.4355, allocations: 31.92 kB / 1.288 GB, free: 6.859 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.601e-05/0.4356, allocations: 15.97 kB / 1.288 GB, free: 6.844 MB / 0.9825 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.00012/0.4357, allocations: 121.7 kB / 1.288 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.37e-05/0.4357, allocations: 4 kB / 1.288 GB, free: 6.711 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003211/0.436, allocations: 126 kB / 1.288 GB, free: 6.578 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.436, allocations: 0 / 1.288 GB, free: 6.578 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/0.436, allocations: 4 kB / 1.288 GB, free: 6.574 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.436, allocations: 0 / 1.288 GB, free: 6.574 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004212/0.4364, allocations: 306.1 kB / 1.288 GB, free: 6.238 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.4364, allocations: 0 / 1.288 GB, free: 6.238 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.842e-05/0.4365, allocations: 7.984 kB / 1.288 GB, free: 6.23 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.4365, allocations: 4 kB / 1.288 GB, free: 6.227 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.726e-06/0.4365, allocations: 4 kB / 1.288 GB, free: 6.223 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.4365, allocations: 0 / 1.288 GB, free: 6.223 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.4365, allocations: 0 / 1.288 GB, free: 6.223 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003256/0.4368, allocations: 207.4 kB / 1.289 GB, free: 6.004 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.492e-05/0.4369, allocations: 11.94 kB / 1.289 GB, free: 5.992 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.71e-05/0.4369, allocations: 0 / 1.289 GB, free: 5.992 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.264e-05/0.437, allocations: 11.98 kB / 1.289 GB, free: 5.98 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.218e-05/0.437, allocations: 4 kB / 1.289 GB, free: 5.977 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.753e-06/0.437, allocations: 0 / 1.289 GB, free: 5.977 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.942e-05/0.4371, allocations: 95.27 kB / 1.289 GB, free: 5.883 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.4371, allocations: 0 / 1.289 GB, free: 5.883 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002745/0.4373, allocations: 27.94 kB / 1.289 GB, free: 5.855 MB / 0.9825 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.000154/0.4375, allocations: 103.2 kB / 1.289 GB, free: 5.746 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000501/0.438, allocations: 185 kB / 1.289 GB, free: 5.547 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.438, allocations: 288 / 1.289 GB, free: 5.547 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001248/0.4381, allocations: 40.03 kB / 1.289 GB, free: 5.508 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002822/0.4384, allocations: 18.12 kB / 1.289 GB, free: 5.492 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004165/0.4388, allocations: 166.5 kB / 1.289 GB, free: 5.305 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.162e-05/0.4389, allocations: 67.34 kB / 1.289 GB, free: 5.219 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.898e-05/0.4389, allocations: 7.938 kB / 1.289 GB, free: 5.211 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.701e-05/0.439, allocations: 11.44 kB / 1.289 GB, free: 5.203 MB / 0.9825 GB Notification: Performance of SimCode: time 3.41e-07/0.439, allocations: 0 / 1.289 GB, free: 5.203 MB / 0.9825 GB Notification: Performance of Templates: time 0.004994/0.444, allocations: 1.559 MB / 1.291 GB, free: 3.68 MB / 0.9825 GB " [Timeout remaining time 299] 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/jenkins/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: 9.671736443415284]