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.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.001311/0.001311, allocations: 101.8 kB / 19.73 MB, free: 2.23 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.001626/0.001626, allocations: 217 kB / 23.04 MB, free: 5.074 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.52/1.52, allocations: 230.6 MB / 256.8 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.309/3.309, allocations: 0.5003 GB / 0.8061 GB, free: 26.76 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMax",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax,fileNamePrefix="Buildings_latest_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.001944/0.001944, allocations: 70.2 kB / 1.171 GB, free: 19.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.389/0.3909, allocations: 179 MB / 1.345 GB, free: 428 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.001911/0.3928, allocations: 0.6555 MB / 1.346 GB, free: 15.76 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0001481/0.393, allocations: 8 kB / 1.346 GB, free: 15.75 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.41e-05/0.393, allocations: 11.88 kB / 1.346 GB, free: 15.74 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001012/0.3931, allocations: 0 / 1.346 GB, free: 15.74 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 4.407e-05/0.3932, allocations: 3.984 kB / 1.346 GB, free: 15.74 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 6.423e-05/0.3932, allocations: 0 / 1.346 GB, free: 15.74 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 9.047e-05/0.3933, allocations: 27.92 kB / 1.346 GB, free: 15.71 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001403/0.3935, allocations: 23.97 kB / 1.346 GB, free: 15.69 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 2.583e-05/0.3935, allocations: 11.94 kB / 1.346 GB, free: 15.68 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 3.508e-05/0.3935, allocations: 15.92 kB / 1.346 GB, free: 15.66 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.865e-05/0.3935, allocations: 4 kB / 1.346 GB, free: 15.66 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 9.748e-06/0.3936, allocations: 0 / 1.346 GB, free: 15.66 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.592e-05/0.3936, allocations: 11.94 kB / 1.346 GB, free: 15.64 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 4.028e-05/0.3936, allocations: 23.88 kB / 1.346 GB, free: 15.62 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001129/0.3937, allocations: 55.95 kB / 1.346 GB, free: 15.57 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 7.585e-06/0.3938, allocations: 4 kB / 1.346 GB, free: 15.56 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.873e-06/0.3938, allocations: 0 / 1.346 GB, free: 15.56 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.235e-06/0.3938, allocations: 0 / 1.346 GB, free: 15.56 MB / 1.045 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.0003676/0.3941, allocations: 278.2 kB / 1.346 GB, free: 15.26 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.3942, allocations: 8.031 kB / 1.346 GB, free: 15.25 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.359e-05/0.3942, allocations: 4.188 kB / 1.346 GB, free: 15.25 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.106e-05/0.3942, allocations: 34.75 kB / 1.347 GB, free: 15.2 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.883e-05/0.3942, allocations: 8.891 kB / 1.347 GB, free: 15.2 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001585/0.3944, allocations: 118.5 kB / 1.347 GB, free: 15.05 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.3944, allocations: 4.375 kB / 1.347 GB, free: 15.05 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.443e-05/0.3944, allocations: 4.375 kB / 1.347 GB, free: 15.05 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001758/0.3946, allocations: 90.25 kB / 1.347 GB, free: 14.95 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.3946, allocations: 0 / 1.347 GB, free: 14.95 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.666e-06/0.3946, allocations: 0 / 1.347 GB, free: 14.95 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.3946, allocations: 0 / 1.347 GB, free: 14.95 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.81e-05/0.3947, allocations: 51.97 kB / 1.347 GB, free: 14.9 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005481/0.3953, allocations: 466.2 kB / 1.347 GB, free: 14.4 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001029/0.3954, allocations: 169.1 kB / 1.347 GB, free: 14.23 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.154e-05/0.3954, allocations: 80.14 kB / 1.347 GB, free: 14.14 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 5.138e-05/0.3955, allocations: 79.28 kB / 1.348 GB, free: 14.07 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.778e-05/0.3955, allocations: 109.8 kB / 1.348 GB, free: 13.95 MB / 1.045 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.3955, allocations: 0 / 1.348 GB, free: 13.95 MB / 1.045 GB Notification: Performance of matching and sorting (n=0): time 8.588e-05/0.3956, allocations: 37.62 kB / 1.348 GB, free: 13.91 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.853e-05/0.3957, allocations: 134.6 kB / 1.348 GB, free: 13.76 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001833/0.3959, allocations: 171.3 kB / 1.348 GB, free: 13.59 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.474e-05/0.3959, allocations: 25.7 kB / 1.348 GB, free: 13.55 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.594e-05/0.396, allocations: 100.1 kB / 1.348 GB, free: 13.45 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.515e-06/0.396, allocations: 0 / 1.348 GB, free: 13.45 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.41e-05/0.396, allocations: 17.72 kB / 1.348 GB, free: 13.43 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001472/0.3961, allocations: 322.8 kB / 1.348 GB, free: 13.11 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.042e-05/0.3962, allocations: 7.984 kB / 1.348 GB, free: 13.1 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.306e-05/0.3962, allocations: 4.109 kB / 1.348 GB, free: 13.09 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.929e-05/0.3962, allocations: 20.78 kB / 1.348 GB, free: 13.07 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.3962, allocations: 0 / 1.348 GB, free: 13.07 MB / 1.045 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001279/0.3963, allocations: 57.58 kB / 1.349 GB, free: 13.01 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.3964, allocations: 8.094 kB / 1.349 GB, free: 13 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.3964, allocations: 3.984 kB / 1.349 GB, free: 13 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.3964, allocations: 3.938 kB / 1.349 GB, free: 12.99 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.968e-05/0.3964, allocations: 4 kB / 1.349 GB, free: 12.99 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.3964, allocations: 0 / 1.349 GB, free: 12.99 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.002e-05/0.3965, allocations: 7.938 kB / 1.349 GB, free: 12.98 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/0.3965, allocations: 0 / 1.349 GB, free: 12.98 MB / 1.045 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.0001177/0.3966, allocations: 197.1 kB / 1.349 GB, free: 12.78 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.432e-05/0.3967, allocations: 116.9 kB / 1.349 GB, free: 12.66 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.768e-05/0.3968, allocations: 112.6 kB / 1.349 GB, free: 12.53 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.32e-05/0.3968, allocations: 184.2 kB / 1.349 GB, free: 12.34 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.26e-05/0.3969, allocations: 184.2 kB / 1.349 GB, free: 12.16 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.82e-05/0.397, allocations: 180.3 kB / 1.349 GB, free: 11.97 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002691/0.3973, allocations: 396.2 kB / 1.35 GB, free: 11.54 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.444e-05/0.3973, allocations: 105 kB / 1.35 GB, free: 11.43 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.952e-05/0.3974, allocations: 105 kB / 1.35 GB, free: 11.32 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.55e-05/0.3975, allocations: 180.2 kB / 1.35 GB, free: 11.13 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.083e-05/0.3975, allocations: 180.3 kB / 1.35 GB, free: 10.95 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.083e-05/0.3976, allocations: 184.1 kB / 1.351 GB, free: 10.76 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.624e-05/0.3977, allocations: 180.3 kB / 1.351 GB, free: 10.58 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001691/0.3979, allocations: 319.7 kB / 1.351 GB, free: 10.24 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 6.615e-05/0.3979, allocations: 113.2 kB / 1.351 GB, free: 10.12 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.421e-05/0.398, allocations: 184.2 kB / 1.351 GB, free: 9.938 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001037/0.3981, allocations: 112.9 kB / 1.351 GB, free: 9.82 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.224e-05/0.3982, allocations: 184.3 kB / 1.352 GB, free: 9.633 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.485e-05/0.3982, allocations: 104.9 kB / 1.352 GB, free: 9.523 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001697/0.3984, allocations: 132.8 kB / 1.352 GB, free: 9.395 MB / 1.045 GB Notification: Performance of sort global known variables: time 1e-07/0.3984, allocations: 0 / 1.352 GB, free: 9.395 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002329/0.3986, allocations: 4 kB / 1.352 GB, free: 9.391 MB / 1.045 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.0005483/0.3992, allocations: 0.8049 MB / 1.353 GB, free: 8.559 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 8.839e-05/0.3993, allocations: 11.94 kB / 1.353 GB, free: 8.547 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 5.6e-06/0.3993, allocations: 0 / 1.353 GB, free: 8.547 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.723e-06/0.3993, allocations: 0 / 1.353 GB, free: 8.547 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005367/0.3998, allocations: 485.2 kB / 1.353 GB, free: 8.07 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001606/0.4014, allocations: 1.592 MB / 1.355 GB, free: 6.398 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003684/0.4018, allocations: 0.6961 MB / 1.355 GB, free: 5.676 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 2.579e-05/0.4018, allocations: 4 kB / 1.355 GB, free: 5.672 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.232e-05/0.4019, allocations: 19.42 kB / 1.355 GB, free: 5.652 MB / 1.045 GB Notification: Performance of SimCode: time 5.81e-07/0.4019, allocations: 0 / 1.355 GB, free: 5.652 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.022/0.4239, allocations: 1.762 MB / 1.357 GB, free: 4.039 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/11.76, allocations: 9.375 kB / 1.357 GB, free: 4.035 MB / 1.045 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMax_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMax.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe 2>&1) [Timeout 840.0] 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/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: 18.767877567966934]