Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) 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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Max,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Max,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004393/0.004393, allocations: 101 kB / 15.73 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00116/0.001161, allocations: 195.7 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.258/1.258, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.427/2.427, allocations: 469.8 MB / 0.7425 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001697/0.001697, allocations: 75.88 kB / 1.065 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.608/0.6097, allocations: 159.1 MB / 1.22 GB, free: 2.023 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.001649/0.6114, allocations: 0.7812 MB / 1.221 GB, free: 1.246 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.000841/0.6122, allocations: 0.8584 MB / 1.222 GB, free: 384 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.496e-05/0.6123, allocations: 4 kB / 1.222 GB, free: 380 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.654e-05/0.6123, allocations: 3.938 kB / 1.222 GB, free: 376 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.49e-05/0.6124, allocations: 15.84 kB / 1.222 GB, free: 360 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001608/0.6126, allocations: 35.97 kB / 1.222 GB, free: 324 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001113/0.6127, allocations: 91.73 kB / 1.222 GB, free: 232 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 9.926e-05/0.6128, allocations: 24 kB / 1.222 GB, free: 208 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 7.283e-05/0.6129, allocations: 39.84 kB / 1.222 GB, free: 168 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 8.238e-05/0.613, allocations: 51.81 kB / 1.222 GB, free: 116 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.448e-05/0.613, allocations: 8 kB / 1.222 GB, free: 108 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.687e-05/0.613, allocations: 8 kB / 1.222 GB, free: 100 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.436e-05/0.613, allocations: 15.92 kB / 1.222 GB, free: 84 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.387e-05/0.6131, allocations: 43.83 kB / 1.222 GB, free: 40 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001317/0.6132, allocations: 91.27 kB / 1.222 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.6132, allocations: 0 / 1.222 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.313e-06/0.6132, allocations: 0 / 1.222 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 3.747e-06/0.6133, allocations: 0 / 1.222 GB, free: 15.95 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005672/0.6138, allocations: 395.1 kB / 1.223 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.6139, allocations: 12.03 kB / 1.223 GB, free: 15.51 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.305e-05/0.6139, allocations: 34.73 kB / 1.223 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.674e-05/0.6139, allocations: 12.89 kB / 1.223 GB, free: 15.45 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001403/0.6141, allocations: 180.3 kB / 1.223 GB, free: 15.24 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.6141, allocations: 4.375 kB / 1.223 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.948e-05/0.6141, allocations: 12.12 kB / 1.223 GB, free: 15.22 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002778/0.6144, allocations: 111 kB / 1.223 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.6144, allocations: 0 / 1.223 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.988e-06/0.6144, allocations: 0 / 1.223 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.6144, allocations: 0 / 1.223 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000347/0.6148, allocations: 99.91 kB / 1.223 GB, free: 15.01 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004627/0.6153, allocations: 352.5 kB / 1.223 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000553/0.6158, allocations: 122.6 kB / 1.223 GB, free: 14.49 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001816/0.616, allocations: 48.81 kB / 1.224 GB, free: 14.44 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.63e-05/0.616, allocations: 3.938 kB / 1.224 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.073e-05/0.6161, allocations: 38.56 kB / 1.224 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.6161, allocations: 0 / 1.224 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7): time 0.0006252/0.6167, allocations: 189.4 kB / 1.224 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.067e-05/0.6167, allocations: 51.41 kB / 1.224 GB, free: 14.13 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.193e-05/0.6168, allocations: 125.7 kB / 1.224 GB, free: 14 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.566e-05/0.6169, allocations: 25.7 kB / 1.224 GB, free: 13.97 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.808e-05/0.6169, allocations: 96.08 kB / 1.224 GB, free: 13.87 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.383e-05/0.6169, allocations: 27.78 kB / 1.224 GB, free: 13.84 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.851e-05/0.617, allocations: 25.7 kB / 1.224 GB, free: 13.81 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001105/0.6171, allocations: 318.8 kB / 1.224 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000174/0.6173, allocations: 43.95 kB / 1.224 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001646/0.6175, allocations: 47.95 kB / 1.224 GB, free: 13.4 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003367/0.6178, allocations: 100.7 kB / 1.225 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.6178, allocations: 0 / 1.225 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003889/0.6182, allocations: 137.5 kB / 1.225 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.004e-05/0.6182, allocations: 4 kB / 1.225 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.447e-06/0.6182, allocations: 4 kB / 1.225 GB, free: 13.15 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.6183, allocations: 0 / 1.225 GB, free: 13.15 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001527/0.6184, allocations: 23.97 kB / 1.225 GB, free: 13.13 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.6184, allocations: 3.938 kB / 1.225 GB, free: 13.12 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001033/0.6185, allocations: 15.97 kB / 1.225 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.39e-05/0.6186, allocations: 7.984 kB / 1.225 GB, free: 13.1 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (reaToInt1.y,reaToInt.y,max1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 7.863e-05/0.6186, allocations: 113.8 kB / 1.225 GB, free: 12.98 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.625e-05/0.6187, allocations: 11.89 kB / 1.225 GB, free: 12.97 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004331/0.6191, allocations: 153.9 kB / 1.225 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.6191, allocations: 3.984 kB / 1.225 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.6191, allocations: 3.938 kB / 1.225 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.6191, allocations: 0 / 1.225 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001886/0.6193, allocations: 197.6 kB / 1.225 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.6193, allocations: 4 kB / 1.225 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001432/0.6195, allocations: 23.97 kB / 1.225 GB, free: 12.53 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.6195, allocations: 3.984 kB / 1.225 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.6195, allocations: 0 / 1.225 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.6195, allocations: 8 kB / 1.225 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.6195, allocations: 3.938 kB / 1.225 GB, free: 12.51 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004278/0.62, allocations: 244 kB / 1.225 GB, free: 12.26 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.187e-05/0.62, allocations: 81.06 kB / 1.226 GB, free: 12.16 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.743e-05/0.62, allocations: 4 kB / 1.226 GB, free: 12.16 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001283/0.6202, allocations: 11.92 kB / 1.226 GB, free: 12.14 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.78e-05/0.6202, allocations: 27.91 kB / 1.226 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.496e-06/0.6202, allocations: 4 kB / 1.226 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.246e-05/0.6203, allocations: 95.27 kB / 1.226 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6203, allocations: 4 kB / 1.226 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002136/0.6205, allocations: 15.94 kB / 1.226 GB, free: 12 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (max1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0007029/0.6212, allocations: 0.7793 MB / 1.226 GB, free: 11.2 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003965/0.6216, allocations: 100 kB / 1.227 GB, free: 11.1 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.482e-06/0.6217, allocations: 0 / 1.227 GB, free: 11.1 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001973/0.6219, allocations: 63.88 kB / 1.227 GB, free: 11.04 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002476/0.6221, allocations: 22.05 kB / 1.227 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001875/0.624, allocations: 1.537 MB / 1.228 GB, free: 9.398 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002537/0.6243, allocations: 0.6924 MB / 1.229 GB, free: 8.68 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 5.474e-05/0.6243, allocations: 12 kB / 1.229 GB, free: 8.668 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.27e-05/0.6244, allocations: 31.42 kB / 1.229 GB, free: 8.637 MB / 0.9512 GB Notification: Performance of SimCode: time 1.9e-07/0.6244, allocations: 0 / 1.229 GB, free: 8.637 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.528/4.152, allocations: 2.704 MB / 1.232 GB, free: 6.023 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.31/18.46, allocations: 7.188 kB / 1.232 GB, free: 6.02 MB / 0.9512 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Max_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Max.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_Max.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches