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.001368/0.001368, allocations: 80.39 kB / 21.47 MB, free: 3.031 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.001192/0.001192, allocations: 171.1 kB / 24.87 MB, free: 9.258 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 0.9565/0.9565, allocations: 177.1 MB / 205.3 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] 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 1.822/1.822, allocations: 359 MB / 0.6063 GB, free: 10.89 MB / 0.573 GB " [Timeout remaining time 178] 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.[0-9,]+..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.[0-9,]+..y|maxVal.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.675e-06/2.675e-06, allocations: 3.938 kB / 0.7884 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.678e-05/2.946e-05, allocations: 2.312 kB / 0.7884 GB, free: 12.13 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.002085/0.002115, allocations: 0.6693 MB / 0.789 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0001562/0.002271, allocations: 8 kB / 0.789 GB, free: 11.47 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.678e-05/0.002318, allocations: 1.062 kB / 0.789 GB, free: 11.47 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001333/0.002451, allocations: 15.86 kB / 0.7891 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.153e-05/0.002492, allocations: 0.6562 kB / 0.7891 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 6.829e-05/0.002561, allocations: 4 kB / 0.7891 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 8.616e-05/0.002647, allocations: 24.48 kB / 0.7891 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001349/0.002782, allocations: 24.75 kB / 0.7891 GB, free: 11.4 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.962e-05/0.002821, allocations: 15.98 kB / 0.7891 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.613e-05/0.002857, allocations: 17.52 kB / 0.7891 GB, free: 11.37 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.898e-05/0.002886, allocations: 4 kB / 0.7891 GB, free: 11.37 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 1.227e-05/0.002899, allocations: 4 kB / 0.7892 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.528e-05/0.002934, allocations: 11.98 kB / 0.7892 GB, free: 11.35 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.668e-05/0.002961, allocations: 11.94 kB / 0.7892 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001059/0.003066, allocations: 43.14 kB / 0.7892 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.003069, allocations: 0 / 0.7892 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.92e-07/0.00307, allocations: 0 / 0.7892 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.003074, allocations: 0 / 0.7892 GB, free: 11.3 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.0003196/0.003394, allocations: 372.6 kB / 0.7896 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.00343, allocations: 8.031 kB / 0.7896 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.331e-05/0.003464, allocations: 8.891 kB / 0.7896 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001334/0.003597, allocations: 124.5 kB / 0.7897 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.092e-05/0.003608, allocations: 8.375 kB / 0.7897 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.035e-06/0.003616, allocations: 1.219 kB / 0.7897 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.724e-05/0.003703, allocations: 54.12 kB / 0.7898 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.003711, allocations: 0.7812 kB / 0.7898 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.003721, allocations: 5.844 kB / 0.7898 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.276e-06/0.003729, allocations: 8.359 kB / 0.7898 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.489e-05/0.003754, allocations: 11.94 kB / 0.7898 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000379/0.004133, allocations: 0.4986 MB / 0.7903 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00011/0.004243, allocations: 266.2 kB / 0.7905 GB, free: 9.844 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.155e-05/0.004285, allocations: 130.9 kB / 0.7907 GB, free: 9.711 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.49e-05/0.00433, allocations: 120.5 kB / 0.7908 GB, free: 9.594 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.183e-05/0.004381, allocations: 156.5 kB / 0.7909 GB, free: 9.43 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 1.133e-06/0.004382, allocations: 0 / 0.7909 GB, free: 9.43 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 6.322e-05/0.004446, allocations: 34.19 kB / 0.791 GB, free: 9.391 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.342e-05/0.004509, allocations: 170.6 kB / 0.7911 GB, free: 9.211 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000137/0.004646, allocations: 179.3 kB / 0.7913 GB, free: 9.02 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.688e-06/0.004656, allocations: 29.7 kB / 0.7913 GB, free: 8.984 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.685e-05/0.004723, allocations: 138.8 kB / 0.7914 GB, free: 8.844 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.128e-06/0.004727, allocations: 4.609 kB / 0.7915 GB, free: 8.84 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.734e-05/0.004764, allocations: 24.89 kB / 0.7915 GB, free: 8.809 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.0049, allocations: 0.4884 MB / 0.792 GB, free: 8.309 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.645e-06/0.004907, allocations: 0 / 0.792 GB, free: 8.309 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.045e-06/0.004915, allocations: 0.5312 kB / 0.792 GB, free: 8.309 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.6e-05/0.004951, allocations: 20.97 kB / 0.792 GB, free: 8.285 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.004954, allocations: 0 / 0.792 GB, free: 8.285 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.605e-05/0.00505, allocations: 41.64 kB / 0.792 GB, free: 8.238 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 7.498e-05/0.005125, allocations: 4.625 kB / 0.792 GB, free: 8.234 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.005129, allocations: 0 / 0.792 GB, free: 8.234 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.095e-06/0.005137, allocations: 1.969 kB / 0.792 GB, free: 8.234 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.882e-05/0.005186, allocations: 8.094 kB / 0.792 GB, free: 8.227 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.033e-06/0.005188, allocations: 3.938 kB / 0.792 GB, free: 8.223 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.964e-05/0.005207, allocations: 4 kB / 0.792 GB, free: 8.219 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/0.005215, allocations: 0 / 0.792 GB, free: 8.219 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.0001001/0.005315, allocations: 276.2 kB / 0.7923 GB, free: 7.938 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.376e-05/0.005389, allocations: 157.5 kB / 0.7925 GB, free: 7.777 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.411e-05/0.005443, allocations: 156.3 kB / 0.7926 GB, free: 7.621 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.857e-05/0.005511, allocations: 273.5 kB / 0.7929 GB, free: 7.348 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.995e-05/0.005581, allocations: 268.1 kB / 0.7931 GB, free: 7.078 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.819e-05/0.005649, allocations: 264.1 kB / 0.7934 GB, free: 6.812 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003577/0.006007, allocations: 0.4893 MB / 0.7938 GB, free: 6.289 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-05/0.006045, allocations: 144.9 kB / 0.794 GB, free: 6.141 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.997e-05/0.006085, allocations: 157.8 kB / 0.7941 GB, free: 5.98 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.915e-05/0.006154, allocations: 264.1 kB / 0.7944 GB, free: 5.715 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.326e-05/0.006228, allocations: 268.1 kB / 0.7946 GB, free: 5.445 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.827e-05/0.006296, allocations: 268.8 kB / 0.7949 GB, free: 5.176 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.396e-05/0.00637, allocations: 268.1 kB / 0.7952 GB, free: 4.906 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001547/0.006524, allocations: 456.4 kB / 0.7956 GB, free: 4.434 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.881e-05/0.006573, allocations: 149.9 kB / 0.7957 GB, free: 4.281 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.445e-05/0.006658, allocations: 272 kB / 0.796 GB, free: 4.008 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.225e-05/0.00674, allocations: 144.9 kB / 0.7961 GB, free: 3.859 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.928e-05/0.006819, allocations: 276.9 kB / 0.7964 GB, free: 3.582 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.016e-05/0.006859, allocations: 144.9 kB / 0.7965 GB, free: 3.434 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.836e-05/0.006918, allocations: 136 kB / 0.7967 GB, free: 3.301 MB / 0.7448 GB Notification: Performance of sort global known variables: time 9e-08/0.006918, allocations: 0 / 0.7967 GB, free: 3.301 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002608/0.007179, allocations: 7.938 kB / 0.7967 GB, free: 3.293 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.0001596/0.007338, allocations: 220.6 kB / 0.7969 GB, free: 3.07 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.906e-05/0.007417, allocations: 11.62 kB / 0.7969 GB, free: 3.055 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.007419, allocations: 4 kB / 0.7969 GB, free: 3.051 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.884e-06/0.007421, allocations: 2.719 kB / 0.7969 GB, free: 3.051 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006964/0.008118, allocations: 0.7023 MB / 0.7976 GB, free: 2.344 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002611/0.008379, allocations: 261.2 kB / 0.7978 GB, free: 2.059 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.403e-05/0.008423, allocations: 67.34 kB / 0.7979 GB, free: 1.973 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.041e-05/0.008443, allocations: 0 / 0.7979 GB, free: 1.973 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.508e-05/0.008488, allocations: 70.2 kB / 0.798 GB, free: 1.902 MB / 0.7448 GB Notification: Performance of SimCode: time 6.72e-07/0.008489, allocations: 0 / 0.798 GB, free: 1.902 MB / 0.7448 GB Notification: Performance of Templates: time 0.002243/0.01073, allocations: 349 kB / 0.7983 GB, free: 1.578 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.9365373281762]