Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Add.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.Add,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Add,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_Add",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.0009094/0.0009093, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005263/0.005264, allocations: 169.2 kB / 16.26 MB, free: 6.652 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.24/1.24, allocations: 223.3 MB / 240.3 MB, free: 5.328 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.339/2.339, allocations: 437.8 MB / 0.7121 GB, free: 7 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003424/0.0003424, allocations: 8.281 kB / 0.873 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5058/0.5062, allocations: 153.8 MB / 1.023 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.0008218/0.507, allocations: 0.4971 MB / 1.024 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0007817/0.5078, allocations: 0.8585 MB / 1.024 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.528e-05/0.5079, allocations: 4 kB / 1.024 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.604e-05/0.5079, allocations: 7.875 kB / 1.024 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.911e-05/0.508, allocations: 3.938 kB / 1.024 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001273/0.5081, allocations: 39.95 kB / 1.025 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 9.827e-05/0.5082, allocations: 71.89 kB / 1.025 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.5083, allocations: 31.97 kB / 1.025 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.382e-05/0.5084, allocations: 35.78 kB / 1.025 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.795e-05/0.5085, allocations: 43.77 kB / 1.025 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.295e-05/0.5085, allocations: 4 kB / 1.025 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.383e-05/0.5086, allocations: 4 kB / 1.025 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.062e-05/0.5086, allocations: 11.92 kB / 1.025 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.658e-05/0.5087, allocations: 65.47 kB / 1.025 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001079/0.5088, allocations: 75.72 kB / 1.025 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.5088, allocations: 4 kB / 1.025 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.223e-06/0.5088, allocations: 4 kB / 1.025 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.627e-06/0.5088, allocations: 0 / 1.025 GB, free: 14.18 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.0005155/0.5093, allocations: 381.6 kB / 1.025 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.5094, allocations: 12.02 kB / 1.025 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.601e-05/0.5094, allocations: 42.75 kB / 1.025 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.643e-05/0.5094, allocations: 8.844 kB / 1.025 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001182/0.5096, allocations: 176.2 kB / 1.025 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.615e-05/0.5096, allocations: 8.375 kB / 1.025 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.422e-05/0.5096, allocations: 4.359 kB / 1.025 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002849/0.5099, allocations: 125.5 kB / 1.026 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.921e-06/0.5099, allocations: 0 / 1.026 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.5099, allocations: 0 / 1.026 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.5099, allocations: 0 / 1.026 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003833/0.5103, allocations: 123.9 kB / 1.026 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004567/0.5108, allocations: 352.5 kB / 1.026 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005636/0.5114, allocations: 126.6 kB / 1.026 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002046/0.5116, allocations: 72.81 kB / 1.026 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.428e-05/0.5116, allocations: 0 / 1.026 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.898e-05/0.5116, allocations: 34.5 kB / 1.026 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 8.31e-07/0.5116, allocations: 0 / 1.026 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0006531/0.5123, allocations: 217.5 kB / 1.026 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.881e-05/0.5123, allocations: 51.41 kB / 1.027 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.389e-05/0.5124, allocations: 125.8 kB / 1.027 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.738e-05/0.5124, allocations: 29.7 kB / 1.027 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.088e-05/0.5125, allocations: 95.97 kB / 1.027 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.773e-05/0.5125, allocations: 27.64 kB / 1.027 GB, free: 12 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.965e-05/0.5125, allocations: 21.7 kB / 1.027 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.009e-05/0.5126, allocations: 314.8 kB / 1.027 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001846/0.5128, allocations: 55.95 kB / 1.027 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001748/0.513, allocations: 63.89 kB / 1.027 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003558/0.5134, allocations: 116.8 kB / 1.027 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.5134, allocations: 0 / 1.027 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004044/0.5138, allocations: 154.1 kB / 1.027 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 9.388e-06/0.5138, allocations: 4 kB / 1.027 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.165e-06/0.5138, allocations: 0 / 1.027 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.616e-06/0.5138, allocations: 7.922 kB / 1.027 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001666/0.514, allocations: 35.97 kB / 1.028 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.514, allocations: 0 / 1.028 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001207/0.5141, allocations: 31.77 kB / 1.028 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.865e-06/0.5142, allocations: 0 / 1.028 GB, free: 11.18 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,add1.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.416e-05/0.5142, allocations: 115.7 kB / 1.028 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.831e-05/0.5143, allocations: 4 kB / 1.028 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.604e-05/0.5143, allocations: 16.36 kB / 1.028 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.5143, allocations: 4 kB / 1.028 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.5143, allocations: 0 / 1.028 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.5143, allocations: 3.938 kB / 1.028 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001827/0.5145, allocations: 201.5 kB / 1.028 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.5145, allocations: 4 kB / 1.028 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000153/0.5147, allocations: 27.97 kB / 1.028 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.5147, allocations: 0 / 1.028 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.266e-06/0.5147, allocations: 4 kB / 1.028 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.5147, allocations: 80 / 1.028 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.5147, allocations: 3.984 kB / 1.028 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004461/0.5152, allocations: 259.3 kB / 1.028 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.311e-05/0.5152, allocations: 85.02 kB / 1.028 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.971e-05/0.5152, allocations: 3.984 kB / 1.028 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001528/0.5154, allocations: 23.92 kB / 1.028 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.952e-05/0.5155, allocations: 27.91 kB / 1.028 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.766e-06/0.5155, allocations: 3.984 kB / 1.028 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.448e-05/0.5155, allocations: 99.64 kB / 1.028 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5155, allocations: 0 / 1.028 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002153/0.5158, allocations: 19.94 kB / 1.028 GB, free: 10.2 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 (add1.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.0006835/0.5164, allocations: 0.7982 MB / 1.029 GB, free: 9.375 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004208/0.5169, allocations: 119.9 kB / 1.029 GB, free: 9.258 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.5169, allocations: 0 / 1.029 GB, free: 9.258 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002057/0.5171, allocations: 79.88 kB / 1.029 GB, free: 9.18 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002602/0.5174, allocations: 15.94 kB / 1.029 GB, free: 9.164 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00187/0.5192, allocations: 1.59 MB / 1.031 GB, free: 7.492 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002095/0.5195, allocations: 0.6928 MB / 1.032 GB, free: 6.773 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 6.63e-05/0.5195, allocations: 15.98 kB / 1.032 GB, free: 6.758 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.491e-05/0.5196, allocations: 27.36 kB / 1.032 GB, free: 6.73 MB / 0.7794 GB Notification: Performance of SimCode: time 2.61e-07/0.5196, allocations: 0 / 1.032 GB, free: 6.73 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2901/0.8098, allocations: 2.263 MB / 1.034 GB, free: 4.598 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000354/0.8102, allocations: 197.7 kB / 1.034 GB, free: 4.344 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.626/2.437, allocations: 4.062 kB / 1.034 GB, free: 4.34 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Add.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_Add_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_Add.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_Add.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Add.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches