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.009336/0.009336, allocations: 97.39 kB / 15.73 MB, free: 6.484 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.002848/0.002848, allocations: 191.9 kB / 16.67 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 2.813/2.813, allocations: 222.9 MB / 240.4 MB, free: 4.316 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 5.468/5.468, allocations: 437.1 MB / 0.7105 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.003577/0.003577, allocations: 67.89 kB / 1.018 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6801/0.6838, allocations: 151.6 MB / 1.166 GB, free: 7.402 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.003476/0.6873, allocations: 0.7717 MB / 1.167 GB, free: 6.625 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001971/0.6893, allocations: 0.8702 MB / 1.168 GB, free: 5.742 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.36e-05/0.6894, allocations: 0 / 1.168 GB, free: 5.742 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 5.183e-05/0.6895, allocations: 7.875 kB / 1.168 GB, free: 5.734 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001443/0.6897, allocations: 11.86 kB / 1.168 GB, free: 5.723 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000269/0.69, allocations: 39.94 kB / 1.168 GB, free: 5.684 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002067/0.6902, allocations: 95.77 kB / 1.168 GB, free: 5.59 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001924/0.6904, allocations: 19.98 kB / 1.168 GB, free: 5.57 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001288/0.6905, allocations: 35.91 kB / 1.168 GB, free: 5.535 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001527/0.6907, allocations: 47.83 kB / 1.168 GB, free: 5.488 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 4.477e-05/0.6908, allocations: 8 kB / 1.168 GB, free: 5.48 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 2.978e-05/0.6908, allocations: 8 kB / 1.168 GB, free: 5.473 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 5.377e-05/0.6909, allocations: 27.89 kB / 1.168 GB, free: 5.445 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 7.67e-05/0.691, allocations: 39.73 kB / 1.168 GB, free: 5.406 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.00025/0.6912, allocations: 91.88 kB / 1.168 GB, free: 5.316 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 9.278e-06/0.6913, allocations: 0 / 1.168 GB, free: 5.316 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.984e-06/0.6913, allocations: 3.938 kB / 1.168 GB, free: 5.312 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.032e-06/0.6913, allocations: 0 / 1.168 GB, free: 5.312 MB / 0.92 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.001072/0.6924, allocations: 391.1 kB / 1.169 GB, free: 4.883 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 8.546e-05/0.6925, allocations: 12.03 kB / 1.169 GB, free: 4.871 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.542e-05/0.6926, allocations: 38.75 kB / 1.169 GB, free: 4.824 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.095e-05/0.6926, allocations: 8.891 kB / 1.169 GB, free: 4.816 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002628/0.6929, allocations: 176.3 kB / 1.169 GB, free: 4.605 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.962e-05/0.693, allocations: 8.375 kB / 1.169 GB, free: 4.598 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.667e-05/0.693, allocations: 8.125 kB / 1.169 GB, free: 4.59 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005591/0.6936, allocations: 109.5 kB / 1.169 GB, free: 4.477 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.55e-05/0.6936, allocations: 0 / 1.169 GB, free: 4.477 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.473e-05/0.6937, allocations: 4 kB / 1.169 GB, free: 4.473 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.6937, allocations: 0 / 1.169 GB, free: 4.473 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006596/0.6944, allocations: 95.91 kB / 1.169 GB, free: 4.379 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000927/0.6953, allocations: 352.6 kB / 1.169 GB, free: 3.984 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001071/0.6964, allocations: 118.6 kB / 1.169 GB, free: 3.859 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003613/0.6968, allocations: 56.81 kB / 1.17 GB, free: 3.801 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.524e-05/0.6968, allocations: 0 / 1.17 GB, free: 3.801 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.131e-05/0.6969, allocations: 34.56 kB / 1.17 GB, free: 3.758 MB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 1.924e-06/0.6969, allocations: 0 / 1.17 GB, free: 3.758 MB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.001134/0.698, allocations: 193.4 kB / 1.17 GB, free: 3.562 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.953e-05/0.6981, allocations: 51.41 kB / 1.17 GB, free: 3.5 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00017/0.6983, allocations: 121.8 kB / 1.17 GB, free: 3.371 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.902e-05/0.6983, allocations: 25.7 kB / 1.17 GB, free: 3.34 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.000105/0.6984, allocations: 100.1 kB / 1.17 GB, free: 3.238 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 5.271e-05/0.6985, allocations: 23.8 kB / 1.17 GB, free: 3.215 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.173e-05/0.6986, allocations: 25.64 kB / 1.17 GB, free: 3.184 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000213/0.6988, allocations: 322.8 kB / 1.17 GB, free: 2.859 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003294/0.6992, allocations: 43.95 kB / 1.17 GB, free: 2.816 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002753/0.6995, allocations: 43.95 kB / 1.17 GB, free: 2.773 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005197/0.7, allocations: 96.78 kB / 1.171 GB, free: 2.676 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.7, allocations: 0 / 1.171 GB, free: 2.676 MB / 0.92 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0007215/0.7008, allocations: 149.5 kB / 1.171 GB, free: 2.523 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.561e-05/0.7008, allocations: 4 kB / 1.171 GB, free: 2.52 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.7008, allocations: 4 kB / 1.171 GB, free: 2.516 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.664e-05/0.7009, allocations: 4 kB / 1.171 GB, free: 2.512 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002929/0.7012, allocations: 23.97 kB / 1.171 GB, free: 2.488 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.435e-05/0.7012, allocations: 3.938 kB / 1.171 GB, free: 2.484 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001892/0.7014, allocations: 11.98 kB / 1.171 GB, free: 2.473 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.084e-05/0.7014, allocations: 7.922 kB / 1.171 GB, free: 2.465 MB / 0.92 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.0001703/0.7016, allocations: 113.8 kB / 1.171 GB, free: 2.344 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.117e-05/0.7017, allocations: 11.95 kB / 1.171 GB, free: 2.332 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.278e-05/0.7018, allocations: 12.38 kB / 1.171 GB, free: 2.32 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.7018, allocations: 0 / 1.171 GB, free: 2.32 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.262e-05/0.7018, allocations: 7.938 kB / 1.171 GB, free: 2.312 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.01e-05/0.7018, allocations: 3.984 kB / 1.171 GB, free: 2.309 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004032/0.7022, allocations: 193.6 kB / 1.171 GB, free: 2.07 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.7023, allocations: 0 / 1.171 GB, free: 2.07 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002794/0.7026, allocations: 23.97 kB / 1.171 GB, free: 2.047 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.7026, allocations: 0 / 1.171 GB, free: 2.047 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.045e-05/0.7026, allocations: 11.98 kB / 1.171 GB, free: 2.035 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.7026, allocations: 0 / 1.171 GB, free: 2.035 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/0.7026, allocations: 3.938 kB / 1.171 GB, free: 2.031 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008465/0.7035, allocations: 235.4 kB / 1.171 GB, free: 1.785 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 8.605e-05/0.7036, allocations: 85 kB / 1.171 GB, free: 1.684 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.112e-05/0.7036, allocations: 8 kB / 1.171 GB, free: 1.676 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002411/0.7039, allocations: 7.984 kB / 1.171 GB, free: 1.668 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001337/0.7041, allocations: 27.91 kB / 1.171 GB, free: 1.641 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.265e-05/0.7041, allocations: 4 kB / 1.171 GB, free: 1.637 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0001254/0.7042, allocations: 107.5 kB / 1.172 GB, free: 1.531 MB / 0.92 GB Notification: Performance of sort global known variables: time 3.61e-07/0.7042, allocations: 0 / 1.172 GB, free: 1.531 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0004838/0.7047, allocations: 12 kB / 1.172 GB, free: 1.52 MB / 0.92 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.001434/0.7062, allocations: 0.7677 MB / 1.172 GB, free: 0.7266 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0008211/0.707, allocations: 115.9 kB / 1.172 GB, free: 0.6133 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.7071, allocations: 0 / 1.172 GB, free: 0.6133 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0003942/0.7075, allocations: 55.95 kB / 1.173 GB, free: 0.5586 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005899/0.7081, allocations: 15.92 kB / 1.173 GB, free: 0.543 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003728/0.7118, allocations: 1.533 MB / 1.174 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006266/0.7125, allocations: 0.6885 MB / 1.175 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001281/0.7126, allocations: 15.98 kB / 1.175 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001417/0.7128, allocations: 31.42 kB / 1.175 GB, free: 14.16 MB / 0.9356 GB Notification: Performance of SimCode: time 7.21e-07/0.7128, allocations: 192 / 1.175 GB, free: 14.16 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07189/0.7847, allocations: 2.703 MB / 1.177 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.98/17.76, allocations: 15.59 kB / 1.177 GB, free: 11.54 MB / 0.9356 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