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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001265/0.001265, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001359/0.001359, allocations: 196.8 kB / 16.14 MB, free: 6.734 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.259/1.259, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.408/2.408, allocations: 437 MB / 0.7099 GB, free: 5.41 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001385, allocations: 59.91 kB / 0.8687 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6/0.6014, allocations: 151.6 MB / 1.017 GB, free: 2.809 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum): time 0.001997/0.6035, allocations: 0.938 MB / 1.018 GB, free: 1.871 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0009574/0.6044, allocations: 0.8701 MB / 1.019 GB, free: 0.9883 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.691e-05/0.6045, allocations: 3.938 kB / 1.019 GB, free: 0.9844 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.00011/0.6046, allocations: 15.92 kB / 1.019 GB, free: 0.9688 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001087/0.6048, allocations: 27.78 kB / 1.019 GB, free: 0.9414 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001023/0.6049, allocations: 31.97 kB / 1.019 GB, free: 0.9102 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001567/0.605, allocations: 135.6 kB / 1.019 GB, free: 0.7773 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001452/0.6052, allocations: 49.28 kB / 1.019 GB, free: 0.7227 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 7.511e-05/0.6053, allocations: 55.83 kB / 1.019 GB, free: 0.668 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001235/0.6054, allocations: 87.66 kB / 1.019 GB, free: 0.582 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.728e-05/0.6054, allocations: 8 kB / 1.019 GB, free: 0.5742 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 2.108e-05/0.6054, allocations: 8 kB / 1.019 GB, free: 0.5664 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 6.064e-05/0.6055, allocations: 39.83 kB / 1.019 GB, free: 0.5273 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 6.623e-05/0.6056, allocations: 63.59 kB / 1.019 GB, free: 476 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001584/0.6057, allocations: 157.7 kB / 1.019 GB, free: 320 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.6058, allocations: 4 kB / 1.019 GB, free: 316 kB / 0.7637 GB Notification: Performance of FrontEnd: time 6.81e-07/0.6058, allocations: 0 / 1.019 GB, free: 316 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.6058, allocations: 0 / 1.019 GB, free: 316 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0008656/0.6066, allocations: 0.5025 MB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.6067, allocations: 8.031 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.065e-05/0.6067, allocations: 42.75 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.721e-05/0.6068, allocations: 24.75 kB / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001816/0.607, allocations: 219.9 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.607, allocations: 8.375 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.088e-05/0.607, allocations: 12.38 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004966/0.6075, allocations: 174 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.6075, allocations: 3.938 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.767e-05/0.6076, allocations: 12 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.6076, allocations: 0 / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000708/0.6083, allocations: 215.8 kB / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008958/0.6092, allocations: 0.5158 MB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004083/0.6096, allocations: 154.4 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003368/0.61, allocations: 120.7 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.839e-05/0.61, allocations: 0 / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.171e-05/0.61, allocations: 30.56 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 9.81e-07/0.61, allocations: 0 / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.001127/0.6111, allocations: 369.6 kB / 1.021 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.07e-05/0.6112, allocations: 55.34 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001527/0.6114, allocations: 175.2 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.11e-05/0.6114, allocations: 33.7 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.033e-05/0.6115, allocations: 127.9 kB / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.459e-05/0.6115, allocations: 23.56 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.105e-05/0.6116, allocations: 25.7 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.6117, allocations: 330.8 kB / 1.022 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000334/0.612, allocations: 99.89 kB / 1.022 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000328/0.6124, allocations: 111.8 kB / 1.022 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006304/0.613, allocations: 208.6 kB / 1.023 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.613, allocations: 0 / 1.023 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0007027/0.6137, allocations: 257.3 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.6137, allocations: 8 kB / 1.023 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.6137, allocations: 0 / 1.023 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.6138, allocations: 0 / 1.023 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000268/0.614, allocations: 43.94 kB / 1.023 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.6141, allocations: 3.938 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001789/0.6142, allocations: 39.86 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.007e-05/0.6143, allocations: 4 kB / 1.023 GB, free: 12.17 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.759e-05/0.6144, allocations: 134.3 kB / 1.023 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.435e-05/0.6144, allocations: 8.281 kB / 1.023 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.368e-05/0.6145, allocations: 29.33 kB / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.6145, allocations: 4 kB / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.6145, allocations: 3.938 kB / 1.023 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.6145, allocations: 7.922 kB / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002406/0.6147, allocations: 249.5 kB / 1.023 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.155e-06/0.6147, allocations: 0 / 1.023 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002239/0.615, allocations: 47.94 kB / 1.023 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.615, allocations: 0 / 1.023 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.207e-05/0.615, allocations: 0 / 1.023 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.615, allocations: 0 / 1.023 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.149e-06/0.615, allocations: 11.94 kB / 1.023 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007588/0.6158, allocations: 355.1 kB / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.984e-05/0.6158, allocations: 88.95 kB / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.148e-05/0.6159, allocations: 0 / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002086/0.6161, allocations: 43.94 kB / 1.024 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.276e-05/0.6162, allocations: 11.92 kB / 1.024 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.478e-06/0.6162, allocations: 4 kB / 1.024 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 9.355e-05/0.6163, allocations: 132.4 kB / 1.024 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2e-07/0.6163, allocations: 0 / 1.024 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002392/0.6165, allocations: 31.91 kB / 1.024 GB, free: 10.95 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.00101/0.6175, allocations: 0.8917 MB / 1.025 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0006988/0.6182, allocations: 220 kB / 1.025 GB, free: 9.809 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.6183, allocations: 0 / 1.025 GB, free: 9.809 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0003453/0.6186, allocations: 123.9 kB / 1.025 GB, free: 9.688 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003031/0.6189, allocations: 27.92 kB / 1.025 GB, free: 9.66 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003084/0.622, allocations: 2.172 MB / 1.027 GB, free: 7.406 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002813/0.6223, allocations: 0.7278 MB / 1.028 GB, free: 6.652 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.813e-05/0.6224, allocations: 20.41 kB / 1.028 GB, free: 6.633 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.371e-05/0.6225, allocations: 43.42 kB / 1.028 GB, free: 6.59 MB / 0.7794 GB Notification: Performance of SimCode: time 2e-07/0.6225, allocations: 0 / 1.028 GB, free: 6.59 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0233/0.6458, allocations: 3.146 MB / 1.031 GB, free: 3.559 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002034/0.646, allocations: 211.5 kB / 1.031 GB, free: 3.301 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.574/2.22, allocations: 0 / 1.031 GB, free: 3.301 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