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.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.00147/0.00147, allocations: 113.8 kB / 17.61 MB, free: 4.703 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.001487/0.001487, allocations: 186 kB / 20.78 MB, free: 1.547 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.538/1.538, allocations: 225.6 MB / 249.4 MB, free: 3.164 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.955/2.955, allocations: 476.7 MB / 0.7629 GB, free: 15.11 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_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 0.002218/0.002218, allocations: 67.89 kB / 1.107 GB, free: 4.559 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.18/1.182, allocations: 168.7 MB / 1.272 GB, free: 7.93 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.002294/1.184, allocations: 0.6716 MB / 1.273 GB, free: 7.508 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0001833/1.184, allocations: 15.66 kB / 1.273 GB, free: 7.496 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.111e-05/1.184, allocations: 0.8438 kB / 1.273 GB, free: 7.496 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001418/1.185, allocations: 5.812 kB / 1.273 GB, free: 7.492 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.91e-05/1.185, allocations: 1.688 kB / 1.273 GB, free: 7.492 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 8.432e-05/1.185, allocations: 5.531 kB / 1.273 GB, free: 7.488 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001138/1.185, allocations: 23.36 kB / 1.273 GB, free: 7.48 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001678/1.185, allocations: 20.77 kB / 1.273 GB, free: 7.473 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.543e-05/1.185, allocations: 18.89 kB / 1.273 GB, free: 7.461 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.357e-05/1.185, allocations: 18.44 kB / 1.273 GB, free: 7.449 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.49e-05/1.185, allocations: 3.062 kB / 1.273 GB, free: 7.449 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 3.081e-05/1.185, allocations: 2.75 kB / 1.273 GB, free: 7.449 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 4.218e-05/1.185, allocations: 13.11 kB / 1.273 GB, free: 7.441 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.226e-05/1.185, allocations: 21.92 kB / 1.273 GB, free: 7.426 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001546/1.185, allocations: 48.31 kB / 1.273 GB, free: 7.41 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.431e-06/1.185, allocations: 0 / 1.273 GB, free: 7.41 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.222e-06/1.185, allocations: 0.7812 kB / 1.273 GB, free: 7.41 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.364e-05/1.185, allocations: 0 / 1.273 GB, free: 7.41 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.0004068/1.186, allocations: 347.2 kB / 1.273 GB, free: 7.043 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.548e-05/1.186, allocations: 13.22 kB / 1.273 GB, free: 7.039 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.403e-05/1.186, allocations: 8.828 kB / 1.273 GB, free: 7.035 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001725/1.186, allocations: 182.7 kB / 1.273 GB, free: 6.828 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.829e-05/1.186, allocations: 2.375 kB / 1.273 GB, free: 6.828 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.674e-05/1.186, allocations: 7.5 kB / 1.273 GB, free: 6.824 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002083/1.186, allocations: 83.53 kB / 1.273 GB, free: 6.773 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/1.186, allocations: 0.9062 kB / 1.273 GB, free: 6.773 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.392e-05/1.186, allocations: 3.938 kB / 1.273 GB, free: 6.77 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/1.186, allocations: 1.562 kB / 1.273 GB, free: 6.77 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001105/1.186, allocations: 48.86 kB / 1.274 GB, free: 6.758 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005607/1.187, allocations: 487.5 kB / 1.274 GB, free: 6.305 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.513e-05/1.187, allocations: 166.6 kB / 1.274 GB, free: 6.133 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.317e-05/1.187, allocations: 89.06 kB / 1.274 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.456e-05/1.187, allocations: 75.28 kB / 1.274 GB, free: 5.969 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.361e-05/1.187, allocations: 115.3 kB / 1.274 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/1.187, allocations: 0.875 kB / 1.274 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 7.848e-05/1.187, allocations: 33.47 kB / 1.274 GB, free: 5.812 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.059e-05/1.187, allocations: 127.7 kB / 1.275 GB, free: 5.676 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001894/1.187, allocations: 176.3 kB / 1.275 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.935e-06/1.187, allocations: 25.7 kB / 1.275 GB, free: 5.523 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.311e-05/1.187, allocations: 96.41 kB / 1.275 GB, free: 5.43 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.515e-06/1.187, allocations: 4 kB / 1.275 GB, free: 5.426 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.153e-05/1.188, allocations: 15.97 kB / 1.275 GB, free: 5.41 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.119e-05/1.188, allocations: 316.9 kB / 1.275 GB, free: 5.094 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.147e-05/1.188, allocations: 6.906 kB / 1.275 GB, free: 5.094 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.593e-05/1.188, allocations: 11.83 kB / 1.275 GB, free: 5.09 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.805e-05/1.188, allocations: 14.73 kB / 1.275 GB, free: 5.078 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/1.188, allocations: 0.7031 kB / 1.275 GB, free: 5.078 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001255/1.188, allocations: 57.39 kB / 1.275 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/1.188, allocations: 9.125 kB / 1.275 GB, free: 5.031 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/1.188, allocations: 0.875 kB / 1.275 GB, free: 5.031 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/1.188, allocations: 0 / 1.275 GB, free: 5.031 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.275e-05/1.188, allocations: 6.484 kB / 1.275 GB, free: 5.031 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/1.188, allocations: 7.875 kB / 1.275 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.794e-05/1.188, allocations: 12.2 kB / 1.275 GB, free: 5.016 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.206e-05/1.188, allocations: 1.906 kB / 1.275 GB, free: 5.016 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 8.725e-05/1.188, allocations: 199.8 kB / 1.275 GB, free: 4.816 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.595e-05/1.188, allocations: 110.5 kB / 1.276 GB, free: 4.707 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.754e-05/1.188, allocations: 116.6 kB / 1.276 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-05/1.188, allocations: 181 kB / 1.276 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-05/1.188, allocations: 181.4 kB / 1.276 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-05/1.188, allocations: 177.3 kB / 1.276 GB, free: 4.043 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001686/1.188, allocations: 426 kB / 1.277 GB, free: 3.586 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.19e-05/1.188, allocations: 101.9 kB / 1.277 GB, free: 3.48 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.385e-05/1.188, allocations: 107 kB / 1.277 GB, free: 3.371 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.983e-05/1.188, allocations: 177.1 kB / 1.277 GB, free: 3.191 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.409e-05/1.188, allocations: 177.9 kB / 1.277 GB, free: 3.012 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001197/1.189, allocations: 187.9 kB / 1.277 GB, free: 18.82 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.736e-05/1.189, allocations: 185.8 kB / 1.278 GB, free: 18.64 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002002/1.189, allocations: 306.7 kB / 1.278 GB, free: 18.32 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001213/1.189, allocations: 191.1 kB / 1.278 GB, free: 18.11 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001183/1.189, allocations: 182.5 kB / 1.278 GB, free: 17.93 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/1.189, allocations: 112.5 kB / 1.278 GB, free: 17.82 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000108/1.189, allocations: 185.2 kB / 1.278 GB, free: 17.63 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.723e-05/1.189, allocations: 101.9 kB / 1.279 GB, free: 17.52 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001341/1.19, allocations: 133.5 kB / 1.279 GB, free: 17.43 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/1.19, allocations: 0 / 1.279 GB, free: 17.43 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002215/1.19, allocations: 5.375 kB / 1.279 GB, free: 17.43 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.0002288/1.19, allocations: 178.8 kB / 1.279 GB, free: 17.27 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0001027/1.19, allocations: 16.8 kB / 1.279 GB, free: 17.26 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/1.19, allocations: 1.094 kB / 1.279 GB, free: 17.26 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.372e-06/1.19, allocations: 0 / 1.279 GB, free: 17.26 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005686/1.191, allocations: 458.6 kB / 1.279 GB, free: 16.81 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004115/1.191, allocations: 238.2 kB / 1.28 GB, free: 16.61 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003539/1.191, allocations: 0.6945 MB / 1.28 GB, free: 15.91 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.115e-05/1.191, allocations: 5.531 kB / 1.28 GB, free: 15.91 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.112e-05/1.191, allocations: 11.59 kB / 1.28 GB, free: 15.9 MB / 1.014 GB Notification: Performance of SimCode: time 2.81e-07/1.191, allocations: 0 / 1.28 GB, free: 15.9 MB / 1.014 GB Notification: Performance of Templates: time 0.003185/1.195, allocations: 486.4 kB / 1.281 GB, free: 15.82 MB / 1.014 GB " [Timeout remaining time 299] 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: 9.7396902423352]