Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Add,fileNamePrefix="Buildings_latest_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.001223/0.001223, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001278/0.001278, allocations: 196.8 kB / 16.14 MB, free: 6.711 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.218/1.218, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.459/2.459, allocations: 461.9 MB / 0.7342 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001484/0.001484, allocations: 66.62 kB / 0.8985 GB, free: 37.05 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2304/0.2319, allocations: 157.4 MB / 1.052 GB, free: 8.234 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.001787/0.2337, allocations: 0.8342 MB / 1.053 GB, free: 7.395 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0008646/0.2346, allocations: 0.8701 MB / 1.054 GB, free: 6.512 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.135e-05/0.2347, allocations: 0 / 1.054 GB, free: 6.512 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.51e-05/0.2347, allocations: 3.938 kB / 1.054 GB, free: 6.508 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.184e-05/0.2348, allocations: 11.91 kB / 1.054 GB, free: 6.496 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001307/0.235, allocations: 35.97 kB / 1.054 GB, free: 6.461 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.499e-05/0.2351, allocations: 79.78 kB / 1.054 GB, free: 6.383 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.225e-05/0.2352, allocations: 23.97 kB / 1.054 GB, free: 6.359 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.461e-05/0.2352, allocations: 31.91 kB / 1.054 GB, free: 6.328 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.095e-05/0.2353, allocations: 47.81 kB / 1.054 GB, free: 6.281 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.15e-05/0.2353, allocations: 4 kB / 1.054 GB, free: 6.277 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.551e-05/0.2354, allocations: 8 kB / 1.054 GB, free: 6.27 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.414e-05/0.2354, allocations: 19.92 kB / 1.054 GB, free: 6.25 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.082e-05/0.2354, allocations: 35.8 kB / 1.054 GB, free: 6.215 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 9.955e-05/0.2355, allocations: 75.72 kB / 1.054 GB, free: 6.141 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.2355, allocations: 0 / 1.054 GB, free: 6.141 MB / 0.8106 GB Notification: Performance of FrontEnd: time 6.61e-07/0.2355, allocations: 0 / 1.054 GB, free: 6.141 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.707e-06/0.2355, allocations: 0 / 1.054 GB, free: 6.141 MB / 0.8106 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.0005588/0.2361, allocations: 395.5 kB / 1.055 GB, free: 5.707 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.2362, allocations: 19.97 kB / 1.055 GB, free: 5.688 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.584e-05/0.2362, allocations: 34.75 kB / 1.055 GB, free: 5.645 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.108e-05/0.2362, allocations: 12.83 kB / 1.055 GB, free: 5.633 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001201/0.2364, allocations: 180.2 kB / 1.055 GB, free: 5.418 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.492e-05/0.2364, allocations: 8.375 kB / 1.055 GB, free: 5.41 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.362e-05/0.2364, allocations: 4.375 kB / 1.055 GB, free: 5.406 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002818/0.2367, allocations: 108.7 kB / 1.055 GB, free: 5.297 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.2367, allocations: 3.984 kB / 1.055 GB, free: 5.293 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.2367, allocations: 4 kB / 1.055 GB, free: 5.289 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.2367, allocations: 0 / 1.055 GB, free: 5.289 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003645/0.2371, allocations: 99.89 kB / 1.055 GB, free: 5.191 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004845/0.2376, allocations: 344.6 kB / 1.055 GB, free: 4.805 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005837/0.2382, allocations: 118.5 kB / 1.056 GB, free: 4.68 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000183/0.2384, allocations: 64.73 kB / 1.056 GB, free: 4.613 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.725e-05/0.2384, allocations: 4 kB / 1.056 GB, free: 4.609 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.773e-05/0.2384, allocations: 34.56 kB / 1.056 GB, free: 4.566 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/0.2384, allocations: 0 / 1.056 GB, free: 4.566 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0005931/0.239, allocations: 181.7 kB / 1.056 GB, free: 4.383 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.582e-05/0.2391, allocations: 59.41 kB / 1.056 GB, free: 4.312 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.157e-05/0.2392, allocations: 125.8 kB / 1.056 GB, free: 4.18 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.576e-05/0.2392, allocations: 33.64 kB / 1.056 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.939e-05/0.2392, allocations: 95.97 kB / 1.056 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.236e-05/0.2393, allocations: 15.81 kB / 1.056 GB, free: 4.027 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.544e-05/0.2393, allocations: 25.7 kB / 1.056 GB, free: 3.996 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.381e-05/0.2394, allocations: 314.8 kB / 1.056 GB, free: 3.68 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000171/0.2396, allocations: 51.89 kB / 1.056 GB, free: 3.629 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001754/0.2398, allocations: 43.95 kB / 1.057 GB, free: 3.586 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003143/0.2401, allocations: 100.8 kB / 1.057 GB, free: 3.484 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.2401, allocations: 0 / 1.057 GB, free: 3.484 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003835/0.2405, allocations: 137.5 kB / 1.057 GB, free: 3.344 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.2405, allocations: 11.98 kB / 1.057 GB, free: 3.332 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.2405, allocations: 0 / 1.057 GB, free: 3.332 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.768e-06/0.2405, allocations: 0 / 1.057 GB, free: 3.332 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001671/0.2407, allocations: 27.91 kB / 1.057 GB, free: 3.305 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.2407, allocations: 0 / 1.057 GB, free: 3.305 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001122/0.2408, allocations: 19.92 kB / 1.057 GB, free: 3.285 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.736e-06/0.2409, allocations: 0 / 1.057 GB, free: 3.285 MB / 0.8106 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.619e-05/0.2409, allocations: 113.8 kB / 1.057 GB, free: 3.164 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.81e-05/0.241, allocations: 15.89 kB / 1.057 GB, free: 3.148 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.307e-05/0.241, allocations: 8.375 kB / 1.057 GB, free: 3.141 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.241, allocations: 4 kB / 1.057 GB, free: 3.137 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.2411, allocations: 3.938 kB / 1.057 GB, free: 3.133 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.172e-05/0.2411, allocations: 3.938 kB / 1.057 GB, free: 3.129 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000194/0.2413, allocations: 197.5 kB / 1.057 GB, free: 2.887 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.2413, allocations: 4 kB / 1.057 GB, free: 2.883 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001607/0.2414, allocations: 27.97 kB / 1.057 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.2415, allocations: 4 kB / 1.057 GB, free: 2.852 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.2415, allocations: 0 / 1.057 GB, free: 2.852 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.2415, allocations: 0 / 1.057 GB, free: 2.852 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.2415, allocations: 0 / 1.057 GB, free: 2.852 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004217/0.2419, allocations: 243.2 kB / 1.057 GB, free: 2.598 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.531e-05/0.242, allocations: 85.02 kB / 1.057 GB, free: 2.496 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.008e-05/0.242, allocations: 4 kB / 1.057 GB, free: 2.492 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001408/0.2421, allocations: 15.97 kB / 1.058 GB, free: 2.477 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.023e-05/0.2422, allocations: 19.91 kB / 1.058 GB, free: 2.457 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.033e-05/0.2422, allocations: 8 kB / 1.058 GB, free: 2.449 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.838e-05/0.2423, allocations: 95.64 kB / 1.058 GB, free: 2.355 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2423, allocations: 4 kB / 1.058 GB, free: 2.352 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000218/0.2425, allocations: 12 kB / 1.058 GB, free: 2.34 MB / 0.8106 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.0006894/0.2432, allocations: 0.7709 MB / 1.058 GB, free: 1.543 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.000371/0.2436, allocations: 103.8 kB / 1.058 GB, free: 1.441 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.2436, allocations: 0 / 1.058 GB, free: 1.441 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001876/0.2438, allocations: 72.48 kB / 1.059 GB, free: 1.371 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002652/0.244, allocations: 11.94 kB / 1.059 GB, free: 1.359 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00192/0.246, allocations: 1.542 MB / 1.06 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002214/0.2462, allocations: 0.6887 MB / 1.061 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.072e-05/0.2463, allocations: 12 kB / 1.061 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.453e-05/0.2464, allocations: 27.42 kB / 1.061 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.2464, allocations: 0 / 1.061 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1739/0.4203, allocations: 2.336 MB / 1.063 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002172/0.4205, allocations: 208 kB / 1.063 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.793/2.214, allocations: 0 / 1.063 GB, free: 12.49 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Add_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Add.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Add.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches