Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.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.001418/0.001418, allocations: 80.41 kB / 20.23 MB, free: 4.195 MB / 18.57 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.001585/0.001585, allocations: 161.7 kB / 23.55 MB, free: 0.8867 MB / 18.57 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.504/1.504, allocations: 177.1 MB / 203.9 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.824/2.824, allocations: 359 MB / 0.6048 GB, free: 10.96 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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.Reals.Validation.MultiMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.1..y|con.2..y|con.3..y|con.4..y|con.5..y|maxVal.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.1..y|con.2..y|con.3..y|con.4..y|con.5..y|maxVal.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 4.499e-06/4.499e-06, allocations: 3.984 kB / 0.7864 GB, free: 12.76 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.594e-05/3.044e-05, allocations: 3.406 kB / 0.7864 GB, free: 12.76 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.001762/0.001792, allocations: 0.6628 MB / 0.7871 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0001475/0.00194, allocations: 11.92 kB / 0.7871 GB, free: 12.1 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.954e-05/0.001979, allocations: 0 / 0.7871 GB, free: 12.1 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001123/0.002092, allocations: 11.92 kB / 0.7871 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 3.339e-05/0.002125, allocations: 1.625 kB / 0.7871 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 6.047e-05/0.002186, allocations: 0 / 0.7871 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 9.217e-05/0.002278, allocations: 27.92 kB / 0.7871 GB, free: 12.06 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001264/0.002404, allocations: 19.92 kB / 0.7872 GB, free: 12.04 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 4.89e-05/0.002453, allocations: 29.12 kB / 0.7872 GB, free: 12.01 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.189e-05/0.002485, allocations: 11.98 kB / 0.7872 GB, free: 12 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.762e-05/0.002503, allocations: 0 / 0.7872 GB, free: 12 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 1.252e-05/0.002515, allocations: 4.625 kB / 0.7872 GB, free: 12 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.366e-05/0.002549, allocations: 11.94 kB / 0.7872 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.666e-05/0.002586, allocations: 9.406 kB / 0.7872 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001045/0.00269, allocations: 47.86 kB / 0.7873 GB, free: 11.93 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.953e-06/0.002692, allocations: 0 / 0.7873 GB, free: 11.93 MB / 0.7448 GB Notification: Performance of FrontEnd: time 4.71e-07/0.002692, allocations: 0.8438 kB / 0.7873 GB, free: 11.93 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.002697, allocations: 0 / 0.7873 GB, free: 11.93 MB / 0.7448 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.0003865/0.003083, allocations: 282.1 kB / 0.7875 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/0.00313, allocations: 8.594 kB / 0.7876 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.585e-05/0.003176, allocations: 9.578 kB / 0.7876 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001874/0.003363, allocations: 125.7 kB / 0.7877 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.003374, allocations: 1.281 kB / 0.7877 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.442e-05/0.003389, allocations: 8.375 kB / 0.7877 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000158/0.003547, allocations: 70.89 kB / 0.7878 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.003557, allocations: 4.188 kB / 0.7878 GB, free: 11.37 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.297e-06/0.003566, allocations: 1.062 kB / 0.7878 GB, free: 11.37 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.003571, allocations: 384 / 0.7878 GB, free: 11.37 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.997e-05/0.003661, allocations: 59.25 kB / 0.7878 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005136/0.004174, allocations: 414.9 kB / 0.7882 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001169/0.004291, allocations: 173.1 kB / 0.7884 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.639e-05/0.004338, allocations: 80.25 kB / 0.7885 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.839e-05/0.004376, allocations: 79.22 kB / 0.7885 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.164e-05/0.004448, allocations: 109.8 kB / 0.7886 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.004449, allocations: 0 / 0.7886 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 8.013e-05/0.004529, allocations: 33.64 kB / 0.7887 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.845e-05/0.004607, allocations: 126.7 kB / 0.7888 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001346/0.004742, allocations: 122.5 kB / 0.7889 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.849e-05/0.00476, allocations: 25.7 kB / 0.7889 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.934e-05/0.00484, allocations: 105.6 kB / 0.789 GB, free: 9.98 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.339e-06/0.004844, allocations: 4 kB / 0.789 GB, free: 9.977 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.341e-05/0.004877, allocations: 9.719 kB / 0.789 GB, free: 9.961 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001917/0.005069, allocations: 322.8 kB / 0.7894 GB, free: 9.637 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.049e-05/0.00509, allocations: 9.328 kB / 0.7894 GB, free: 9.629 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.192e-05/0.005101, allocations: 4 kB / 0.7894 GB, free: 9.625 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.816e-05/0.00514, allocations: 18.44 kB / 0.7894 GB, free: 9.605 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.005141, allocations: 0 / 0.7894 GB, free: 9.605 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001333/0.005274, allocations: 57.58 kB / 0.7894 GB, free: 9.543 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.005288, allocations: 4 kB / 0.7894 GB, free: 9.539 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.005293, allocations: 1.375 kB / 0.7894 GB, free: 9.539 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.005309, allocations: 0 / 0.7894 GB, free: 9.539 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.313e-05/0.005362, allocations: 7.984 kB / 0.7895 GB, free: 9.531 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.005367, allocations: 320 / 0.7895 GB, free: 9.531 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.12e-05/0.005388, allocations: 5.219 kB / 0.7895 GB, free: 9.527 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-06/0.005396, allocations: 0 / 0.7895 GB, free: 9.527 MB / 0.7448 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.0002111/0.005607, allocations: 201 kB / 0.7896 GB, free: 9.32 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.558e-05/0.005682, allocations: 101.5 kB / 0.7897 GB, free: 9.215 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.826e-05/0.005751, allocations: 112.9 kB / 0.7899 GB, free: 9.102 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.957e-05/0.00584, allocations: 177.1 kB / 0.79 GB, free: 8.922 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001212/0.005961, allocations: 188.2 kB / 0.7902 GB, free: 8.73 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.435e-05/0.006056, allocations: 184.9 kB / 0.7904 GB, free: 8.543 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002733/0.006329, allocations: 365.6 kB / 0.7907 GB, free: 8.148 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.313e-05/0.006392, allocations: 113 kB / 0.7908 GB, free: 8.031 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.572e-05/0.006458, allocations: 101.5 kB / 0.7909 GB, free: 7.926 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.949e-05/0.006557, allocations: 185.6 kB / 0.7911 GB, free: 7.738 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001121/0.00667, allocations: 184.5 kB / 0.7913 GB, free: 7.551 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.347e-05/0.006763, allocations: 184.3 kB / 0.7915 GB, free: 7.363 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.866e-05/0.006862, allocations: 188.1 kB / 0.7916 GB, free: 7.172 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002189/0.00708, allocations: 312.8 kB / 0.7919 GB, free: 6.844 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.515e-05/0.007146, allocations: 108.9 kB / 0.792 GB, free: 6.73 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001073/0.007253, allocations: 184.2 kB / 0.7922 GB, free: 6.543 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.697e-05/0.00735, allocations: 101.7 kB / 0.7923 GB, free: 6.438 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.975e-05/0.00745, allocations: 176.3 kB / 0.7925 GB, free: 6.258 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.058e-05/0.00751, allocations: 113.5 kB / 0.7926 GB, free: 6.141 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 8.182e-05/0.007592, allocations: 99.27 kB / 0.7927 GB, free: 6.043 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.007592, allocations: 1.312 kB / 0.7927 GB, free: 6.043 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002197/0.007812, allocations: 4 kB / 0.7927 GB, free: 6.039 MB / 0.7448 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.0001775/0.007989, allocations: 171.2 kB / 0.7929 GB, free: 5.863 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 6.768e-05/0.008057, allocations: 9.203 kB / 0.7929 GB, free: 5.855 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.008058, allocations: 0 / 0.7929 GB, free: 5.855 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.422e-06/0.00806, allocations: 0 / 0.7929 GB, free: 5.855 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005326/0.008592, allocations: 468.5 kB / 0.7933 GB, free: 5.395 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003402/0.008933, allocations: 215.7 kB / 0.7935 GB, free: 5.156 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.724e-05/0.00902, allocations: 81.64 kB / 0.7936 GB, free: 5.059 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.81e-05/0.009038, allocations: 0 / 0.7936 GB, free: 5.059 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3e-05/0.009068, allocations: 8.5 kB / 0.7936 GB, free: 5.051 MB / 0.7448 GB Notification: Performance of SimCode: time 4.31e-07/0.009068, allocations: 0 / 0.7936 GB, free: 5.051 MB / 0.7448 GB Notification: Performance of Templates: time 0.002593/0.01166, allocations: 323.5 kB / 0.7939 GB, free: 4.75 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_MultiMax.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.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: 7.912643520976417]