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.001287/0.001287, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.001421/0.001421, allocations: 219.6 kB / 23.03 MB, free: 4.945 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.469/1.469, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.808/2.808, allocations: 476.8 MB / 0.7715 GB, free: 3.902 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMax",fmuType="cs",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.00198/0.00198, allocations: 63.06 kB / 1.118 GB, free: 39.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3626/0.3646, allocations: 170 MB / 1.284 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.002248/0.3668, allocations: 0.656 MB / 1.285 GB, free: 9.961 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001663/0.367, allocations: 11.94 kB / 1.285 GB, free: 9.949 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.974e-05/0.367, allocations: 0 / 1.285 GB, free: 9.949 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001159/0.3671, allocations: 7.922 kB / 1.285 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.072e-05/0.3672, allocations: 0 / 1.285 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 8.01e-05/0.3673, allocations: 4 kB / 1.285 GB, free: 9.938 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.651e-05/0.3674, allocations: 23.92 kB / 1.285 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001472/0.3675, allocations: 25.38 kB / 1.285 GB, free: 9.891 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.313e-05/0.3675, allocations: 15.94 kB / 1.285 GB, free: 9.875 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.832e-05/0.3676, allocations: 15.92 kB / 1.285 GB, free: 9.859 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.472e-05/0.3676, allocations: 8 kB / 1.285 GB, free: 9.852 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.44e-05/0.3676, allocations: 4 kB / 1.285 GB, free: 9.848 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.744e-05/0.3677, allocations: 7.938 kB / 1.285 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.978e-05/0.3677, allocations: 19.92 kB / 1.285 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001128/0.3678, allocations: 47.31 kB / 1.285 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3678, allocations: 0 / 1.285 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.693e-06/0.3678, allocations: 0 / 1.285 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.3678, allocations: 3.938 kB / 1.285 GB, free: 9.773 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.0004158/0.3682, allocations: 274.2 kB / 1.285 GB, free: 9.477 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.3683, allocations: 15.97 kB / 1.285 GB, free: 9.461 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.576e-05/0.3683, allocations: 192 / 1.285 GB, free: 9.461 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.593e-05/0.3683, allocations: 46.73 kB / 1.285 GB, free: 9.406 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.801e-05/0.3684, allocations: 0.9375 kB / 1.285 GB, free: 9.406 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001834/0.3686, allocations: 122.5 kB / 1.285 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.3686, allocations: 384 / 1.285 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.847e-05/0.3686, allocations: 8.375 kB / 1.285 GB, free: 9.254 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001922/0.3688, allocations: 77.78 kB / 1.285 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.3688, allocations: 0 / 1.285 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/0.3688, allocations: 7.938 kB / 1.285 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.3688, allocations: 0 / 1.285 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.213e-05/0.3689, allocations: 51.97 kB / 1.286 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005565/0.3695, allocations: 450.2 kB / 1.286 GB, free: 8.629 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001455/0.3696, allocations: 173.1 kB / 1.286 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.515e-05/0.3696, allocations: 84.14 kB / 1.286 GB, free: 8.363 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.329e-05/0.3697, allocations: 79.28 kB / 1.286 GB, free: 8.285 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.995e-05/0.3698, allocations: 106.1 kB / 1.286 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 1.132e-06/0.3698, allocations: 3.938 kB / 1.286 GB, free: 8.168 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 0.0001028/0.3699, allocations: 45.53 kB / 1.286 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001206/0.37, allocations: 126.7 kB / 1.287 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001959/0.3702, allocations: 171.8 kB / 1.287 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.791e-05/0.3702, allocations: 25.7 kB / 1.287 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001205/0.3703, allocations: 100.1 kB / 1.287 GB, free: 7.672 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.066e-06/0.3703, allocations: 4 kB / 1.287 GB, free: 7.668 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.433e-05/0.3704, allocations: 13.66 kB / 1.287 GB, free: 7.648 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001519/0.3705, allocations: 322.8 kB / 1.287 GB, free: 7.324 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.031e-05/0.3705, allocations: 4 kB / 1.287 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.84e-05/0.3706, allocations: 11.98 kB / 1.287 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.743e-05/0.3706, allocations: 12.86 kB / 1.287 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.3706, allocations: 0 / 1.287 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001531/0.3708, allocations: 53.61 kB / 1.287 GB, free: 7.234 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.3708, allocations: 8 kB / 1.287 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.3708, allocations: 4.094 kB / 1.287 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.3708, allocations: 3.938 kB / 1.287 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.773e-05/0.3709, allocations: 4 kB / 1.287 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.3709, allocations: 0 / 1.287 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.338e-05/0.3709, allocations: 11.89 kB / 1.287 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.968e-06/0.3709, allocations: 0 / 1.287 GB, free: 7.203 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.0001386/0.371, allocations: 197.1 kB / 1.287 GB, free: 7 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.789e-05/0.3711, allocations: 104.9 kB / 1.288 GB, free: 6.891 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001807/0.3713, allocations: 124.7 kB / 1.288 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.328e-05/0.3714, allocations: 180.3 kB / 1.288 GB, free: 6.578 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-05/0.3715, allocations: 184.2 kB / 1.288 GB, free: 6.391 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.855e-05/0.3716, allocations: 176.3 kB / 1.288 GB, free: 6.211 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002924/0.3718, allocations: 394 kB / 1.289 GB, free: 5.777 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-05/0.3719, allocations: 104.9 kB / 1.289 GB, free: 5.668 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.154e-05/0.3719, allocations: 101 kB / 1.289 GB, free: 5.562 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.428e-05/0.372, allocations: 188.2 kB / 1.289 GB, free: 5.371 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.503e-05/0.3721, allocations: 180.2 kB / 1.289 GB, free: 5.188 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.576e-05/0.3722, allocations: 184.2 kB / 1.289 GB, free: 5 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.752e-05/0.3723, allocations: 184.3 kB / 1.289 GB, free: 4.812 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001839/0.3725, allocations: 307.8 kB / 1.29 GB, free: 4.488 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.33e-05/0.3725, allocations: 116.9 kB / 1.29 GB, free: 4.367 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.071e-05/0.3726, allocations: 192.1 kB / 1.29 GB, free: 4.172 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001051/0.3727, allocations: 105 kB / 1.29 GB, free: 4.062 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.148e-05/0.3728, allocations: 176.3 kB / 1.29 GB, free: 3.883 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.5e-05/0.3729, allocations: 108.9 kB / 1.29 GB, free: 3.77 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001222/0.373, allocations: 137.1 kB / 1.291 GB, free: 3.637 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.373, allocations: 0 / 1.291 GB, free: 3.637 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002413/0.3732, allocations: 4 kB / 1.291 GB, free: 3.633 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.0005581/0.3738, allocations: 0.8052 MB / 1.291 GB, free: 2.801 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 9.154e-05/0.3739, allocations: 23.86 kB / 1.291 GB, free: 2.777 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.3739, allocations: 0 / 1.291 GB, free: 2.777 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.593e-06/0.3739, allocations: 0 / 1.291 GB, free: 2.777 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005401/0.3744, allocations: 463.6 kB / 1.292 GB, free: 2.32 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001844/0.3763, allocations: 1.602 MB / 1.293 GB, free: 0.6406 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.166e-05/0.3764, allocations: 79.42 kB / 1.293 GB, free: 0.543 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.538e-05/0.3764, allocations: 7.938 kB / 1.293 GB, free: 0.5352 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.976e-05/0.3764, allocations: 19.44 kB / 1.293 GB, free: 0.5156 MB / 0.9825 GB Notification: Performance of SimCode: time 3e-07/0.3764, allocations: 0 / 1.293 GB, free: 0.5156 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02233/0.3988, allocations: 1.803 MB / 1.295 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.55/11.95, allocations: 12.05 kB / 1.295 GB, free: 14.85 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.786973480018787]