Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Add,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Add,fileNamePrefix="Buildings_9_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.01215/0.01215, allocations: 101 kB / 15.73 MB, free: 6.043 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.002259/0.002259, allocations: 186.9 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.454/2.454, allocations: 222.9 MB / 240.4 MB, free: 4.312 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 4.443/4.443, allocations: 390.2 MB / 0.6648 GB, free: 204 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002251/0.002251, allocations: 68.94 kB / 0.9504 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5349/0.5372, allocations: 140.4 MB / 1.087 GB, free: 1.973 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.003461/0.5407, allocations: 0.7715 MB / 1.088 GB, free: 1.199 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001918/0.5427, allocations: 0.8624 MB / 1.089 GB, free: 332 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.008e-05/0.5428, allocations: 7.938 kB / 1.089 GB, free: 324 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 6.505e-05/0.5429, allocations: 7.875 kB / 1.089 GB, free: 316 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001505/0.5431, allocations: 19.84 kB / 1.089 GB, free: 296 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002764/0.5434, allocations: 31.97 kB / 1.089 GB, free: 264 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0002166/0.5436, allocations: 87.8 kB / 1.089 GB, free: 176 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001877/0.5438, allocations: 24 kB / 1.089 GB, free: 152 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001613/0.544, allocations: 39.84 kB / 1.089 GB, free: 112 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001548/0.5442, allocations: 51.81 kB / 1.089 GB, free: 60 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 4.535e-05/0.5442, allocations: 8 kB / 1.089 GB, free: 52 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 3.046e-05/0.5443, allocations: 8 kB / 1.089 GB, free: 44 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 4.581e-05/0.5444, allocations: 15.92 kB / 1.089 GB, free: 28 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001065/0.5445, allocations: 39.86 kB / 1.089 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002192/0.5447, allocations: 83.64 kB / 1.089 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 1.254e-05/0.5447, allocations: 3.984 kB / 1.089 GB, free: 15.9 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.094e-06/0.5447, allocations: 3.938 kB / 1.089 GB, free: 15.9 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.087e-06/0.5448, allocations: 0 / 1.089 GB, free: 15.9 MB / 0.8575 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.001155/0.5459, allocations: 394.9 kB / 1.09 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.575e-05/0.546, allocations: 12.03 kB / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.56e-05/0.5461, allocations: 38.73 kB / 1.09 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.906e-05/0.5462, allocations: 8.844 kB / 1.09 GB, free: 15.4 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003071/0.5465, allocations: 172.2 kB / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.202e-05/0.5465, allocations: 4.375 kB / 1.09 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.818e-05/0.5466, allocations: 12.12 kB / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005668/0.5472, allocations: 109.6 kB / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.915e-05/0.5472, allocations: 3.938 kB / 1.09 GB, free: 15.06 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.212e-05/0.5472, allocations: 0 / 1.09 GB, free: 15.06 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.266e-05/0.5473, allocations: 0 / 1.09 GB, free: 15.06 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006807/0.5479, allocations: 99.84 kB / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001135/0.5491, allocations: 340.7 kB / 1.091 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001097/0.5502, allocations: 130.5 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003618/0.5506, allocations: 60.81 kB / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.437e-05/0.5506, allocations: 0 / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.41e-05/0.5507, allocations: 30.56 kB / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.883e-06/0.5507, allocations: 0 / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.001209/0.5519, allocations: 189.4 kB / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.854e-05/0.552, allocations: 51.41 kB / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001729/0.5522, allocations: 125.7 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.123e-05/0.5522, allocations: 29.7 kB / 1.091 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.572e-05/0.5523, allocations: 99.97 kB / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.527e-05/0.5524, allocations: 19.75 kB / 1.091 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.391e-05/0.5525, allocations: 21.7 kB / 1.091 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001675/0.5526, allocations: 318.8 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00032/0.553, allocations: 51.95 kB / 1.092 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002992/0.5533, allocations: 47.94 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006099/0.5539, allocations: 88.78 kB / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.5539, allocations: 4 kB / 1.092 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0007234/0.5547, allocations: 141.4 kB / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.35e-05/0.5547, allocations: 4 kB / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.5547, allocations: 0 / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.844e-05/0.5548, allocations: 4 kB / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002968/0.5551, allocations: 23.97 kB / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.674e-05/0.5551, allocations: 3.938 kB / 1.092 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002072/0.5553, allocations: 23.92 kB / 1.092 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.243e-05/0.5554, allocations: 3.984 kB / 1.092 GB, free: 13.05 MB / 0.8575 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 0.0001755/0.5556, allocations: 113.8 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.314e-05/0.5556, allocations: 7.906 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.138e-05/0.5557, allocations: 12.31 kB / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.5557, allocations: 0 / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.36e-05/0.5557, allocations: 3.938 kB / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/0.5558, allocations: 8 kB / 1.092 GB, free: 12.9 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000374/0.5562, allocations: 201.6 kB / 1.092 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.5562, allocations: 0 / 1.092 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002701/0.5565, allocations: 27.91 kB / 1.092 GB, free: 12.63 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.5565, allocations: 0 / 1.092 GB, free: 12.63 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.529e-05/0.5565, allocations: 8 kB / 1.092 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.5565, allocations: 0 / 1.092 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.425e-06/0.5565, allocations: 7.922 kB / 1.092 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008137/0.5574, allocations: 227.4 kB / 1.093 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 8.679e-05/0.5575, allocations: 85 kB / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.607e-05/0.5575, allocations: 4 kB / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000251/0.5578, allocations: 11.98 kB / 1.093 GB, free: 12.26 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001413/0.5579, allocations: 27.91 kB / 1.093 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.652e-05/0.558, allocations: 4 kB / 1.093 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001053/0.5581, allocations: 95.27 kB / 1.093 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of sort global known variables: time 3.21e-07/0.5581, allocations: 0 / 1.093 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004528/0.5586, allocations: 12 kB / 1.093 GB, free: 12.12 MB / 0.8575 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.00146/0.5601, allocations: 0.7676 MB / 1.094 GB, free: 11.33 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0007799/0.5609, allocations: 119.9 kB / 1.094 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.5609, allocations: 0 / 1.094 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0003565/0.5612, allocations: 63.89 kB / 1.094 GB, free: 11.15 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006093/0.5619, allocations: 15.94 kB / 1.094 GB, free: 11.13 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003625/0.5655, allocations: 1.537 MB / 1.095 GB, free: 9.516 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000367/0.5659, allocations: 0.6924 MB / 1.096 GB, free: 8.797 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001146/0.566, allocations: 11.75 kB / 1.096 GB, free: 8.785 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001419/0.5662, allocations: 39.34 kB / 1.096 GB, free: 8.746 MB / 0.8575 GB Notification: Performance of SimCode: time 4.71e-07/0.5662, allocations: 0 / 1.096 GB, free: 8.746 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0337/0.5999, allocations: 2.694 MB / 1.099 GB, free: 6.148 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.82/12.42, allocations: 5.969 kB / 1.099 GB, free: 6.145 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Add.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Add_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Add.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_Add.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Add.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches