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.001191/0.001191, allocations: 108 kB / 15.61 MB, free: 152 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.001485/0.001485, allocations: 195.8 kB / 16.53 MB, free: 6.699 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.425/1.425, 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.739/2.739, allocations: 437.1 MB / 0.7104 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002152/0.002152, allocations: 67.91 kB / 0.8694 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8725/0.8747, allocations: 151.6 MB / 1.017 GB, free: 2.469 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum): time 0.002926/0.8776, allocations: 0.8692 MB / 1.018 GB, free: 1.598 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.00155/0.8792, allocations: 0.8819 MB / 1.019 GB, free: 0.7031 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001565/0.8794, allocations: 0 / 1.019 GB, free: 0.7031 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001816/0.8796, allocations: 27.8 kB / 1.019 GB, free: 0.6758 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0002054/0.8798, allocations: 23.73 kB / 1.019 GB, free: 0.6523 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.000187/0.88, allocations: 31.95 kB / 1.019 GB, free: 0.6211 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0002785/0.8803, allocations: 139.6 kB / 1.019 GB, free: 496 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002308/0.8806, allocations: 69.31 kB / 1.019 GB, free: 420 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001327/0.8807, allocations: 51.78 kB / 1.019 GB, free: 368 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001617/0.8809, allocations: 83.72 kB / 1.02 GB, free: 284 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 3.767e-05/0.8809, allocations: 12 kB / 1.02 GB, free: 272 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 2.718e-05/0.881, allocations: 12 kB / 1.02 GB, free: 260 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 7.825e-05/0.8811, allocations: 43.84 kB / 1.02 GB, free: 216 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0001102/0.8812, allocations: 71.59 kB / 1.02 GB, free: 144 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002506/0.8814, allocations: 165.7 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.8814, allocations: 0 / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.573e-06/0.8814, allocations: 0 / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.583e-05/0.8815, allocations: 4 kB / 1.02 GB, free: 15.98 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.001075/0.8826, allocations: 0.5025 MB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.977e-05/0.8826, allocations: 12.02 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.248e-05/0.8827, allocations: 42.75 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.098e-05/0.8827, allocations: 16.75 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002487/0.883, allocations: 219.9 kB / 1.021 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/0.883, allocations: 4.375 kB / 1.021 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.871e-05/0.883, allocations: 12.38 kB / 1.021 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005737/0.8836, allocations: 171.5 kB / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/0.8836, allocations: 15.88 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.021e-05/0.8837, allocations: 4 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.8837, allocations: 0 / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007956/0.8845, allocations: 223.7 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001171/0.8857, allocations: 0.5159 MB / 1.022 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004636/0.8861, allocations: 146.5 kB / 1.022 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003808/0.8865, allocations: 116.7 kB / 1.022 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.006e-05/0.8866, allocations: 0 / 1.022 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.001e-05/0.8866, allocations: 30.56 kB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 1.653e-06/0.8866, allocations: 8 kB / 1.022 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.001264/0.8879, allocations: 361.3 kB / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.02e-05/0.8879, allocations: 55.34 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001821/0.8881, allocations: 187.4 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.046e-05/0.8882, allocations: 25.7 kB / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.688e-05/0.8883, allocations: 127.9 kB / 1.023 GB, free: 13 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.066e-05/0.8883, allocations: 23.66 kB / 1.023 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.438e-05/0.8884, allocations: 25.7 kB / 1.023 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001387/0.8885, allocations: 326.8 kB / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003701/0.8889, allocations: 99.89 kB / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003727/0.8893, allocations: 108.2 kB / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007168/0.89, allocations: 216.8 kB / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.89, allocations: 0 / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000823/0.8908, allocations: 261.2 kB / 1.024 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.8909, allocations: 4 kB / 1.024 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.8909, allocations: 0 / 1.024 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.8909, allocations: 0 / 1.024 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002995/0.8912, allocations: 51.88 kB / 1.024 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.397e-06/0.8912, allocations: 3.938 kB / 1.024 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002037/0.8914, allocations: 39.86 kB / 1.024 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.157e-05/0.8915, allocations: 0 / 1.024 GB, free: 11.84 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 0.0001395/0.8916, allocations: 129.8 kB / 1.024 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.408e-05/0.8917, allocations: 7.906 kB / 1.024 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.554e-05/0.8917, allocations: 25.41 kB / 1.024 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.8917, allocations: 7.922 kB / 1.024 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.8917, allocations: 3.938 kB / 1.024 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.8917, allocations: 0 / 1.024 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003064/0.8921, allocations: 257.5 kB / 1.024 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.8921, allocations: 4 kB / 1.024 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002513/0.8923, allocations: 43.94 kB / 1.024 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.8923, allocations: 0 / 1.024 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.493e-05/0.8924, allocations: 4 kB / 1.024 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.8924, allocations: 4 kB / 1.024 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.611e-06/0.8924, allocations: 7.875 kB / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008747/0.8933, allocations: 347.3 kB / 1.024 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.034e-05/0.8933, allocations: 92.86 kB / 1.025 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.039e-05/0.8934, allocations: 8 kB / 1.025 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002283/0.8936, allocations: 39.88 kB / 1.025 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.413e-05/0.8937, allocations: 15.92 kB / 1.025 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.668e-06/0.8937, allocations: 4 kB / 1.025 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001023/0.8938, allocations: 132.4 kB / 1.025 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8938, allocations: 0 / 1.025 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002561/0.8941, allocations: 27.91 kB / 1.025 GB, free: 10.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: 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.001272/0.8954, allocations: 0.884 MB / 1.026 GB, free: 9.703 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0008284/0.8962, allocations: 231.7 kB / 1.026 GB, free: 9.477 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.8962, allocations: 0 / 1.026 GB, free: 9.477 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000385/0.8966, allocations: 119.8 kB / 1.026 GB, free: 9.359 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003451/0.897, allocations: 36.42 kB / 1.026 GB, free: 9.324 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00367/0.9006, allocations: 2.119 MB / 1.028 GB, free: 7.117 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003042/0.901, allocations: 0.7275 MB / 1.029 GB, free: 6.363 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001222/0.9011, allocations: 24.42 kB / 1.029 GB, free: 6.34 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.883e-05/0.9012, allocations: 39.42 kB / 1.029 GB, free: 6.301 MB / 0.7794 GB Notification: Performance of SimCode: time 5.01e-07/0.9012, allocations: 0 / 1.029 GB, free: 6.301 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02828/0.9295, allocations: 3.6 MB / 1.032 GB, free: 2.793 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.646/8.575, allocations: 9.938 kB / 1.032 GB, free: 2.789 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_MultiSum_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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