Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.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 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.Reals.Validation.MultiSum,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_MultiSum",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_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.00106/0.00106, 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.001056/0.001056, allocations: 193.5 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.285/1.285, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.476/2.476, allocations: 437 MB / 0.7104 GB, free: 5.039 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001395/0.001395, allocations: 59.91 kB / 0.8694 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6184/0.6198, allocations: 151.6 MB / 1.017 GB, free: 2.438 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum): time 0.003001/0.6228, allocations: 0.879 MB / 1.018 GB, free: 1.559 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001502/0.6244, allocations: 0.8818 MB / 1.019 GB, free: 0.6641 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.213e-05/0.6245, allocations: 4 kB / 1.019 GB, free: 0.6602 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001271/0.6246, allocations: 15.81 kB / 1.019 GB, free: 0.6445 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001557/0.6248, allocations: 23.78 kB / 1.019 GB, free: 0.6211 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001653/0.625, allocations: 43.94 kB / 1.019 GB, free: 0.5781 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0002978/0.6253, allocations: 139.6 kB / 1.019 GB, free: 452 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002191/0.6255, allocations: 53.34 kB / 1.019 GB, free: 392 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000111/0.6256, allocations: 63.7 kB / 1.019 GB, free: 328 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001537/0.6258, allocations: 75.73 kB / 1.02 GB, free: 252 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 4.641e-05/0.6259, allocations: 12 kB / 1.02 GB, free: 240 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 3.341e-05/0.6259, allocations: 19.94 kB / 1.02 GB, free: 220 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 8.711e-05/0.626, allocations: 51.81 kB / 1.02 GB, free: 168 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 9.943e-05/0.6261, allocations: 71.59 kB / 1.02 GB, free: 96 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002722/0.6264, allocations: 161.7 kB / 1.02 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.6264, allocations: 0 / 1.02 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.804e-06/0.6265, allocations: 0 / 1.02 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.75e-06/0.6265, allocations: 0 / 1.02 GB, free: 15.94 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.00128/0.6278, allocations: 0.4986 MB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.6278, allocations: 8.031 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.269e-05/0.6279, allocations: 46.73 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.741e-05/0.628, allocations: 16.75 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000279/0.6282, allocations: 219.9 kB / 1.021 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/0.6283, allocations: 8.375 kB / 1.021 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.165e-05/0.6283, allocations: 8.375 kB / 1.021 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007806/0.6291, allocations: 179.6 kB / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.484e-05/0.6292, allocations: 3.938 kB / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.915e-05/0.6292, allocations: 7.984 kB / 1.021 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.134e-06/0.6292, allocations: 7.938 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001158/0.6304, allocations: 215.8 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001435/0.6318, allocations: 0.5081 MB / 1.022 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007259/0.6326, allocations: 154.4 kB / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006304/0.6332, allocations: 116.8 kB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.95e-05/0.6333, allocations: 0 / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.604e-05/0.6333, allocations: 38.55 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 1.824e-06/0.6333, allocations: 0 / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.001608/0.6349, allocations: 361.3 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.236e-05/0.635, allocations: 55.34 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001637/0.6351, allocations: 187.5 kB / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.821e-05/0.6352, allocations: 25.7 kB / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.528e-05/0.6353, allocations: 123.9 kB / 1.023 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.433e-05/0.6353, allocations: 27.64 kB / 1.023 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.212e-05/0.6354, allocations: 22.09 kB / 1.023 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001169/0.6355, allocations: 326.8 kB / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003928/0.6359, allocations: 103.9 kB / 1.023 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000359/0.6362, allocations: 107.8 kB / 1.023 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007117/0.637, allocations: 216.6 kB / 1.023 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.637, allocations: 0 / 1.023 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0007873/0.6378, allocations: 261.2 kB / 1.024 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.6378, allocations: 4 kB / 1.024 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.6378, allocations: 0 / 1.024 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.6378, allocations: 0 / 1.024 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002904/0.6381, allocations: 47.95 kB / 1.024 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.6381, allocations: 7.938 kB / 1.024 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001937/0.6383, allocations: 31.86 kB / 1.024 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.277e-05/0.6384, allocations: 4 kB / 1.024 GB, free: 11.81 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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 9.718e-05/0.6385, allocations: 125.8 kB / 1.024 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.913e-05/0.6385, allocations: 19.89 kB / 1.024 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.497e-05/0.6386, allocations: 25.34 kB / 1.024 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.6386, allocations: 0 / 1.024 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/0.6386, allocations: 7.922 kB / 1.024 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.6386, allocations: 3.938 kB / 1.024 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002547/0.6388, allocations: 257.4 kB / 1.024 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.6389, allocations: 0 / 1.024 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002385/0.6391, allocations: 39.95 kB / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.6391, allocations: 4 kB / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.5e-05/0.6391, allocations: 12 kB / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.6391, allocations: 288 / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.6391, allocations: 3.938 kB / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008228/0.64, allocations: 359.1 kB / 1.024 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.138e-05/0.64, allocations: 92.86 kB / 1.025 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.014e-05/0.6401, allocations: 0 / 1.025 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002239/0.6403, allocations: 31.95 kB / 1.025 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.761e-05/0.6404, allocations: 15.92 kB / 1.025 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.847e-06/0.6404, allocations: 8 kB / 1.025 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001001/0.6405, allocations: 132.4 kB / 1.025 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.6405, allocations: 0 / 1.025 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002505/0.6408, allocations: 27.91 kB / 1.025 GB, free: 10.58 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * 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.001112/0.6419, allocations: 0.884 MB / 1.026 GB, free: 9.668 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000817/0.6427, allocations: 235.6 kB / 1.026 GB, free: 9.438 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.6427, allocations: 0 / 1.026 GB, free: 9.438 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0003871/0.6431, allocations: 115.9 kB / 1.026 GB, free: 9.324 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003224/0.6434, allocations: 28.42 kB / 1.026 GB, free: 9.297 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003492/0.6469, allocations: 2.123 MB / 1.028 GB, free: 7.086 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003019/0.6473, allocations: 0.7314 MB / 1.029 GB, free: 6.328 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.669e-05/0.6473, allocations: 20.41 kB / 1.029 GB, free: 6.309 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.069e-05/0.6474, allocations: 39.42 kB / 1.029 GB, free: 6.27 MB / 0.7794 GB Notification: Performance of SimCode: time 3.91e-07/0.6475, allocations: 4 kB / 1.029 GB, free: 6.266 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01872/0.6662, allocations: 3.593 MB / 1.032 GB, free: 2.766 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.068/7.734, allocations: 4.062 kB / 1.032 GB, free: 2.762 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Reals.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_10_Buildings_Controls_OBC_CDL_Reals_Validation_MultiSum.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_MultiSum.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches