Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Controls_OBC_CDL_Integers_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Max,fileNamePrefix="Buildings_9_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.001664/0.001664, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001815/0.001815, allocations: 196.6 kB / 16.25 MB, free: 6.625 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.481/1.481, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.416/2.416, allocations: 390.2 MB / 0.6644 GB, free: 0.5781 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001608/0.001608, allocations: 71.84 kB / 0.8122 GB, free: 14.67 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.758/0.7596, allocations: 140.4 MB / 0.9492 GB, free: 9.168 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.002209/0.7619, allocations: 0.8281 MB / 0.9501 GB, free: 8.531 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009968/0.7629, allocations: 0.8608 MB / 0.9509 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.93e-05/0.763, allocations: 1.438 kB / 0.9509 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.448e-05/0.7631, allocations: 7.922 kB / 0.9509 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.785e-05/0.7632, allocations: 9.109 kB / 0.9509 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001634/0.7633, allocations: 35.78 kB / 0.9509 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001049/0.7634, allocations: 83.55 kB / 0.951 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001396/0.7636, allocations: 29.84 kB / 0.9511 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.556e-05/0.7637, allocations: 41.64 kB / 0.9511 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.99e-05/0.7638, allocations: 47.94 kB / 0.9511 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.477e-05/0.7638, allocations: 8.688 kB / 0.9512 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.788e-05/0.7638, allocations: 7.25 kB / 0.9512 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.439e-05/0.7638, allocations: 14.73 kB / 0.9512 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.242e-05/0.7639, allocations: 42.53 kB / 0.9512 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001204/0.764, allocations: 86.75 kB / 0.9513 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.764, allocations: 1.375 kB / 0.9513 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.054e-06/0.764, allocations: 0 / 0.9513 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.973e-06/0.764, allocations: 3.984 kB / 0.9513 GB, free: 7.535 MB / 0.7169 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.0005655/0.7646, allocations: 385 kB / 0.9517 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.7647, allocations: 9.625 kB / 0.9517 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.747e-05/0.7647, allocations: 49.36 kB / 0.9517 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.744e-05/0.7648, allocations: 12.97 kB / 0.9517 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001236/0.7649, allocations: 176.4 kB / 0.9519 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.807e-05/0.7649, allocations: 7.062 kB / 0.9519 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.882e-05/0.7649, allocations: 4.5 kB / 0.9519 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002901/0.7652, allocations: 108.5 kB / 0.952 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.7652, allocations: 0 / 0.952 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.636e-05/0.7653, allocations: 4.969 kB / 0.952 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.7653, allocations: 1.438 kB / 0.952 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003583/0.7656, allocations: 99.22 kB / 0.9521 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000489/0.7661, allocations: 347.5 kB / 0.9525 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006364/0.7668, allocations: 122.6 kB / 0.9526 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001849/0.767, allocations: 54.45 kB / 0.9526 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.79e-05/0.767, allocations: 1.438 kB / 0.9526 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.478e-05/0.767, allocations: 35.69 kB / 0.9527 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 2.404e-06/0.767, allocations: 0 / 0.9527 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0006513/0.7677, allocations: 180.1 kB / 0.9528 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.293e-05/0.7677, allocations: 52.91 kB / 0.9529 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.675e-05/0.7678, allocations: 133.3 kB / 0.953 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.413e-05/0.7679, allocations: 25.7 kB / 0.953 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.514e-05/0.7679, allocations: 96.02 kB / 0.9531 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.636e-05/0.7679, allocations: 22.41 kB / 0.9531 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.825e-05/0.768, allocations: 24.36 kB / 0.9532 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.384e-05/0.768, allocations: 320.5 kB / 0.9535 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001743/0.7682, allocations: 43.3 kB / 0.9535 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001638/0.7684, allocations: 53.31 kB / 0.9536 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003378/0.7687, allocations: 101 kB / 0.9537 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.7687, allocations: 1.188 kB / 0.9537 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003948/0.7691, allocations: 139.9 kB / 0.9538 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.7692, allocations: 5 kB / 0.9538 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.7692, allocations: 0.75 kB / 0.9538 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.7692, allocations: 4 kB / 0.9538 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001712/0.7694, allocations: 24.5 kB / 0.9538 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.7694, allocations: 1.5 kB / 0.9538 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001187/0.7695, allocations: 22.94 kB / 0.9538 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.172e-05/0.7695, allocations: 5.422 kB / 0.9539 GB, free: 5.246 MB / 0.7169 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.206e-05/0.7696, allocations: 122.2 kB / 0.954 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.097e-05/0.7696, allocations: 6.625 kB / 0.954 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004489/0.7701, allocations: 147.6 kB / 0.9541 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.7701, allocations: 0.9375 kB / 0.9541 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.7701, allocations: 5.562 kB / 0.9541 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.7701, allocations: 3.938 kB / 0.9541 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001868/0.7703, allocations: 203.5 kB / 0.9543 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.7703, allocations: 0 / 0.9543 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001598/0.7705, allocations: 27.95 kB / 0.9543 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.7705, allocations: 1.625 kB / 0.9544 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.218e-05/0.7705, allocations: 0 / 0.9544 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.856e-06/0.7705, allocations: 5.281 kB / 0.9544 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.7705, allocations: 80 / 0.9544 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004397/0.771, allocations: 240.2 kB / 0.9546 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.706e-05/0.771, allocations: 86.45 kB / 0.9547 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.456e-05/0.7711, allocations: 1.188 kB / 0.9547 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001462/0.7712, allocations: 10.67 kB / 0.9547 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.612e-05/0.7713, allocations: 31.09 kB / 0.9547 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.111e-05/0.7713, allocations: 2.469 kB / 0.9547 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.265e-05/0.7714, allocations: 93.8 kB / 0.9548 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7714, allocations: 0 / 0.9548 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000258/0.7716, allocations: 19.44 kB / 0.9548 GB, free: 4.359 MB / 0.7169 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.0006794/0.7723, allocations: 0.7769 MB / 0.9556 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004238/0.7728, allocations: 106.1 kB / 0.9557 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.7728, allocations: 3.938 kB / 0.9557 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002107/0.773, allocations: 62.88 kB / 0.9557 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003512/0.7733, allocations: 12.62 kB / 0.9558 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001895/0.7753, allocations: 1.538 MB / 0.9573 GB, free: 2.156 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001233/0.7754, allocations: 0.6938 MB / 0.9579 GB, free: 1.449 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 7.772e-05/0.7755, allocations: 14.33 kB / 0.9579 GB, free: 1.441 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.308e-05/0.7756, allocations: 34.11 kB / 0.958 GB, free: 1.414 MB / 0.7169 GB Notification: Performance of SimCode: time 3.4e-07/0.7756, allocations: 0 / 0.958 GB, free: 1.414 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01344/0.789, allocations: 2.421 MB / 0.9603 GB, free: 216 kB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001873/0.7893, allocations: 198.2 kB / 0.9605 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.959/2.748, allocations: 4 kB / 0.9605 GB, free: 15.95 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Max_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Max.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_Max.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches