Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.000927/0.000927, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00109/0.002017, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007334/0.0007334, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009308/0.001664, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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 0.9481/0.9481, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08961/1.038, allocations: 53.65 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.389/2.389, allocations: 446.7 MB / 0.6745 GB, free: 6.203 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2661/2.655, allocations: 145.9 MB / 0.817 GB, free: 4.215 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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.[0-9,]+..y|maxVal.y",fileNamePrefix="Buildings_latest_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.[0-9,]+..y|maxVal.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 0.8184 GB, free: 2.84 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.503e-05/2.714e-05, allocations: 6.312 kB / 0.8184 GB, free: 2.832 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.002326/0.002354, allocations: 0.7107 MB / 0.8191 GB, free: 2.121 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 7.669e-05/0.00243, allocations: 11.94 kB / 0.8191 GB, free: 2.109 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.318e-05/0.002474, allocations: 0 / 0.8191 GB, free: 2.109 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 7.332e-05/0.002547, allocations: 11.86 kB / 0.8191 GB, free: 2.098 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 3.91e-05/0.002586, allocations: 0 / 0.8191 GB, free: 2.098 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 4.313e-05/0.002629, allocations: 4 kB / 0.8191 GB, free: 2.094 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001076/0.002737, allocations: 27.92 kB / 0.8191 GB, free: 2.066 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001376/0.002874, allocations: 19.97 kB / 0.8191 GB, free: 2.047 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 6.494e-05/0.002939, allocations: 23.98 kB / 0.8192 GB, free: 2.023 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 4.77e-05/0.002987, allocations: 19.91 kB / 0.8192 GB, free: 2.004 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 3.654e-05/0.003023, allocations: 4 kB / 0.8192 GB, free: 2 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 1.316e-05/0.003037, allocations: 4 kB / 0.8192 GB, free: 1.996 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 3.609e-05/0.003073, allocations: 7.938 kB / 0.8192 GB, free: 1.988 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 3.478e-05/0.003107, allocations: 8 kB / 0.8192 GB, free: 1.98 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001031/0.003211, allocations: 27.86 kB / 0.8192 GB, free: 1.953 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 2.034e-05/0.003231, allocations: 0 / 0.8192 GB, free: 1.953 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.363e-06/0.003232, allocations: 0 / 0.8192 GB, free: 1.953 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 2.063e-05/0.003253, allocations: 4 kB / 0.8192 GB, free: 1.949 MB / 0.7917 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.0004198/0.003673, allocations: 260.5 kB / 0.8195 GB, free: 1.668 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/0.003718, allocations: 16.56 kB / 0.8195 GB, free: 1.652 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.666e-05/0.003765, allocations: 12.88 kB / 0.8195 GB, free: 1.641 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001697/0.003935, allocations: 117.7 kB / 0.8196 GB, free: 1.5 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/0.003946, allocations: 384 / 0.8196 GB, free: 1.5 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.906e-05/0.003965, allocations: 8.375 kB / 0.8196 GB, free: 1.492 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001326/0.004098, allocations: 49.08 kB / 0.8197 GB, free: 1.438 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/0.004107, allocations: 192 / 0.8197 GB, free: 1.438 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.586e-06/0.004116, allocations: 384 / 0.8197 GB, free: 1.438 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.004122, allocations: 384 / 0.8197 GB, free: 1.438 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.537e-05/0.004158, allocations: 23.86 kB / 0.8197 GB, free: 1.414 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004236/0.004581, allocations: 348.4 kB / 0.82 GB, free: 1.055 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 9.391e-05/0.004675, allocations: 181 kB / 0.8202 GB, free: 0.8672 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.921e-05/0.004704, allocations: 80.14 kB / 0.8203 GB, free: 0.7852 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 2.733e-05/0.004732, allocations: 75.28 kB / 0.8203 GB, free: 0.7109 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.907e-05/0.004781, allocations: 113.8 kB / 0.8205 GB, free: 0.5898 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.004782, allocations: 0 / 0.8205 GB, free: 0.5898 MB / 0.7917 GB Notification: Performance of matching and sorting (n=0): time 7.429e-05/0.004856, allocations: 25.7 kB / 0.8205 GB, free: 0.5586 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.646e-05/0.004933, allocations: 134.7 kB / 0.8206 GB, free: 424 kB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001117/0.005044, allocations: 118.6 kB / 0.8207 GB, free: 292 kB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 1.27e-05/0.005057, allocations: 25.7 kB / 0.8207 GB, free: 260 kB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 5.432e-05/0.005111, allocations: 95.98 kB / 0.8208 GB, free: 160 kB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 6.192e-06/0.005117, allocations: 4 kB / 0.8208 GB, free: 156 kB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.793e-05/0.005155, allocations: 21.7 kB / 0.8209 GB, free: 128 kB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001192/0.005275, allocations: 314.8 kB / 0.8212 GB, free: 15.81 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.411e-05/0.005289, allocations: 4 kB / 0.8212 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.807e-06/0.005298, allocations: 0 / 0.8212 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.001e-05/0.005338, allocations: 4.859 kB / 0.8212 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.005342, allocations: 3.938 kB / 0.8212 GB, free: 15.79 MB / 0.8073 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.284e-05/0.005434, allocations: 41.62 kB / 0.8212 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.00545, allocations: 4 kB / 0.8212 GB, free: 15.74 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.005456, allocations: 4.094 kB / 0.8212 GB, free: 15.74 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.002e-05/0.005466, allocations: 0 / 0.8212 GB, free: 15.74 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.741e-05/0.005533, allocations: 4 kB / 0.8212 GB, free: 15.73 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.936e-06/0.005536, allocations: 0 / 0.8212 GB, free: 15.73 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.107e-05/0.005557, allocations: 4 kB / 0.8212 GB, free: 15.73 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.036e-05/0.005567, allocations: 0 / 0.8212 GB, free: 15.73 MB / 0.8073 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 9.558e-05/0.005663, allocations: 191.9 kB / 0.8214 GB, free: 15.53 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.003e-05/0.005723, allocations: 105 kB / 0.8215 GB, free: 15.42 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.561e-05/0.005779, allocations: 112.4 kB / 0.8216 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.539e-05/0.005844, allocations: 176.3 kB / 0.8218 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.4e-05/0.005928, allocations: 184.3 kB / 0.822 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.347e-05/0.005991, allocations: 188.2 kB / 0.8221 GB, free: 14.74 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002141/0.006206, allocations: 321.6 kB / 0.8224 GB, free: 14.4 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.793e-05/0.006243, allocations: 116.9 kB / 0.8226 GB, free: 14.28 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.404e-05/0.006277, allocations: 105 kB / 0.8227 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 4.197e-05/0.006319, allocations: 112.9 kB / 0.8228 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.432e-05/0.006374, allocations: 180.2 kB / 0.8229 GB, free: 13.87 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.484e-05/0.006429, allocations: 180.3 kB / 0.8231 GB, free: 13.69 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.174e-05/0.00649, allocations: 192.2 kB / 0.8233 GB, free: 13.49 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.803e-05/0.006548, allocations: 176.3 kB / 0.8235 GB, free: 13.31 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001347/0.006683, allocations: 303.7 kB / 0.8238 GB, free: 12.99 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.892e-05/0.006762, allocations: 192.2 kB / 0.8239 GB, free: 12.8 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.895e-05/0.006851, allocations: 104.9 kB / 0.824 GB, free: 12.69 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.084e-05/0.006912, allocations: 184.2 kB / 0.8242 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.965e-05/0.006951, allocations: 112.9 kB / 0.8243 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 3.57e-05/0.006987, allocations: 21.14 kB / 0.8243 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7.1e-08/0.006987, allocations: 0 / 0.8243 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002149/0.007202, allocations: 4 kB / 0.8243 GB, free: 12.36 MB / 0.8073 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.0001484/0.00735, allocations: 154 kB / 0.8245 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.836e-05/0.007419, allocations: 8.859 kB / 0.8245 GB, free: 12.19 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 7.975e-06/0.007427, allocations: 4 kB / 0.8245 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.543e-06/0.007428, allocations: 0 / 0.8245 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003589/0.007787, allocations: 459.6 kB / 0.8249 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002981/0.008085, allocations: 215.6 kB / 0.8251 GB, free: 11.49 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.92e-05/0.008135, allocations: 63.34 kB / 0.8252 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.121e-05/0.008156, allocations: 4 kB / 0.8252 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.449e-05/0.0082, allocations: 47.38 kB / 0.8253 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of SimCode: time 6.01e-07/0.008201, allocations: 0 / 0.8253 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of Templates: time 0.00257/0.01077, allocations: 353.4 kB / 0.8256 GB, free: 11.02 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.077448925934732]