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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0007847/0.0007847, allocations: 91.22 kB / 15.36 MB, free: 0.7383 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.005479/0.005479, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.239/1.239, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.184/2.184, allocations: 437.8 MB / 0.7121 GB, free: 7.039 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0002749/0.0002749, allocations: 12 kB / 0.873 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4719/0.4722, allocations: 153.8 MB / 1.023 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.0007853/0.473, allocations: 0.5048 MB / 1.024 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0008237/0.4738, allocations: 0.8546 MB / 1.024 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.537e-05/0.4739, allocations: 3.938 kB / 1.024 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.011e-05/0.4739, allocations: 11.92 kB / 1.024 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.254e-05/0.474, allocations: 7.922 kB / 1.024 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001326/0.4741, allocations: 35.97 kB / 1.025 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 8.986e-05/0.4742, allocations: 71.89 kB / 1.025 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.264e-05/0.4743, allocations: 27.95 kB / 1.025 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 6.513e-05/0.4744, allocations: 35.8 kB / 1.025 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.359e-05/0.4745, allocations: 43.81 kB / 1.025 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.937e-05/0.4745, allocations: 8 kB / 1.025 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.213e-05/0.4745, allocations: 4 kB / 1.025 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.905e-05/0.4745, allocations: 11.92 kB / 1.025 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.383e-05/0.4746, allocations: 57.5 kB / 1.025 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 9.632e-05/0.4747, allocations: 79.69 kB / 1.025 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.4747, allocations: 4 kB / 1.025 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.263e-06/0.4747, allocations: 0 / 1.025 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.587e-06/0.4747, allocations: 0 / 1.025 GB, free: 14.12 MB / 0.7794 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.0005065/0.4752, allocations: 385.6 kB / 1.025 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.4753, allocations: 8.031 kB / 1.025 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.344e-05/0.4753, allocations: 38.75 kB / 1.025 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.522e-05/0.4753, allocations: 4.844 kB / 1.025 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001174/0.4755, allocations: 184.2 kB / 1.025 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.4755, allocations: 8.375 kB / 1.025 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.581e-05/0.4755, allocations: 4.375 kB / 1.025 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002748/0.4758, allocations: 121.5 kB / 1.026 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.911e-06/0.4758, allocations: 0 / 1.026 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.4758, allocations: 4 kB / 1.026 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-06/0.4758, allocations: 0 / 1.026 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003653/0.4762, allocations: 127.9 kB / 1.026 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004487/0.4766, allocations: 348.5 kB / 1.026 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005436/0.4772, allocations: 126.6 kB / 1.026 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001849/0.4774, allocations: 68.8 kB / 1.026 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.825e-05/0.4774, allocations: 7.984 kB / 1.026 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.772e-05/0.4774, allocations: 38.5 kB / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.022e-06/0.4775, allocations: 0 / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0006301/0.4781, allocations: 209.5 kB / 1.026 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.515e-05/0.4781, allocations: 51.41 kB / 1.027 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.161e-05/0.4782, allocations: 133.8 kB / 1.027 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.017e-05/0.4782, allocations: 29.64 kB / 1.027 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.938e-05/0.4783, allocations: 92.05 kB / 1.027 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.303e-05/0.4783, allocations: 23.64 kB / 1.027 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.739e-05/0.4783, allocations: 21.66 kB / 1.027 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.301e-05/0.4784, allocations: 318.8 kB / 1.027 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001775/0.4786, allocations: 55.95 kB / 1.027 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001699/0.4788, allocations: 68.19 kB / 1.027 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003434/0.4791, allocations: 116.9 kB / 1.027 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.4792, allocations: 4 kB / 1.027 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003851/0.4795, allocations: 153.6 kB / 1.027 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.4796, allocations: 8 kB / 1.027 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.4796, allocations: 0 / 1.027 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.446e-06/0.4796, allocations: 0 / 1.027 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001536/0.4797, allocations: 27.97 kB / 1.028 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.4798, allocations: 0 / 1.028 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001232/0.4799, allocations: 39.75 kB / 1.028 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.135e-06/0.4799, allocations: 4 kB / 1.028 GB, free: 11.11 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 7.16e-05/0.48, allocations: 114.4 kB / 1.028 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.683e-05/0.48, allocations: 4 kB / 1.028 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004421/0.4805, allocations: 166 kB / 1.028 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.4805, allocations: 3.984 kB / 1.028 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.4805, allocations: 0 / 1.028 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.4805, allocations: 3.938 kB / 1.028 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001738/0.4807, allocations: 205.5 kB / 1.028 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.4807, allocations: 0 / 1.028 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001472/0.4808, allocations: 31.91 kB / 1.028 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.4808, allocations: 3.984 kB / 1.028 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.716e-06/0.4808, allocations: 4 kB / 1.028 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.4809, allocations: 0 / 1.028 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.4809, allocations: 0 / 1.028 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004297/0.4813, allocations: 263.4 kB / 1.028 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.793e-05/0.4813, allocations: 81.02 kB / 1.028 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.526e-05/0.4814, allocations: 7.938 kB / 1.028 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001351/0.4815, allocations: 19.98 kB / 1.028 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.756e-05/0.4816, allocations: 19.91 kB / 1.028 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.338e-06/0.4816, allocations: 7.984 kB / 1.028 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.399e-05/0.4816, allocations: 91.7 kB / 1.029 GB, free: 10 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4816, allocations: 4 kB / 1.029 GB, free: 10 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002062/0.4818, allocations: 19.94 kB / 1.029 GB, free: 9.98 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.0006667/0.4825, allocations: 0.7943 MB / 1.029 GB, free: 9.16 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003746/0.4829, allocations: 119.9 kB / 1.029 GB, free: 9.043 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.4829, allocations: 3.938 kB / 1.029 GB, free: 9.039 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000197/0.4831, allocations: 75.94 kB / 1.03 GB, free: 8.965 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002504/0.4834, allocations: 15.88 kB / 1.03 GB, free: 8.949 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001813/0.4852, allocations: 1.602 MB / 1.031 GB, free: 7.266 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002042/0.4854, allocations: 0.6887 MB / 1.032 GB, free: 6.551 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 6.293e-05/0.4855, allocations: 15.98 kB / 1.032 GB, free: 6.535 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.49e-05/0.4856, allocations: 27.36 kB / 1.032 GB, free: 6.508 MB / 0.7794 GB Notification: Performance of SimCode: time 3.31e-07/0.4856, allocations: 0 / 1.032 GB, free: 6.508 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1265/0.6121, allocations: 2.265 MB / 1.034 GB, free: 4.371 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001479/0.6122, allocations: 214.1 kB / 1.034 GB, free: 4.105 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.69/2.302, allocations: 3.938 kB / 1.034 GB, free: 4.102 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