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.001083/0.001084, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001174/0.001174, allocations: 194.8 kB / 16.53 MB, free: 6.664 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.331/1.331, allocations: 222.9 MB / 240.2 MB, free: 4.379 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.316/2.316, allocations: 390.3 MB / 0.6647 GB, free: 212 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001308, allocations: 63.91 kB / 0.8127 GB, free: 14.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6499/0.6512, allocations: 140.4 MB / 0.9497 GB, free: 9.379 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.001934/0.6532, allocations: 0.7656 MB / 0.9505 GB, free: 8.785 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007611/0.654, allocations: 0.865 MB / 0.9513 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.32e-05/0.654, allocations: 1.688 kB / 0.9513 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.802e-05/0.6541, allocations: 7.875 kB / 0.9513 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.391e-05/0.6541, allocations: 15.88 kB / 0.9513 GB, free: 8.055 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001381/0.6543, allocations: 39.75 kB / 0.9514 GB, free: 8.023 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.002e-05/0.6544, allocations: 86.55 kB / 0.9515 GB, free: 7.973 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/0.6545, allocations: 23.3 kB / 0.9515 GB, free: 7.961 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.101e-05/0.6546, allocations: 41.84 kB / 0.9515 GB, free: 7.934 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.947e-05/0.6547, allocations: 47.53 kB / 0.9516 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.28e-05/0.6547, allocations: 16.31 kB / 0.9516 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.711e-05/0.6547, allocations: 7.5 kB / 0.9516 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.334e-05/0.6547, allocations: 22.88 kB / 0.9516 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.589e-05/0.6548, allocations: 34.73 kB / 0.9517 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.065e-05/0.6549, allocations: 82.5 kB / 0.9517 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.6549, allocations: 1.375 kB / 0.9517 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.563e-06/0.6549, allocations: 0 / 0.9517 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.549e-06/0.6549, allocations: 0 / 0.9517 GB, free: 7.777 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.0005202/0.6554, allocations: 397.8 kB / 0.9521 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.6555, allocations: 8.719 kB / 0.9521 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.01e-05/0.6555, allocations: 37.94 kB / 0.9522 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.083e-05/0.6555, allocations: 11.34 kB / 0.9522 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.809e-05/0.6556, allocations: 185.4 kB / 0.9523 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.678e-05/0.6557, allocations: 3.062 kB / 0.9523 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.038e-05/0.6557, allocations: 7.969 kB / 0.9524 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003018/0.656, allocations: 111.8 kB / 0.9525 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.656, allocations: 5.25 kB / 0.9525 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/0.656, allocations: 0 / 0.9525 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.656, allocations: 1.406 kB / 0.9525 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003846/0.6564, allocations: 96.5 kB / 0.9526 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004829/0.6569, allocations: 351 kB / 0.9529 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00063/0.6576, allocations: 121.8 kB / 0.953 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001913/0.6578, allocations: 58.94 kB / 0.9531 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.422e-05/0.6578, allocations: 0.8125 kB / 0.9531 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.316e-05/0.6578, allocations: 31.94 kB / 0.9531 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.6578, allocations: 0 / 0.9531 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0006541/0.6585, allocations: 184.5 kB / 0.9533 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.488e-05/0.6585, allocations: 52.72 kB / 0.9533 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.506e-05/0.6586, allocations: 130.3 kB / 0.9534 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.33e-05/0.6586, allocations: 25.7 kB / 0.9535 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.905e-05/0.6587, allocations: 94.69 kB / 0.9536 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.225e-05/0.6587, allocations: 22.36 kB / 0.9536 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.164e-05/0.6588, allocations: 24.94 kB / 0.9536 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.063e-05/0.6588, allocations: 320.2 kB / 0.9539 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001859/0.659, allocations: 47.14 kB / 0.954 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001722/0.6592, allocations: 49.77 kB / 0.954 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003362/0.6595, allocations: 97.59 kB / 0.9541 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.6595, allocations: 9.406 kB / 0.9541 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003828/0.6599, allocations: 135.2 kB / 0.9542 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.6599, allocations: 5.281 kB / 0.9542 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.66, allocations: 0.875 kB / 0.9542 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.66, allocations: 0 / 0.9542 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001665/0.6601, allocations: 32.47 kB / 0.9543 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.6602, allocations: 3.984 kB / 0.9543 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001145/0.6603, allocations: 23.52 kB / 0.9543 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.127e-06/0.6603, allocations: 1.844 kB / 0.9543 GB, free: 5.477 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 6.396e-05/0.6604, allocations: 114.1 kB / 0.9544 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.201e-05/0.6604, allocations: 6.438 kB / 0.9544 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004514/0.6609, allocations: 152.2 kB / 0.9546 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.584e-06/0.6609, allocations: 0.9062 kB / 0.9546 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.6609, allocations: 4 kB / 0.9546 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.6609, allocations: 5.062 kB / 0.9546 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001473/0.661, allocations: 199.4 kB / 0.9548 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.661, allocations: 3.938 kB / 0.9548 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001524/0.6612, allocations: 24.03 kB / 0.9548 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.6612, allocations: 1.031 kB / 0.9548 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.6612, allocations: 1.094 kB / 0.9548 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.6612, allocations: 5.125 kB / 0.9548 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.6612, allocations: 0 / 0.9548 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000422/0.6617, allocations: 236 kB / 0.955 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.708e-05/0.6617, allocations: 86.28 kB / 0.9551 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.12e-05/0.6617, allocations: 1.281 kB / 0.9551 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000143/0.6619, allocations: 18.66 kB / 0.9551 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.85e-05/0.662, allocations: 23.2 kB / 0.9551 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.061e-05/0.662, allocations: 10.36 kB / 0.9552 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.218e-05/0.662, allocations: 92.5 kB / 0.9552 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.662, allocations: 1.219 kB / 0.9552 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002345/0.6623, allocations: 19.7 kB / 0.9553 GB, free: 4.594 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.0006456/0.6629, allocations: 0.7642 MB / 0.956 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004183/0.6634, allocations: 114 kB / 0.9561 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.6634, allocations: 3.938 kB / 0.9561 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001965/0.6636, allocations: 64.28 kB / 0.9562 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000315/0.6639, allocations: 12.22 kB / 0.9562 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001726/0.6656, allocations: 1.534 MB / 0.9577 GB, free: 2.402 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001112/0.6657, allocations: 0.6938 MB / 0.9584 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 6.461e-05/0.6658, allocations: 13.98 kB / 0.9584 GB, free: 1.688 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.285e-05/0.6659, allocations: 34.55 kB / 0.9584 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of SimCode: time 2.5e-07/0.6659, allocations: 0 / 0.9584 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02123/0.6871, allocations: 2.641 MB / 0.961 GB, free: 280 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.647/8.334, allocations: 9.828 kB / 0.961 GB, free: 272 kB / 0.7169 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