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.001297/0.001297, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001437/0.001437, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.279/1.279, allocations: 222.9 MB / 240.2 MB, free: 4.406 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.412/2.412, allocations: 437 MB / 0.7104 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001453/0.001453, allocations: 67.91 kB / 0.8694 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5081/0.5095, allocations: 151.6 MB / 1.017 GB, free: 2.5 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.001871/0.5115, allocations: 0.781 MB / 1.018 GB, free: 1.719 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0008415/0.5123, allocations: 0.8663 MB / 1.019 GB, free: 0.8398 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.178e-05/0.5124, allocations: 0 / 1.019 GB, free: 0.8398 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.016e-05/0.5124, allocations: 7.875 kB / 1.019 GB, free: 0.832 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.114e-05/0.5125, allocations: 15.8 kB / 1.019 GB, free: 0.8164 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.000141/0.5126, allocations: 39.94 kB / 1.019 GB, free: 0.7773 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 9.909e-05/0.5127, allocations: 79.84 kB / 1.019 GB, free: 0.6992 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001028/0.5129, allocations: 27.97 kB / 1.019 GB, free: 0.6719 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 7.313e-05/0.5129, allocations: 43.84 kB / 1.019 GB, free: 0.6289 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 7.058e-05/0.513, allocations: 47.81 kB / 1.019 GB, free: 0.582 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.578e-05/0.513, allocations: 8 kB / 1.019 GB, free: 0.5742 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.697e-05/0.5131, allocations: 8 kB / 1.019 GB, free: 0.5664 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.41e-05/0.5131, allocations: 15.92 kB / 1.019 GB, free: 0.5508 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.025e-05/0.5131, allocations: 39.84 kB / 1.019 GB, free: 0.5117 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001036/0.5132, allocations: 91.66 kB / 1.019 GB, free: 432 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.5133, allocations: 0 / 1.019 GB, free: 432 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.102e-06/0.5133, allocations: 0 / 1.019 GB, free: 432 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.037e-06/0.5133, allocations: 0 / 1.019 GB, free: 432 kB / 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.0005544/0.5138, allocations: 389.5 kB / 1.02 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.425e-05/0.5139, allocations: 12.03 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.59e-05/0.5139, allocations: 42.62 kB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.002e-05/0.5139, allocations: 12.84 kB / 1.02 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001173/0.5141, allocations: 176.2 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.527e-05/0.5141, allocations: 8.375 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.673e-05/0.5141, allocations: 4.375 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002836/0.5144, allocations: 109.5 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.793e-06/0.5144, allocations: 0 / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.5144, allocations: 0 / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.7e-06/0.5144, allocations: 3.984 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003586/0.5148, allocations: 103.8 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004624/0.5153, allocations: 344.6 kB / 1.021 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005799/0.5159, allocations: 130.5 kB / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001876/0.5161, allocations: 60.8 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.421e-05/0.5161, allocations: 0 / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.826e-05/0.5161, allocations: 34.56 kB / 1.021 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 9.61e-07/0.5161, allocations: 0 / 1.021 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0006232/0.5167, allocations: 177.5 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.43e-05/0.5168, allocations: 55.34 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.223e-05/0.5169, allocations: 133.7 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.524e-05/0.5169, allocations: 25.7 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.176e-05/0.517, allocations: 104 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.337e-05/0.517, allocations: 19.73 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.619e-05/0.517, allocations: 25.7 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.425e-05/0.5171, allocations: 314.8 kB / 1.022 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001799/0.5173, allocations: 43.95 kB / 1.022 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001707/0.5175, allocations: 51.95 kB / 1.022 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000335/0.5179, allocations: 92.77 kB / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.5179, allocations: 0 / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004002/0.5183, allocations: 145.4 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.5183, allocations: 4 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.5183, allocations: 4 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.5183, allocations: 4 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001626/0.5185, allocations: 23.97 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.5185, allocations: 0 / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001147/0.5186, allocations: 19.92 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.346e-06/0.5186, allocations: 0 / 1.022 GB, free: 13.57 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.507e-05/0.5187, allocations: 117.8 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.254e-05/0.5187, allocations: 11.89 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.524e-05/0.5188, allocations: 8.375 kB / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.5188, allocations: 0 / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.5188, allocations: 4 kB / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.5188, allocations: 3.938 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000177/0.519, allocations: 197.6 kB / 1.022 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.519, allocations: 0 / 1.022 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001593/0.5192, allocations: 27.97 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.5192, allocations: 3.938 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.094e-05/0.5192, allocations: 4 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.5192, allocations: 0 / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.5192, allocations: 0.5469 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004342/0.5196, allocations: 243.3 kB / 1.023 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.315e-05/0.5197, allocations: 81.02 kB / 1.023 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.912e-05/0.5197, allocations: 4 kB / 1.023 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001401/0.5198, allocations: 11.97 kB / 1.023 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.114e-05/0.5199, allocations: 31.8 kB / 1.023 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.001e-05/0.5199, allocations: 7.984 kB / 1.023 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.494e-05/0.52, allocations: 91.28 kB / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.52, allocations: 0 / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002251/0.5202, allocations: 15.94 kB / 1.023 GB, free: 12.62 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.0006684/0.5209, allocations: 0.7787 MB / 1.024 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003992/0.5213, allocations: 107.8 kB / 1.024 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.5213, allocations: 0 / 1.024 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001948/0.5215, allocations: 63.94 kB / 1.024 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002778/0.5218, allocations: 11.94 kB / 1.024 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001865/0.5237, allocations: 1.522 MB / 1.025 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001885/0.5239, allocations: 0.6923 MB / 1.026 GB, free: 9.316 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 6.787e-05/0.5239, allocations: 15.98 kB / 1.026 GB, free: 9.301 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.421e-05/0.524, allocations: 31.42 kB / 1.026 GB, free: 9.27 MB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/0.524, allocations: 0 / 1.026 GB, free: 9.27 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01774/0.5418, allocations: 2.653 MB / 1.029 GB, free: 6.695 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.738/7.28, allocations: 13.17 kB / 1.029 GB, free: 6.684 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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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