Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.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.001723/0.001723, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.002189/0.002189, allocations: 210.1 kB / 22.99 MB, free: 4.977 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.502/1.502, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.219/3.219, allocations: 0.49 GB / 0.7959 GB, free: 35.42 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.Reals.Validation.MultiMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.1..y|con.2..y|con.3..y|con.4..y|con.5..y|minVal.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.1..y|con.2..y|con.3..y|con.4..y|con.5..y|minVal.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin") [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.002053/0.002053, allocations: 70.86 kB / 1.155 GB, free: 25.16 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.321/0.3231, allocations: 176.1 MB / 1.327 GB, free: 0.9297 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin): time 0.00186/0.3249, allocations: 0.651 MB / 1.328 GB, free: 288 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001593/0.3251, allocations: 15.92 kB / 1.328 GB, free: 272 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.499e-05/0.3251, allocations: 0 / 1.328 GB, free: 272 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 8.926e-05/0.3252, allocations: 3.938 kB / 1.328 GB, free: 268 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.053e-05/0.3253, allocations: 8 kB / 1.328 GB, free: 260 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 8.972e-05/0.3254, allocations: 7.938 kB / 1.328 GB, free: 252 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001165/0.3255, allocations: 43.89 kB / 1.328 GB, free: 208 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.3256, allocations: 15.98 kB / 1.328 GB, free: 192 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.979e-05/0.3256, allocations: 15.94 kB / 1.328 GB, free: 176 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 3.65e-05/0.3257, allocations: 15.92 kB / 1.328 GB, free: 160 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.312e-05/0.3257, allocations: 0 / 1.328 GB, free: 160 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.402e-05/0.3257, allocations: 4 kB / 1.328 GB, free: 156 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.11e-05/0.3257, allocations: 11.94 kB / 1.328 GB, free: 144 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.237e-05/0.3258, allocations: 15.92 kB / 1.328 GB, free: 128 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001028/0.3259, allocations: 51.75 kB / 1.328 GB, free: 76 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.3259, allocations: 7.984 kB / 1.328 GB, free: 68 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.082e-06/0.3259, allocations: 0 / 1.328 GB, free: 68 kB / 1.014 GB Notification: Performance of Transformations before backend: time 5.84e-06/0.3259, allocations: 0 / 1.328 GB, free: 68 kB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0003673/0.3262, allocations: 274.2 kB / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.221e-05/0.3263, allocations: 8.031 kB / 1.328 GB, free: 15.76 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.901e-05/0.3263, allocations: 4.938 kB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001627/0.3265, allocations: 122.4 kB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.57e-05/0.3265, allocations: 12.31 kB / 1.328 GB, free: 15.6 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.549e-05/0.3265, allocations: 4.375 kB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001532/0.3266, allocations: 74.22 kB / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.3267, allocations: 192 / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.416e-05/0.3267, allocations: 11.94 kB / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-06/0.3267, allocations: 7.938 kB / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.978e-05/0.3268, allocations: 47.97 kB / 1.329 GB, free: 15.45 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004465/0.3272, allocations: 415.2 kB / 1.329 GB, free: 15.01 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.987e-05/0.3273, allocations: 173.1 kB / 1.329 GB, free: 14.83 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.58e-05/0.3273, allocations: 84.17 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.491e-05/0.3274, allocations: 75.28 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.376e-05/0.3274, allocations: 109.8 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 9.91e-07/0.3274, allocations: 0 / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 7.075e-05/0.3275, allocations: 29.7 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.983e-05/0.3276, allocations: 134.7 kB / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001343/0.3277, allocations: 129.8 kB / 1.33 GB, free: 14.24 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.334e-05/0.3277, allocations: 25.7 kB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.822e-05/0.3278, allocations: 104 kB / 1.33 GB, free: 14.1 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.264e-06/0.3278, allocations: 0 / 1.33 GB, free: 14.1 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.308e-05/0.3278, allocations: 13.83 kB / 1.33 GB, free: 14.08 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001404/0.328, allocations: 322.7 kB / 1.33 GB, free: 13.76 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.839e-05/0.328, allocations: 8 kB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.505e-05/0.328, allocations: 7.984 kB / 1.33 GB, free: 13.74 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.385e-05/0.328, allocations: 12.86 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.328, allocations: 8.062 kB / 1.33 GB, free: 13.72 MB / 1.029 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001076/0.3282, allocations: 49.67 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/0.3282, allocations: 4 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.366e-06/0.3282, allocations: 0 / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.3282, allocations: 7.938 kB / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.921e-05/0.3282, allocations: 4 kB / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.958e-06/0.3282, allocations: 0 / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.46e-05/0.3283, allocations: 7.938 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.886e-06/0.3283, allocations: 0 / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * 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.000118/0.3284, allocations: 201.7 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.905e-05/0.3285, allocations: 104.9 kB / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.771e-05/0.3285, allocations: 116.4 kB / 1.331 GB, free: 13.19 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.49e-05/0.3286, allocations: 176.3 kB / 1.331 GB, free: 13.01 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.084e-05/0.3287, allocations: 180.3 kB / 1.331 GB, free: 12.83 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.412e-05/0.3288, allocations: 184.1 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002445/0.329, allocations: 364.9 kB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.734e-05/0.329, allocations: 112.9 kB / 1.332 GB, free: 12.13 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.535e-05/0.3291, allocations: 101 kB / 1.332 GB, free: 12.02 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.082e-05/0.3292, allocations: 180.2 kB / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.241e-05/0.3293, allocations: 184.2 kB / 1.332 GB, free: 11.65 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.359e-05/0.3293, allocations: 184.3 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.154e-05/0.3294, allocations: 180.2 kB / 1.332 GB, free: 11.28 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001651/0.3296, allocations: 311.8 kB / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.618e-05/0.3296, allocations: 112.9 kB / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.999e-05/0.3297, allocations: 180.3 kB / 1.333 GB, free: 10.65 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.141e-05/0.3298, allocations: 109.2 kB / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.515e-05/0.3299, allocations: 180.3 kB / 1.333 GB, free: 10.36 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.253e-05/0.3299, allocations: 101 kB / 1.333 GB, free: 10.25 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.329e-05/0.33, allocations: 99.27 kB / 1.333 GB, free: 10.15 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.33, allocations: 3.938 kB / 1.333 GB, free: 10.15 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002302/0.3303, allocations: 11.89 kB / 1.333 GB, free: 10.14 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001482/0.3304, allocations: 177.2 kB / 1.334 GB, free: 9.957 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 7.918e-05/0.3305, allocations: 15.94 kB / 1.334 GB, free: 9.941 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.3305, allocations: 4 kB / 1.334 GB, free: 9.938 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.542e-06/0.3305, allocations: 0 / 1.334 GB, free: 9.938 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004683/0.331, allocations: 455.7 kB / 1.334 GB, free: 9.488 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003362/0.3313, allocations: 208.2 kB / 1.334 GB, free: 9.258 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.59e-05/0.3314, allocations: 79.33 kB / 1.334 GB, free: 9.16 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 1.845e-05/0.3314, allocations: 8 kB / 1.334 GB, free: 9.152 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.568e-05/0.3314, allocations: 11.44 kB / 1.334 GB, free: 9.141 MB / 1.029 GB Notification: Performance of SimCode: time 7.11e-07/0.3314, allocations: 0 / 1.334 GB, free: 9.141 MB / 1.029 GB Notification: Performance of Templates: time 0.00251/0.3339, allocations: 347.3 kB / 1.335 GB, free: 8.805 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_MultiMin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.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.914474855992012]