Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Controls_OBC_CDL_Integers_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Max,fileNamePrefix="Buildings_10_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.01201/0.01201, allocations: 96.94 kB / 15.73 MB, free: 6.484 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.002459/0.002459, allocations: 191.7 kB / 16.67 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.893/2.893, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 5.169/5.169, allocations: 437 MB / 0.7105 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.003031/0.003031, allocations: 67.91 kB / 1.018 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5863/0.5894, allocations: 151.6 MB / 1.166 GB, free: 7.336 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.003618/0.5931, allocations: 0.7833 MB / 1.167 GB, free: 6.547 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001827/0.595, allocations: 0.8701 MB / 1.168 GB, free: 5.664 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.246e-05/0.5951, allocations: 0 / 1.168 GB, free: 5.664 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 5.234e-05/0.5951, allocations: 11.92 kB / 1.168 GB, free: 5.652 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001334/0.5953, allocations: 7.875 kB / 1.168 GB, free: 5.645 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002777/0.5956, allocations: 43.94 kB / 1.168 GB, free: 5.602 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002034/0.5958, allocations: 83.77 kB / 1.168 GB, free: 5.52 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002048/0.596, allocations: 31.97 kB / 1.168 GB, free: 5.488 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001569/0.5962, allocations: 31.92 kB / 1.168 GB, free: 5.457 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001738/0.5964, allocations: 51.81 kB / 1.168 GB, free: 5.406 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 4.276e-05/0.5964, allocations: 8 kB / 1.168 GB, free: 5.398 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 3.008e-05/0.5965, allocations: 8 kB / 1.168 GB, free: 5.391 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 5.289e-05/0.5965, allocations: 23.84 kB / 1.168 GB, free: 5.367 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 7.944e-05/0.5966, allocations: 35.8 kB / 1.168 GB, free: 5.332 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002527/0.5969, allocations: 95.92 kB / 1.168 GB, free: 5.238 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 1.073e-05/0.5969, allocations: 0 / 1.168 GB, free: 5.238 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.006e-06/0.5969, allocations: 3.938 kB / 1.168 GB, free: 5.234 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.276e-06/0.5969, allocations: 0 / 1.168 GB, free: 5.234 MB / 0.92 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.001051/0.598, allocations: 395.1 kB / 1.169 GB, free: 4.801 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 6.712e-05/0.5981, allocations: 12.03 kB / 1.169 GB, free: 4.789 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.582e-05/0.5982, allocations: 30.75 kB / 1.169 GB, free: 4.75 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.138e-05/0.5982, allocations: 8.891 kB / 1.169 GB, free: 4.742 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002549/0.5985, allocations: 188.2 kB / 1.169 GB, free: 4.52 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.961e-05/0.5985, allocations: 4.375 kB / 1.169 GB, free: 4.516 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.586e-05/0.5986, allocations: 12.12 kB / 1.169 GB, free: 4.504 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004786/0.599, allocations: 101.6 kB / 1.169 GB, free: 4.398 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/0.5991, allocations: 0 / 1.169 GB, free: 4.398 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.929e-05/0.5991, allocations: 0 / 1.169 GB, free: 4.398 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.735e-06/0.5991, allocations: 0 / 1.169 GB, free: 4.398 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008074/0.5999, allocations: 99.91 kB / 1.169 GB, free: 4.301 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009264/0.6009, allocations: 348.5 kB / 1.169 GB, free: 3.91 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001052/0.602, allocations: 126.6 kB / 1.169 GB, free: 3.777 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003528/0.6023, allocations: 52.8 kB / 1.17 GB, free: 3.723 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.174e-05/0.6024, allocations: 0 / 1.17 GB, free: 3.723 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.064e-05/0.6024, allocations: 42.5 kB / 1.17 GB, free: 3.672 MB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 2.174e-06/0.6024, allocations: 0 / 1.17 GB, free: 3.672 MB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.001059/0.6035, allocations: 181.5 kB / 1.17 GB, free: 3.488 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.052e-05/0.6036, allocations: 55.41 kB / 1.17 GB, free: 3.422 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001876/0.6038, allocations: 125.8 kB / 1.17 GB, free: 3.289 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.317e-05/0.6038, allocations: 25.7 kB / 1.17 GB, free: 3.258 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 9.969e-05/0.6039, allocations: 92.09 kB / 1.17 GB, free: 3.164 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 4.904e-05/0.604, allocations: 19.8 kB / 1.17 GB, free: 3.145 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.3e-05/0.6041, allocations: 33.64 kB / 1.17 GB, free: 3.105 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0002017/0.6043, allocations: 318.8 kB / 1.17 GB, free: 2.785 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002732/0.6046, allocations: 43.95 kB / 1.17 GB, free: 2.742 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003643/0.605, allocations: 47.94 kB / 1.17 GB, free: 2.695 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005549/0.6055, allocations: 108.7 kB / 1.171 GB, free: 2.586 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.6056, allocations: 0 / 1.171 GB, free: 2.586 MB / 0.92 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0006376/0.6062, allocations: 134 kB / 1.171 GB, free: 2.449 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.455e-05/0.6062, allocations: 6.031 kB / 1.171 GB, free: 2.445 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/0.6063, allocations: 0 / 1.171 GB, free: 2.445 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.292e-05/0.6063, allocations: 0 / 1.171 GB, free: 2.445 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002531/0.6065, allocations: 27.97 kB / 1.171 GB, free: 2.418 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.291e-05/0.6066, allocations: 4.016 kB / 1.171 GB, free: 2.414 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001631/0.6067, allocations: 15.97 kB / 1.171 GB, free: 2.398 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.307e-05/0.6068, allocations: 7.984 kB / 1.171 GB, free: 2.391 MB / 0.92 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 0.0001573/0.6069, allocations: 121.8 kB / 1.171 GB, free: 2.262 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.601e-05/0.607, allocations: 3.953 kB / 1.171 GB, free: 2.258 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007293/0.6077, allocations: 157.9 kB / 1.171 GB, free: 2.098 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.98e-06/0.6077, allocations: 0 / 1.171 GB, free: 2.098 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.097e-05/0.6078, allocations: 3.938 kB / 1.171 GB, free: 2.094 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.6078, allocations: 0 / 1.171 GB, free: 2.094 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004765/0.6083, allocations: 201.6 kB / 1.171 GB, free: 1.848 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.6083, allocations: 0 / 1.171 GB, free: 1.848 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002272/0.6085, allocations: 31.91 kB / 1.171 GB, free: 1.816 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.6085, allocations: 0 / 1.171 GB, free: 1.816 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.624e-05/0.6086, allocations: 0 / 1.171 GB, free: 1.816 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.57e-06/0.6086, allocations: 4 kB / 1.171 GB, free: 1.812 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.6086, allocations: 3.938 kB / 1.171 GB, free: 1.809 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006993/0.6093, allocations: 235.4 kB / 1.171 GB, free: 1.562 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 8.896e-05/0.6094, allocations: 85 kB / 1.172 GB, free: 1.461 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.692e-05/0.6094, allocations: 0 / 1.172 GB, free: 1.461 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002312/0.6097, allocations: 19.91 kB / 1.172 GB, free: 1.441 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001314/0.6098, allocations: 23.92 kB / 1.172 GB, free: 1.418 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.726e-05/0.6099, allocations: 3.984 kB / 1.172 GB, free: 1.414 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0001021/0.61, allocations: 99.22 kB / 1.172 GB, free: 1.316 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.71e-07/0.61, allocations: 0 / 1.172 GB, free: 1.316 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0004489/0.6104, allocations: 12 kB / 1.172 GB, free: 1.305 MB / 0.92 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.001246/0.6117, allocations: 0.7748 MB / 1.172 GB, free: 0.5039 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0007059/0.6124, allocations: 107.9 kB / 1.173 GB, free: 408 kB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 9.759e-06/0.6125, allocations: 0 / 1.173 GB, free: 408 kB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.000364/0.6128, allocations: 63.88 kB / 1.173 GB, free: 344 kB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006248/0.6135, allocations: 11.94 kB / 1.173 GB, free: 332 kB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003664/0.6171, allocations: 1.533 MB / 1.174 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005153/0.6177, allocations: 0.6885 MB / 1.175 GB, free: 13.99 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001289/0.6178, allocations: 12 kB / 1.175 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001603/0.618, allocations: 35.41 kB / 1.175 GB, free: 13.95 MB / 0.9356 GB Notification: Performance of SimCode: time 1.242e-06/0.618, allocations: 4 kB / 1.175 GB, free: 13.94 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1178/0.7358, allocations: 2.705 MB / 1.178 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.87/18.6, allocations: 17.77 kB / 1.178 GB, free: 11.32 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Max.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_Max.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_Max.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Max.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches