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.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.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.001214/0.001214, 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.001287/0.001288, allocations: 193.7 kB / 16.25 MB, free: 6.629 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.272/1.272, allocations: 222.9 MB / 239.9 MB, free: 4.461 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.384/2.384, allocations: 437 MB / 0.7101 GB, free: 5.207 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001153/0.001153, allocations: 63.89 kB / 0.8689 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4391/0.4403, allocations: 151.6 MB / 1.017 GB, free: 2.797 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.001649/0.442, allocations: 0.8437 MB / 1.018 GB, free: 1.953 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.000737/0.4427, allocations: 0.8507 MB / 1.019 GB, free: 1.09 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.469e-05/0.4428, allocations: 4 kB / 1.019 GB, free: 1.086 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.2e-05/0.4428, allocations: 11.86 kB / 1.019 GB, free: 1.074 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.286e-05/0.4429, allocations: 3.938 kB / 1.019 GB, free: 1.07 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001249/0.443, allocations: 39.95 kB / 1.019 GB, free: 1.031 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 9.322e-05/0.4431, allocations: 87.73 kB / 1.019 GB, free: 0.9453 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 9.226e-05/0.4432, allocations: 27.97 kB / 1.019 GB, free: 0.918 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 6.192e-05/0.4433, allocations: 43.84 kB / 1.019 GB, free: 0.875 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.338e-05/0.4434, allocations: 43.83 kB / 1.019 GB, free: 0.832 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.048e-05/0.4434, allocations: 8 kB / 1.019 GB, free: 0.8242 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.425e-05/0.4434, allocations: 8 kB / 1.019 GB, free: 0.8164 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.347e-05/0.4434, allocations: 23.89 kB / 1.019 GB, free: 0.793 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.465e-05/0.4435, allocations: 35.8 kB / 1.019 GB, free: 0.7578 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 9.04e-05/0.4436, allocations: 87.72 kB / 1.019 GB, free: 0.6719 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.4436, allocations: 0 / 1.019 GB, free: 0.6719 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.032e-06/0.4436, allocations: 0 / 1.019 GB, free: 0.6719 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.527e-06/0.4436, allocations: 0 / 1.019 GB, free: 0.6719 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.0004925/0.4441, allocations: 389.5 kB / 1.019 GB, free: 252 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.089e-05/0.4441, allocations: 12.03 kB / 1.019 GB, free: 240 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.924e-05/0.4442, allocations: 34.75 kB / 1.019 GB, free: 196 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.548e-05/0.4442, allocations: 8.844 kB / 1.019 GB, free: 188 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001099/0.4443, allocations: 184.2 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/0.4443, allocations: 4.375 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.468e-05/0.4443, allocations: 4.375 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002643/0.4446, allocations: 113.5 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.841e-06/0.4446, allocations: 0 / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.4446, allocations: 4 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.4446, allocations: 0 / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003224/0.445, allocations: 95.84 kB / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000421/0.4454, allocations: 352.6 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005492/0.446, allocations: 126.5 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001736/0.4461, allocations: 60.81 kB / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.609e-05/0.4462, allocations: 3.938 kB / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.379e-05/0.4462, allocations: 30.56 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.4462, allocations: 0 / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0005647/0.4468, allocations: 189.4 kB / 1.021 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.22e-05/0.4468, allocations: 51.41 kB / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.253e-05/0.4469, allocations: 121.8 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.554e-05/0.4469, allocations: 25.7 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.757e-05/0.4469, allocations: 104 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.031e-05/0.447, allocations: 19.69 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.394e-05/0.447, allocations: 25.7 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 7.377e-05/0.4471, allocations: 322.8 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001591/0.4472, allocations: 43.95 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001474/0.4474, allocations: 44.27 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002968/0.4477, allocations: 100.9 kB / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-06/0.4477, allocations: 0 / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003487/0.4481, allocations: 141.5 kB / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 8.937e-06/0.4481, allocations: 4 kB / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.186e-06/0.4481, allocations: 0 / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.117e-06/0.4481, allocations: 4 kB / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001531/0.4483, allocations: 31.91 kB / 1.022 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/0.4483, allocations: 4 kB / 1.022 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001092/0.4484, allocations: 15.92 kB / 1.022 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.138e-05/0.4484, allocations: 7.984 kB / 1.022 GB, free: 13.82 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 6.928e-05/0.4485, allocations: 114.4 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.794e-05/0.4485, allocations: 7.906 kB / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.242e-05/0.4485, allocations: 8.375 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-06/0.4485, allocations: 4 kB / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.4485, allocations: 0 / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.4486, allocations: 7.938 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001579/0.4487, allocations: 193.6 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.4487, allocations: 0 / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001456/0.4489, allocations: 23.97 kB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.4489, allocations: 0 / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.245e-05/0.4489, allocations: 7.984 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.4489, allocations: 0 / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.4489, allocations: 0 / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003841/0.4493, allocations: 247.2 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 2.837e-05/0.4493, allocations: 81.02 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.856e-05/0.4494, allocations: 4 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001345/0.4495, allocations: 15.92 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.354e-05/0.4496, allocations: 31.91 kB / 1.022 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.325e-06/0.4496, allocations: 4 kB / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.338e-05/0.4496, allocations: 99.64 kB / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4496, allocations: 0 / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002105/0.4499, allocations: 15.94 kB / 1.022 GB, free: 12.87 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.0005888/0.4504, allocations: 0.7709 MB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003431/0.4508, allocations: 103.9 kB / 1.023 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.072e-06/0.4508, allocations: 0 / 1.023 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001829/0.451, allocations: 67.89 kB / 1.023 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002517/0.4513, allocations: 11.92 kB / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001661/0.4529, allocations: 1.541 MB / 1.025 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001721/0.4531, allocations: 0.6924 MB / 1.025 GB, free: 9.551 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 6.661e-05/0.4532, allocations: 8 kB / 1.025 GB, free: 9.543 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.808e-05/0.4533, allocations: 31.42 kB / 1.026 GB, free: 9.512 MB / 0.7794 GB Notification: Performance of SimCode: time 2.01e-07/0.4533, allocations: 0 / 1.026 GB, free: 9.512 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.433/2.886, allocations: 2.433 MB / 1.028 GB, free: 7.199 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003118/2.887, allocations: 197.1 kB / 1.028 GB, free: 6.949 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.749/5.636, allocations: 0 / 1.028 GB, free: 6.949 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