Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.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.MultiSum,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum",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.005904/0.005904, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001081/0.001081, allocations: 195.4 kB / 16.67 MB, free: 5.52 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.43/1.43, allocations: 222.9 MB / 240.4 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.261/2.261, allocations: 390.3 MB / 0.6648 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.00132, allocations: 63.91 kB / 0.9504 GB, free: 8.133 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8892/0.8905, allocations: 140.4 MB / 1.087 GB, free: 5.273 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.001867/0.8925, allocations: 0.845 MB / 1.088 GB, free: 4.727 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0009133/0.8934, allocations: 0.905 MB / 1.089 GB, free: 4.043 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.486e-05/0.8935, allocations: 1.25 kB / 1.089 GB, free: 4.043 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001145/0.8936, allocations: 10.67 kB / 1.089 GB, free: 4.035 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001082/0.8937, allocations: 19.91 kB / 1.089 GB, free: 4.02 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001762/0.8939, allocations: 58.41 kB / 1.089 GB, free: 3.988 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001822/0.8941, allocations: 124.4 kB / 1.089 GB, free: 3.938 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001722/0.8943, allocations: 48.53 kB / 1.089 GB, free: 3.91 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.549e-05/0.8943, allocations: 58.2 kB / 1.089 GB, free: 3.883 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001641/0.8945, allocations: 82.52 kB / 1.09 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.382e-05/0.8946, allocations: 16.56 kB / 1.09 GB, free: 3.84 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 2.747e-05/0.8946, allocations: 12.22 kB / 1.09 GB, free: 3.84 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.093e-05/0.8947, allocations: 34.44 kB / 1.09 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.728e-05/0.8947, allocations: 57.44 kB / 1.09 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002137/0.895, allocations: 142.9 kB / 1.09 GB, free: 3.723 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.895, allocations: 1.031 kB / 1.09 GB, free: 3.723 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.393e-06/0.895, allocations: 0 / 1.09 GB, free: 3.723 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.722e-06/0.895, allocations: 0.6094 kB / 1.09 GB, free: 3.723 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0008026/0.8958, allocations: 447.5 kB / 1.09 GB, free: 3.32 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.8958, allocations: 9.125 kB / 1.09 GB, free: 3.32 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.211e-05/0.8959, allocations: 43.91 kB / 1.09 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.189e-05/0.8959, allocations: 18.97 kB / 1.09 GB, free: 3.262 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001863/0.8961, allocations: 198.8 kB / 1.091 GB, free: 3.051 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.723e-05/0.8962, allocations: 11.34 kB / 1.091 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.525e-05/0.8962, allocations: 9.281 kB / 1.091 GB, free: 3.039 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004651/0.8967, allocations: 148 kB / 1.091 GB, free: 2.98 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.8967, allocations: 3.938 kB / 1.091 GB, free: 2.977 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.662e-05/0.8967, allocations: 0.9062 kB / 1.091 GB, free: 2.977 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.8967, allocations: 1.906 kB / 1.091 GB, free: 2.977 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005899/0.8973, allocations: 160.5 kB / 1.091 GB, free: 2.941 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006131/0.8979, allocations: 416.2 kB / 1.091 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000864/0.8988, allocations: 167.8 kB / 1.091 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003015/0.8991, allocations: 87.14 kB / 1.091 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.189e-05/0.8991, allocations: 5.312 kB / 1.091 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.608e-05/0.8992, allocations: 36.73 kB / 1.092 GB, free: 2.477 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=10): time 1.262e-06/0.8992, allocations: 0 / 1.092 GB, free: 2.477 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10): time 0.001028/0.9002, allocations: 283.3 kB / 1.092 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.706e-05/0.9002, allocations: 53.64 kB / 1.092 GB, free: 2.32 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000122/0.9004, allocations: 149.6 kB / 1.092 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.718e-05/0.9004, allocations: 29.7 kB / 1.092 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.864e-05/0.9004, allocations: 117.8 kB / 1.092 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.098e-05/0.9005, allocations: 24.59 kB / 1.092 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.942e-05/0.9005, allocations: 31.81 kB / 1.092 GB, free: 2.016 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.566e-05/0.9006, allocations: 321.1 kB / 1.092 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000294/0.9009, allocations: 75.47 kB / 1.093 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002788/0.9012, allocations: 74.78 kB / 1.093 GB, free: 1.668 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005626/0.9018, allocations: 158.1 kB / 1.093 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.9018, allocations: 4 kB / 1.093 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006325/0.9024, allocations: 212.2 kB / 1.093 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.9024, allocations: 6.125 kB / 1.093 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.9024, allocations: 0.6562 kB / 1.093 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/0.9025, allocations: 0.8438 kB / 1.093 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002629/0.9027, allocations: 35.92 kB / 1.093 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.9027, allocations: 0.8438 kB / 1.093 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001787/0.9029, allocations: 30.8 kB / 1.093 GB, free: 1.527 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.465e-05/0.903, allocations: 3.797 kB / 1.093 GB, free: 1.527 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: 4 (add1.y,add1.u[3],add1.u[2],add1.u[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 8.69e-05/0.903, allocations: 122 kB / 1.093 GB, free: 1.41 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.004e-05/0.9031, allocations: 20.19 kB / 1.093 GB, free: 1.395 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.369e-05/0.9031, allocations: 17.33 kB / 1.093 GB, free: 1.383 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.9031, allocations: 1.688 kB / 1.093 GB, free: 1.383 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.9032, allocations: 0.7812 kB / 1.093 GB, free: 1.383 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.9032, allocations: 4.797 kB / 1.093 GB, free: 1.379 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000228/0.9034, allocations: 233.6 kB / 1.093 GB, free: 1.16 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.9034, allocations: 5.469 kB / 1.093 GB, free: 1.156 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002381/0.9036, allocations: 39.05 kB / 1.093 GB, free: 1.152 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.9037, allocations: 1.406 kB / 1.093 GB, free: 1.152 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.63e-05/0.9037, allocations: 6.469 kB / 1.093 GB, free: 1.148 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.9037, allocations: 1.219 kB / 1.093 GB, free: 1.148 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.9037, allocations: 0.6094 kB / 1.093 GB, free: 1.148 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006863/0.9044, allocations: 301.6 kB / 1.094 GB, free: 0.9727 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.929e-05/0.9044, allocations: 88.17 kB / 1.094 GB, free: 0.8711 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.924e-05/0.9045, allocations: 5.922 kB / 1.094 GB, free: 0.8672 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002022/0.9047, allocations: 22.89 kB / 1.094 GB, free: 0.8633 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001081/0.9048, allocations: 34.3 kB / 1.094 GB, free: 0.8477 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.443e-05/0.9048, allocations: 4.297 kB / 1.094 GB, free: 0.8477 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.063e-05/0.9049, allocations: 116.7 kB / 1.094 GB, free: 0.7617 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9049, allocations: 0 / 1.094 GB, free: 0.7617 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002541/0.9051, allocations: 18.34 kB / 1.094 GB, free: 0.7617 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: 4 (add1.u[1],add1.u[2],add1.u[3],add1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.0009725/0.9061, allocations: 0.8462 MB / 1.095 GB, free: 16.05 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0006681/0.9068, allocations: 173.9 kB / 1.095 GB, free: 16.01 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.9068, allocations: 0.7812 kB / 1.095 GB, free: 16.01 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003394/0.9072, allocations: 101 kB / 1.095 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002939/0.9075, allocations: 23.17 kB / 1.095 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003153/0.9106, allocations: 1.846 MB / 1.097 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004261/0.9111, allocations: 0.7035 MB / 1.098 GB, free: 13.9 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001335/0.9112, allocations: 25.44 kB / 1.098 GB, free: 13.89 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001358/0.9113, allocations: 44.34 kB / 1.098 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of SimCode: time 4.71e-07/0.9113, allocations: 0.5938 kB / 1.098 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02331/0.9347, allocations: 3.807 MB / 1.101 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.867/8.802, allocations: 22.69 kB / 1.101 GB, free: 13.34 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches