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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001615/0.001615, allocations: 113.3 kB / 17.08 MB, free: 6.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001814/0.001814, allocations: 193.2 kB / 20.03 MB, free: 3.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.529/1.529, allocations: 222.9 MB / 245.7 MB, free: 4.219 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.054/3.054, allocations: 489.2 MB / 0.7687 GB, free: 3.719 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_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.1..y|con.2..y|con.3..y|con.4..y|con.5..y|maxVal.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002017/0.002017, allocations: 71.91 kB / 1.103 GB, free: 0.7148 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.2/1.202, allocations: 163.8 MB / 1.263 GB, free: 7.996 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.001809/1.203, allocations: 0.6545 MB / 1.263 GB, free: 7.598 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0001483/1.204, allocations: 19.55 kB / 1.263 GB, free: 7.582 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.341e-05/1.204, allocations: 0.8125 kB / 1.263 GB, free: 7.582 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001092/1.204, allocations: 5.578 kB / 1.263 GB, free: 7.578 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 3.703e-05/1.204, allocations: 4.562 kB / 1.263 GB, free: 7.574 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 7.512e-05/1.204, allocations: 6.5 kB / 1.263 GB, free: 7.57 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 9.025e-05/1.204, allocations: 31.42 kB / 1.263 GB, free: 7.555 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001574/1.204, allocations: 29.2 kB / 1.263 GB, free: 7.547 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.882e-05/1.204, allocations: 14.91 kB / 1.263 GB, free: 7.539 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.641e-05/1.204, allocations: 14.22 kB / 1.263 GB, free: 7.531 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.978e-05/1.204, allocations: 3.469 kB / 1.263 GB, free: 7.531 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.3e-05/1.204, allocations: 2.75 kB / 1.263 GB, free: 7.531 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.348e-05/1.204, allocations: 12.83 kB / 1.263 GB, free: 7.523 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.859e-05/1.204, allocations: 17.52 kB / 1.263 GB, free: 7.512 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001215/1.205, allocations: 46.97 kB / 1.263 GB, free: 7.496 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/1.205, allocations: 5.547 kB / 1.263 GB, free: 7.492 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.874e-06/1.205, allocations: 0 / 1.263 GB, free: 7.492 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.24e-06/1.205, allocations: 0 / 1.263 GB, free: 7.492 MB / 0.9981 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.0003016/1.205, allocations: 353.4 kB / 1.264 GB, free: 7.121 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/1.205, allocations: 10.27 kB / 1.264 GB, free: 7.121 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.476e-05/1.205, allocations: 11.77 kB / 1.264 GB, free: 7.113 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001347/1.205, allocations: 187.7 kB / 1.264 GB, free: 6.902 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/1.205, allocations: 2.156 kB / 1.264 GB, free: 6.902 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.282e-05/1.205, allocations: 7.938 kB / 1.264 GB, free: 6.898 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001696/1.205, allocations: 78.75 kB / 1.264 GB, free: 6.852 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/1.205, allocations: 1.219 kB / 1.264 GB, free: 6.852 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/1.205, allocations: 3.938 kB / 1.264 GB, free: 6.848 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-06/1.205, allocations: 2.203 kB / 1.264 GB, free: 6.848 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.066e-05/1.205, allocations: 48.91 kB / 1.264 GB, free: 6.836 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004266/1.206, allocations: 482.7 kB / 1.265 GB, free: 6.387 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.906e-05/1.206, allocations: 179.5 kB / 1.265 GB, free: 6.203 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.716e-05/1.206, allocations: 80.14 kB / 1.265 GB, free: 6.121 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.097e-05/1.206, allocations: 76.14 kB / 1.265 GB, free: 6.047 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.17e-05/1.206, allocations: 111.4 kB / 1.265 GB, free: 5.93 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 1.112e-06/1.206, allocations: 0 / 1.265 GB, free: 5.93 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 7.832e-05/1.206, allocations: 33.8 kB / 1.265 GB, free: 5.895 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.286e-05/1.206, allocations: 131.5 kB / 1.265 GB, free: 5.754 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001753/1.206, allocations: 175.8 kB / 1.265 GB, free: 5.633 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.943e-06/1.206, allocations: 25.7 kB / 1.265 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.017e-05/1.206, allocations: 97.38 kB / 1.265 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.504e-06/1.206, allocations: 4.812 kB / 1.265 GB, free: 5.504 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.885e-05/1.206, allocations: 16.89 kB / 1.266 GB, free: 5.484 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.454e-05/1.206, allocations: 316 kB / 1.266 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.089e-05/1.206, allocations: 13.81 kB / 1.266 GB, free: 5.164 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.507e-05/1.206, allocations: 10 kB / 1.266 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.766e-05/1.207, allocations: 17.41 kB / 1.266 GB, free: 5.148 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/1.207, allocations: 0 / 1.266 GB, free: 5.148 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001154/1.207, allocations: 53.08 kB / 1.266 GB, free: 5.109 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/1.207, allocations: 5.188 kB / 1.266 GB, free: 5.109 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/1.207, allocations: 1.344 kB / 1.266 GB, free: 5.109 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/1.207, allocations: 0 / 1.266 GB, free: 5.109 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.576e-05/1.207, allocations: 3.359 kB / 1.266 GB, free: 5.109 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/1.207, allocations: 9.406 kB / 1.266 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.784e-05/1.207, allocations: 11.7 kB / 1.266 GB, free: 5.094 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.128e-05/1.207, allocations: 2.125 kB / 1.266 GB, free: 5.094 MB / 0.9981 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 6.512e-05/1.207, allocations: 190.4 kB / 1.266 GB, free: 4.906 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.229e-05/1.207, allocations: 112.5 kB / 1.266 GB, free: 4.793 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.305e-05/1.207, allocations: 110.7 kB / 1.266 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.452e-05/1.207, allocations: 181.6 kB / 1.266 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.947e-05/1.207, allocations: 185.8 kB / 1.267 GB, free: 4.312 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.489e-05/1.207, allocations: 182 kB / 1.267 GB, free: 4.129 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001546/1.207, allocations: 419.3 kB / 1.267 GB, free: 3.68 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.719e-05/1.207, allocations: 102.6 kB / 1.267 GB, free: 3.574 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.693e-05/1.207, allocations: 106.6 kB / 1.267 GB, free: 3.465 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.631e-05/1.207, allocations: 189.6 kB / 1.268 GB, free: 3.273 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001722/1.207, allocations: 181.6 kB / 1.268 GB, free: 19.09 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.973e-05/1.208, allocations: 178.2 kB / 1.268 GB, free: 18.91 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.173e-05/1.208, allocations: 186.2 kB / 1.268 GB, free: 18.72 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002023/1.208, allocations: 316.4 kB / 1.268 GB, free: 18.4 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001885/1.208, allocations: 195 kB / 1.269 GB, free: 18.19 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.507e-05/1.208, allocations: 178.7 kB / 1.269 GB, free: 18.01 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001443/1.208, allocations: 111.1 kB / 1.269 GB, free: 17.89 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.918e-05/1.208, allocations: 185.8 kB / 1.269 GB, free: 17.71 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.626e-05/1.208, allocations: 102.6 kB / 1.269 GB, free: 17.6 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001251/1.209, allocations: 137.8 kB / 1.269 GB, free: 17.51 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.21e-07/1.209, allocations: 0 / 1.269 GB, free: 17.51 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002519/1.209, allocations: 4.781 kB / 1.269 GB, free: 17.51 MB / 1.014 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.0002098/1.209, allocations: 182 kB / 1.269 GB, free: 17.34 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 7.453e-05/1.209, allocations: 9.281 kB / 1.27 GB, free: 17.34 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/1.209, allocations: 0 / 1.27 GB, free: 17.34 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 2.083e-06/1.209, allocations: 0.75 kB / 1.27 GB, free: 17.34 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006019/1.21, allocations: 467.6 kB / 1.27 GB, free: 16.88 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003248/1.21, allocations: 242.4 kB / 1.27 GB, free: 16.65 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003598/1.211, allocations: 0.6895 MB / 1.271 GB, free: 15.96 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.992e-05/1.211, allocations: 14.44 kB / 1.271 GB, free: 15.95 MB / 1.014 GB Notification: Performance of SimCode: time 2.21e-07/1.211, allocations: 0 / 1.271 GB, free: 15.95 MB / 1.014 GB Notification: Performance of Templates: time 0.002586/1.213, allocations: 0.7634 MB / 1.272 GB, free: 15.9 MB / 1.014 GB " [Timeout remaining time 299] 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_MultiMax.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 11.896082391962409]