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.001221/0.001221, allocations: 107.3 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.001262/0.001262, allocations: 193.5 kB / 16.25 MB, free: 6.152 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.352/1.352, allocations: 222.9 MB / 239.9 MB, free: 4.527 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 2.492/2.492, allocations: 437 MB / 0.7101 GB, free: 5.234 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001139/0.001139, allocations: 67.91 kB / 0.8689 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.669/0.6702, allocations: 151.6 MB / 1.017 GB, free: 2.676 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.001582/0.6718, allocations: 0.8359 MB / 1.018 GB, free: 1.84 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0007212/0.6725, allocations: 0.8702 MB / 1.019 GB, free: 0.957 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.311e-05/0.6726, allocations: 0 / 1.019 GB, free: 0.957 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.795e-05/0.6726, allocations: 3.938 kB / 1.019 GB, free: 0.9531 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.993e-05/0.6727, allocations: 11.86 kB / 1.019 GB, free: 0.9414 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001266/0.6728, allocations: 35.95 kB / 1.019 GB, free: 0.9062 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.968e-05/0.6729, allocations: 79.84 kB / 1.019 GB, free: 0.8281 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 8.217e-05/0.673, allocations: 31.97 kB / 1.019 GB, free: 0.7969 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.671e-05/0.673, allocations: 43.83 kB / 1.019 GB, free: 0.7539 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.008e-05/0.6731, allocations: 43.83 kB / 1.019 GB, free: 0.7109 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.923e-05/0.6731, allocations: 8 kB / 1.019 GB, free: 0.7031 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.418e-05/0.6731, allocations: 8 kB / 1.019 GB, free: 0.6953 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.408e-05/0.6732, allocations: 23.91 kB / 1.019 GB, free: 0.6719 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.731e-05/0.6732, allocations: 31.86 kB / 1.019 GB, free: 0.6406 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 8.723e-05/0.6733, allocations: 87.66 kB / 1.019 GB, free: 0.5547 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.6733, allocations: 4 kB / 1.019 GB, free: 0.5508 MB / 0.7637 GB Notification: Performance of FrontEnd: time 7.92e-07/0.6733, allocations: 4 kB / 1.019 GB, free: 0.5469 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.757e-06/0.6733, allocations: 0 / 1.019 GB, free: 0.5469 MB / 0.7637 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.0004841/0.6738, allocations: 397.4 kB / 1.019 GB, free: 116 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 2.832e-05/0.6739, allocations: 8.031 kB / 1.019 GB, free: 108 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.98e-05/0.6739, allocations: 30.75 kB / 1.019 GB, free: 68 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.498e-05/0.6739, allocations: 12.83 kB / 1.019 GB, free: 56 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001122/0.674, allocations: 188.2 kB / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.268e-06/0.6741, allocations: 384 / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.615e-05/0.6741, allocations: 12.38 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002631/0.6743, allocations: 105.5 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.35e-06/0.6744, allocations: 0 / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.6744, allocations: 0 / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.6744, allocations: 4 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003266/0.6747, allocations: 103.9 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004148/0.6751, allocations: 336.5 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005485/0.6757, allocations: 126.5 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001769/0.6759, allocations: 56.8 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.922e-05/0.6759, allocations: 0 / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.537e-05/0.6759, allocations: 34.56 kB / 1.02 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 8.62e-07/0.6759, allocations: 0 / 1.02 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.000568/0.6765, allocations: 189.4 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.194e-05/0.6765, allocations: 51.41 kB / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.239e-05/0.6766, allocations: 125.8 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.625e-05/0.6766, allocations: 25.7 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.853e-05/0.6767, allocations: 99.97 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.128e-05/0.6767, allocations: 23.75 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.159e-05/0.6767, allocations: 21.7 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.375e-05/0.6768, allocations: 326.8 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001635/0.677, allocations: 43.95 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001511/0.6772, allocations: 47.94 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003044/0.6775, allocations: 96.78 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.6775, allocations: 0 / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003622/0.6779, allocations: 141.5 kB / 1.021 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 9.618e-06/0.6779, allocations: 4 kB / 1.021 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.086e-06/0.6779, allocations: 8 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.913e-06/0.6779, allocations: 0 / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001605/0.6781, allocations: 31.89 kB / 1.022 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.257e-06/0.6781, allocations: 0 / 1.022 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001095/0.6782, allocations: 15.92 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.6782, allocations: 0 / 1.022 GB, free: 13.7 MB / 0.7794 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 6.92e-05/0.6783, allocations: 118.4 kB / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.899e-05/0.6783, allocations: 7.906 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004057/0.6787, allocations: 150.5 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.6787, allocations: 4 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.6787, allocations: 0 / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.6787, allocations: 3.938 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001638/0.6789, allocations: 197.6 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.6789, allocations: 7.938 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001512/0.6791, allocations: 31.97 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.6791, allocations: 0 / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.458e-06/0.6791, allocations: 0 / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.534e-06/0.6791, allocations: 3.984 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.6791, allocations: 0 / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003977/0.6795, allocations: 243.4 kB / 1.022 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.018e-05/0.6795, allocations: 85.02 kB / 1.022 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.639e-05/0.6796, allocations: 0 / 1.022 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001395/0.6797, allocations: 11.98 kB / 1.022 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.125e-05/0.6798, allocations: 27.84 kB / 1.022 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.374e-06/0.6798, allocations: 4 kB / 1.022 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.836e-05/0.6799, allocations: 103.2 kB / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6799, allocations: 0 / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002099/0.6801, allocations: 19.94 kB / 1.023 GB, free: 12.6 MB / 0.7794 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.0006073/0.6807, allocations: 0.767 MB / 1.023 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003576/0.6811, allocations: 115.8 kB / 1.023 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.6811, allocations: 0 / 1.023 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001789/0.6813, allocations: 55.95 kB / 1.023 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002444/0.6815, allocations: 15.92 kB / 1.023 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001677/0.6832, allocations: 1.544 MB / 1.025 GB, free: 9.996 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001776/0.6834, allocations: 0.6885 MB / 1.026 GB, free: 9.281 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 6.627e-05/0.6834, allocations: 12 kB / 1.026 GB, free: 9.27 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.786e-05/0.6835, allocations: 35.41 kB / 1.026 GB, free: 9.234 MB / 0.7794 GB Notification: Performance of SimCode: time 2.61e-07/0.6835, allocations: 0 / 1.026 GB, free: 9.234 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3862/1.07, allocations: 2.424 MB / 1.028 GB, free: 6.934 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002635/1.07, allocations: 206.6 kB / 1.028 GB, free: 6.676 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.308/4.378, allocations: 4 kB / 1.028 GB, free: 6.672 MB / 0.7794 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_Max_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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