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.001883/0.001883, allocations: 114.3 kB / 18.94 MB, free: 2.934 MB / 14.72 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.002441/0.002441, allocations: 217.1 kB / 22.26 MB, free: 5.078 MB / 14.72 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.514/1.514, allocations: 230.6 MB / 256 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.869/2.869, allocations: 476.7 MB / 0.7707 GB, free: 4.223 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMax",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMax",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002094/0.002094, allocations: 65.95 kB / 1.117 GB, free: 39.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3551/0.3572, allocations: 170 MB / 1.283 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.002042/0.3592, allocations: 0.6536 MB / 1.284 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001662/0.3594, allocations: 19.92 kB / 1.284 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.545e-05/0.3594, allocations: 0 / 1.284 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 9.619e-05/0.3595, allocations: 3.938 kB / 1.284 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 3.197e-05/0.3595, allocations: 0 / 1.284 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 7.62e-05/0.3596, allocations: 15.92 kB / 1.284 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.989e-05/0.3597, allocations: 19.98 kB / 1.284 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001412/0.3598, allocations: 23.86 kB / 1.284 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.801e-05/0.3599, allocations: 12 kB / 1.284 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.491e-05/0.3599, allocations: 19.86 kB / 1.284 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.896e-05/0.3599, allocations: 4 kB / 1.284 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.308e-05/0.36, allocations: 4 kB / 1.284 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.653e-05/0.36, allocations: 11.98 kB / 1.284 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.416e-05/0.36, allocations: 23.88 kB / 1.284 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001262/0.3602, allocations: 43.33 kB / 1.284 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.3602, allocations: 0 / 1.284 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.323e-06/0.3602, allocations: 0 / 1.284 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.044e-05/0.3602, allocations: 0 / 1.284 GB, free: 10.49 MB / 0.9825 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.000381/0.3606, allocations: 278.2 kB / 1.285 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.843e-05/0.3606, allocations: 8.031 kB / 1.285 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.813e-05/0.3607, allocations: 38.75 kB / 1.285 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.098e-05/0.3607, allocations: 8.938 kB / 1.285 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002112/0.3609, allocations: 134.3 kB / 1.285 GB, free: 9.965 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.565e-05/0.3609, allocations: 4.359 kB / 1.285 GB, free: 9.961 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.842e-05/0.3609, allocations: 4.375 kB / 1.285 GB, free: 9.957 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002046/0.3611, allocations: 82.22 kB / 1.285 GB, free: 9.871 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.3612, allocations: 3.938 kB / 1.285 GB, free: 9.867 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.348e-06/0.3612, allocations: 0 / 1.285 GB, free: 9.867 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.022e-06/0.3612, allocations: 0 / 1.285 GB, free: 9.867 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.998e-05/0.3613, allocations: 47.97 kB / 1.285 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006111/0.3619, allocations: 458.2 kB / 1.285 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001227/0.362, allocations: 169.1 kB / 1.285 GB, free: 9.152 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.508e-05/0.362, allocations: 84.08 kB / 1.286 GB, free: 9.066 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.511e-05/0.3621, allocations: 75.28 kB / 1.286 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.482e-05/0.3621, allocations: 109.8 kB / 1.286 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 1.212e-06/0.3621, allocations: 4 kB / 1.286 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 9.919e-05/0.3622, allocations: 37.8 kB / 1.286 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.18e-05/0.3623, allocations: 130.6 kB / 1.286 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000209/0.3625, allocations: 172.6 kB / 1.286 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.524e-05/0.3626, allocations: 25.7 kB / 1.286 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.635e-05/0.3626, allocations: 96.2 kB / 1.286 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.647e-06/0.3626, allocations: 3.938 kB / 1.286 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.524e-05/0.3627, allocations: 21.7 kB / 1.286 GB, free: 8.352 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001511/0.3628, allocations: 314.8 kB / 1.286 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.481e-05/0.3629, allocations: 15.92 kB / 1.286 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.445e-05/0.3629, allocations: 8 kB / 1.286 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.609e-05/0.3629, allocations: 12.84 kB / 1.287 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.3629, allocations: 7.938 kB / 1.287 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001315/0.3631, allocations: 49.64 kB / 1.287 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.3631, allocations: 12.09 kB / 1.287 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.3631, allocations: 0 / 1.287 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.3631, allocations: 0 / 1.287 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.496e-05/0.3632, allocations: 11.92 kB / 1.287 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.3632, allocations: 3.984 kB / 1.287 GB, free: 7.906 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.927e-05/0.3632, allocations: 7.938 kB / 1.287 GB, free: 7.898 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.16e-05/0.3632, allocations: 0 / 1.287 GB, free: 7.898 MB / 0.9825 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.0001497/0.3634, allocations: 201 kB / 1.287 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.074e-05/0.3634, allocations: 104.9 kB / 1.287 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.454e-05/0.3635, allocations: 116.8 kB / 1.287 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.537e-05/0.3636, allocations: 188.1 kB / 1.287 GB, free: 7.27 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.451e-05/0.3637, allocations: 180.2 kB / 1.287 GB, free: 7.086 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.117e-05/0.3638, allocations: 180.2 kB / 1.288 GB, free: 6.902 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002877/0.3641, allocations: 388.3 kB / 1.288 GB, free: 6.473 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.556e-05/0.3641, allocations: 110.8 kB / 1.288 GB, free: 6.359 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.566e-05/0.3642, allocations: 104.9 kB / 1.288 GB, free: 6.25 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.867e-05/0.3643, allocations: 180.2 kB / 1.288 GB, free: 6.066 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.029e-05/0.3644, allocations: 184.2 kB / 1.288 GB, free: 5.879 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.369e-05/0.3644, allocations: 184.2 kB / 1.289 GB, free: 5.691 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.536e-05/0.3645, allocations: 176.3 kB / 1.289 GB, free: 5.512 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002122/0.3647, allocations: 315.7 kB / 1.289 GB, free: 5.18 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.608e-05/0.3648, allocations: 112.9 kB / 1.289 GB, free: 5.062 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.619e-05/0.3649, allocations: 180.3 kB / 1.289 GB, free: 4.879 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.616e-05/0.365, allocations: 104.9 kB / 1.289 GB, free: 4.77 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.922e-05/0.3651, allocations: 188.2 kB / 1.29 GB, free: 4.578 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.437e-05/0.3652, allocations: 109 kB / 1.29 GB, free: 4.465 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001222/0.3653, allocations: 127.2 kB / 1.29 GB, free: 4.34 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3653, allocations: 0 / 1.29 GB, free: 4.34 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002306/0.3655, allocations: 7.938 kB / 1.29 GB, free: 4.332 MB / 0.9825 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.0005877/0.3661, allocations: 0.809 MB / 1.291 GB, free: 3.496 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 8.302e-05/0.3662, allocations: 15.98 kB / 1.291 GB, free: 3.48 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.3662, allocations: 0 / 1.291 GB, free: 3.48 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.833e-06/0.3662, allocations: 0 / 1.291 GB, free: 3.48 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000529/0.3667, allocations: 473.8 kB / 1.291 GB, free: 3.016 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00158/0.3683, allocations: 1.597 MB / 1.293 GB, free: 1.34 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003768/0.3687, allocations: 0.6991 MB / 1.293 GB, free: 0.6172 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.535e-05/0.3687, allocations: 4 kB / 1.293 GB, free: 0.6133 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.558e-05/0.3688, allocations: 15.42 kB / 1.293 GB, free: 0.5977 MB / 0.9825 GB Notification: Performance of SimCode: time 5.61e-07/0.3688, allocations: 4 kB / 1.293 GB, free: 0.5938 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0305/0.3993, allocations: 1.725 MB / 1.295 GB, free: 15 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.25/11.65, allocations: 8.062 kB / 1.295 GB, free: 14.99 MB / 0.9981 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMax_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMax.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe 2>&1) [Timeout 420.0] 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/jenkins1/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: 18.395010465057567]