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.00194/0.00194, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001565/0.001565, allocations: 216 kB / 22.25 MB, free: 4.855 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.566/1.566, allocations: 230.6 MB / 256 MB, free: 8.008 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.448/3.448, allocations: 0.5107 GB / 0.8158 GB, free: 17.97 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax,fileNamePrefix="Buildings_latest_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.002148/0.002148, allocations: 68.58 kB / 1.186 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4098/0.4119, allocations: 181.9 MB / 1.363 GB, free: 14.09 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.002148/0.4141, allocations: 0.6537 MB / 1.364 GB, free: 13.44 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0001792/0.4142, allocations: 23.91 kB / 1.364 GB, free: 13.41 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.709e-05/0.4143, allocations: 0 / 1.364 GB, free: 13.41 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001011/0.4144, allocations: 3.938 kB / 1.364 GB, free: 13.41 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 3.293e-05/0.4144, allocations: 0 / 1.364 GB, free: 13.41 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 7.41e-05/0.4145, allocations: 4 kB / 1.364 GB, free: 13.41 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 9.676e-05/0.4146, allocations: 23.92 kB / 1.364 GB, free: 13.38 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001413/0.4147, allocations: 23.98 kB / 1.364 GB, free: 13.36 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 4.047e-05/0.4148, allocations: 15.98 kB / 1.364 GB, free: 13.34 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.274e-05/0.4148, allocations: 23.8 kB / 1.364 GB, free: 13.32 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.099e-05/0.4148, allocations: 4 kB / 1.364 GB, free: 13.32 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.536e-05/0.4148, allocations: 8 kB / 1.364 GB, free: 13.31 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.568e-05/0.4149, allocations: 7.984 kB / 1.364 GB, free: 13.3 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.564e-05/0.4149, allocations: 19.88 kB / 1.364 GB, free: 13.28 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001298/0.4151, allocations: 44.03 kB / 1.364 GB, free: 13.24 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.4151, allocations: 3.938 kB / 1.364 GB, free: 13.23 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.973e-06/0.4151, allocations: 0 / 1.364 GB, free: 13.23 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.4151, allocations: 0 / 1.364 GB, free: 13.23 MB / 1.061 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.0004039/0.4155, allocations: 270.2 kB / 1.365 GB, free: 12.94 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/0.4155, allocations: 12.03 kB / 1.365 GB, free: 12.93 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.652e-05/0.4156, allocations: 38.73 kB / 1.365 GB, free: 12.88 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.287e-05/0.4156, allocations: 8.891 kB / 1.365 GB, free: 12.87 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000197/0.4158, allocations: 130.4 kB / 1.365 GB, free: 12.72 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.4158, allocations: 4.375 kB / 1.365 GB, free: 12.71 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.285e-05/0.4158, allocations: 4.375 kB / 1.365 GB, free: 12.71 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002027/0.416, allocations: 82.16 kB / 1.365 GB, free: 12.62 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.416, allocations: 3.938 kB / 1.365 GB, free: 12.62 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.4161, allocations: 0 / 1.365 GB, free: 12.62 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.9e-06/0.4161, allocations: 0 / 1.365 GB, free: 12.62 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.748e-05/0.4162, allocations: 51.97 kB / 1.365 GB, free: 12.57 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000677/0.4168, allocations: 446.7 kB / 1.365 GB, free: 12.09 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00014/0.417, allocations: 177.2 kB / 1.365 GB, free: 11.91 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.373e-05/0.417, allocations: 84.14 kB / 1.366 GB, free: 11.82 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 4.547e-05/0.4171, allocations: 83.22 kB / 1.366 GB, free: 11.74 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.694e-05/0.4172, allocations: 105.8 kB / 1.366 GB, free: 11.62 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 1.683e-06/0.4172, allocations: 0 / 1.366 GB, free: 11.62 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 9.625e-05/0.4173, allocations: 33.66 kB / 1.366 GB, free: 11.59 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.754e-05/0.4173, allocations: 130.6 kB / 1.366 GB, free: 11.45 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002163/0.4176, allocations: 169.8 kB / 1.366 GB, free: 11.27 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.776e-05/0.4176, allocations: 25.7 kB / 1.366 GB, free: 11.24 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 8.692e-05/0.4177, allocations: 96.12 kB / 1.366 GB, free: 11.14 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.266e-06/0.4177, allocations: 0 / 1.366 GB, free: 11.14 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.55e-05/0.4177, allocations: 13.72 kB / 1.366 GB, free: 11.12 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001758/0.4179, allocations: 326.8 kB / 1.366 GB, free: 10.79 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.011e-05/0.4179, allocations: 4 kB / 1.366 GB, free: 10.79 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.201e-05/0.4179, allocations: 15.92 kB / 1.366 GB, free: 10.77 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.162e-05/0.418, allocations: 8.859 kB / 1.366 GB, free: 10.76 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.418, allocations: 0 / 1.366 GB, free: 10.76 MB / 1.061 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001651/0.4181, allocations: 61.61 kB / 1.367 GB, free: 10.7 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.59e-05/0.4182, allocations: 6.031 kB / 1.367 GB, free: 10.69 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.4182, allocations: 0 / 1.367 GB, free: 10.69 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.4182, allocations: 0 / 1.367 GB, free: 10.69 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.858e-05/0.4183, allocations: 8.031 kB / 1.367 GB, free: 10.68 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.4183, allocations: 4.109 kB / 1.367 GB, free: 10.68 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.854e-05/0.4183, allocations: 15.83 kB / 1.367 GB, free: 10.66 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.634e-05/0.4183, allocations: 8 kB / 1.367 GB, free: 10.66 MB / 1.061 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.000147/0.4185, allocations: 193.1 kB / 1.367 GB, free: 10.46 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.059e-05/0.4186, allocations: 112.9 kB / 1.367 GB, free: 10.34 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.482e-05/0.4186, allocations: 116.8 kB / 1.367 GB, free: 10.21 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.878e-05/0.4187, allocations: 184.1 kB / 1.367 GB, free: 10.03 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.826e-05/0.4188, allocations: 180.3 kB / 1.367 GB, free: 9.844 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.164e-05/0.4189, allocations: 176.3 kB / 1.368 GB, free: 9.664 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003061/0.4192, allocations: 392.2 kB / 1.368 GB, free: 9.23 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.581e-05/0.4193, allocations: 109 kB / 1.368 GB, free: 9.117 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.149e-05/0.4193, allocations: 104.9 kB / 1.368 GB, free: 9.008 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.741e-05/0.4194, allocations: 177.3 kB / 1.368 GB, free: 8.828 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.217e-05/0.4195, allocations: 180.3 kB / 1.368 GB, free: 8.645 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.278e-05/0.4196, allocations: 188.1 kB / 1.369 GB, free: 8.453 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001099/0.4197, allocations: 180.3 kB / 1.369 GB, free: 8.27 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000199/0.4199, allocations: 311.7 kB / 1.369 GB, free: 7.941 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 8.657e-05/0.42, allocations: 120.9 kB / 1.369 GB, free: 7.816 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001049/0.4201, allocations: 180.3 kB / 1.369 GB, free: 7.633 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/0.4202, allocations: 105.2 kB / 1.369 GB, free: 7.523 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.083e-05/0.4203, allocations: 188.2 kB / 1.37 GB, free: 7.332 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.013e-05/0.4204, allocations: 101 kB / 1.37 GB, free: 7.227 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001191/0.4205, allocations: 131.2 kB / 1.37 GB, free: 7.098 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.4205, allocations: 0 / 1.37 GB, free: 7.098 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002434/0.4207, allocations: 4 kB / 1.37 GB, free: 7.094 MB / 1.061 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.0005519/0.4213, allocations: 0.8165 MB / 1.371 GB, free: 6.25 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 7.915e-05/0.4213, allocations: 7.984 kB / 1.371 GB, free: 6.242 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.4213, allocations: 0 / 1.371 GB, free: 6.242 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 2.425e-06/0.4214, allocations: 0 / 1.371 GB, free: 6.242 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005276/0.4219, allocations: 470.6 kB / 1.371 GB, free: 5.781 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001766/0.4236, allocations: 1.594 MB / 1.373 GB, free: 4.105 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.146e-05/0.4237, allocations: 75.33 kB / 1.373 GB, free: 4.012 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.263e-05/0.4238, allocations: 4 kB / 1.373 GB, free: 4.008 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.414e-05/0.4238, allocations: 15.44 kB / 1.373 GB, free: 3.992 MB / 1.061 GB Notification: Performance of SimCode: time 7.41e-07/0.4238, allocations: 4 kB / 1.373 GB, free: 3.988 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0315/0.4553, allocations: 2.155 MB / 1.375 GB, free: 1.969 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/11.72, allocations: 3.375 kB / 1.375 GB, free: 1.969 MB / 1.061 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.928482514806092]