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.001309/0.001309, allocations: 96.42 kB / 19.7 MB, free: 2.129 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.001475/0.001475, allocations: 214.9 kB / 22.99 MB, free: 4.945 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.466/1.466, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.27/3.27, allocations: 0.49 GB / 0.7959 GB, free: 35.58 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: 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.002084/0.002084, allocations: 61.64 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3219/0.324, allocations: 176.1 MB / 1.327 GB, free: 1.043 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax): time 0.002032/0.326, allocations: 0.733 MB / 1.328 GB, free: 324 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001679/0.3277, allocations: 1.206 MB / 1.329 GB, free: 15.1 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.589e-05/0.3277, allocations: 4 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.242e-05/0.3278, allocations: 3.938 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 8.404e-05/0.3278, allocations: 19.91 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005691/0.3284, allocations: 139.8 kB / 1.329 GB, free: 14.94 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.00019/0.3286, allocations: 123.7 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.3287, allocations: 8 kB / 1.329 GB, free: 14.81 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 9.777e-05/0.3288, allocations: 47.91 kB / 1.329 GB, free: 14.76 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000105/0.3289, allocations: 43.88 kB / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.849e-05/0.3289, allocations: 12 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 7.664e-05/0.329, allocations: 27.98 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.748e-05/0.329, allocations: 15.92 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 6.366e-05/0.3291, allocations: 35.91 kB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001963/0.3293, allocations: 119.6 kB / 1.33 GB, free: 14.51 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.3293, allocations: 3.984 kB / 1.33 GB, free: 14.51 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.222e-06/0.3293, allocations: 0 / 1.33 GB, free: 14.51 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.3293, allocations: 0 / 1.33 GB, free: 14.51 MB / 1.029 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.0006269/0.3299, allocations: 327.8 kB / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.33, allocations: 16.02 kB / 1.33 GB, free: 14.13 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001027/0.3301, allocations: 12.88 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001141/0.3302, allocations: 122.4 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.732e-05/0.3302, allocations: 4.375 kB / 1.33 GB, free: 13.97 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.712e-05/0.3302, allocations: 8.375 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002109/0.3304, allocations: 70.14 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.3305, allocations: 192 / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.3305, allocations: 3.938 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.3305, allocations: 4 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001912/0.3307, allocations: 39.95 kB / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004633/0.3311, allocations: 252.5 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001708/0.3313, allocations: 54.42 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001076/0.3314, allocations: 28.92 kB / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.948e-05/0.3314, allocations: 0 / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002415/0.3317, allocations: 83.36 kB / 1.331 GB, free: 13.38 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.342e-06/0.3317, allocations: 0 / 1.331 GB, free: 13.38 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0004706/0.3321, allocations: 149.6 kB / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.759e-05/0.3322, allocations: 55.41 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.843e-05/0.3323, allocations: 109.8 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.24e-05/0.3323, allocations: 33.7 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.67e-05/0.3324, allocations: 92.06 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.463e-05/0.3324, allocations: 19.8 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.484e-05/0.3325, allocations: 37.7 kB / 1.331 GB, free: 12.85 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001373/0.3326, allocations: 318.8 kB / 1.331 GB, free: 12.53 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001867/0.3328, allocations: 81.66 kB / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002044/0.333, allocations: 105.1 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002928/0.3333, allocations: 133 kB / 1.332 GB, free: 12.17 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.3333, allocations: 480 / 1.332 GB, free: 12.17 MB / 1.029 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004809/0.3338, allocations: 232.9 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.321e-05/0.3339, allocations: 37.69 kB / 1.332 GB, free: 11.88 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.3339, allocations: 3.938 kB / 1.332 GB, free: 11.88 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.3339, allocations: 0 / 1.332 GB, free: 11.88 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001036/0.334, allocations: 19.92 kB / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.728e-06/0.334, allocations: 4 kB / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002148/0.3342, allocations: 35.91 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.211e-05/0.3342, allocations: 8.062 kB / 1.332 GB, free: 11.81 MB / 1.029 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.0001178/0.3343, allocations: 122.3 kB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.727e-05/0.3344, allocations: 7.953 kB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003276/0.3347, allocations: 121.9 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.3347, allocations: 4 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.3347, allocations: 0 / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.3347, allocations: 4 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004426/0.3351, allocations: 298.2 kB / 1.332 GB, free: 11.21 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.3351, allocations: 0 / 1.332 GB, free: 11.21 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.989e-05/0.3352, allocations: 15.92 kB / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.3352, allocations: 0 / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.377e-06/0.3352, allocations: 0 / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.48e-06/0.3352, allocations: 7.984 kB / 1.332 GB, free: 11.19 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.3352, allocations: 0 / 1.332 GB, free: 11.19 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003352/0.3356, allocations: 207.8 kB / 1.333 GB, free: 10.97 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.824e-06/0.3356, allocations: 0 / 1.333 GB, free: 10.97 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.176e-05/0.3356, allocations: 8 kB / 1.333 GB, free: 10.96 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.588e-05/0.3357, allocations: 11.98 kB / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.147e-05/0.3357, allocations: 3.938 kB / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.173e-05/0.3357, allocations: 7.984 kB / 1.333 GB, free: 10.94 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.472e-05/0.3358, allocations: 87.28 kB / 1.333 GB, free: 10.85 MB / 1.029 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3358, allocations: 3.938 kB / 1.333 GB, free: 10.85 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002698/0.3361, allocations: 23.94 kB / 1.333 GB, free: 10.82 MB / 1.029 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.0001617/0.3362, allocations: 107.2 kB / 1.333 GB, free: 10.71 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000416/0.3366, allocations: 189 kB / 1.333 GB, free: 10.51 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.3366, allocations: 4 kB / 1.333 GB, free: 10.5 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001236/0.3368, allocations: 32.25 kB / 1.333 GB, free: 10.47 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002887/0.3371, allocations: 15.92 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003707/0.3374, allocations: 162.8 kB / 1.333 GB, free: 10.27 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.965e-05/0.3375, allocations: 71.47 kB / 1.333 GB, free: 10.18 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.563e-05/0.3375, allocations: 7.984 kB / 1.333 GB, free: 10.18 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.019e-05/0.3376, allocations: 15.38 kB / 1.333 GB, free: 10.16 MB / 1.029 GB Notification: Performance of SimCode: time 3.91e-07/0.3376, allocations: 0 / 1.333 GB, free: 10.16 MB / 1.029 GB Notification: Performance of Templates: time 0.004603/0.3422, allocations: 1.579 MB / 1.335 GB, free: 8.613 MB / 1.029 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=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Discrete_Validation_TriggeredMax.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.788995637005428]