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.007843/0.007849, allocations: 101 kB / 15.73 MB, free: 6.004 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.001915/0.001915, allocations: 193.4 kB / 16.67 MB, free: 5.922 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.341/1.341, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.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.537/2.537, allocations: 437 MB / 0.7105 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002282/0.002282, allocations: 63.91 kB / 1.018 GB, free: 9.832 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8427/0.845, allocations: 151.6 MB / 1.166 GB, free: 3.789 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum): time 0.002838/0.8479, allocations: 0.894 MB / 1.167 GB, free: 2.902 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001443/0.8494, allocations: 0.8765 MB / 1.168 GB, free: 2.016 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.619e-05/0.8495, allocations: 3.938 kB / 1.168 GB, free: 2.012 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001442/0.8497, allocations: 15.86 kB / 1.168 GB, free: 1.996 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.000161/0.8498, allocations: 35.72 kB / 1.168 GB, free: 1.961 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001523/0.85, allocations: 35.95 kB / 1.168 GB, free: 1.926 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002473/0.8503, allocations: 139.6 kB / 1.168 GB, free: 1.789 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002211/0.8505, allocations: 53.28 kB / 1.168 GB, free: 1.73 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001192/0.8506, allocations: 59.77 kB / 1.168 GB, free: 1.672 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001732/0.8508, allocations: 83.72 kB / 1.168 GB, free: 1.59 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 5.008e-05/0.8509, allocations: 16 kB / 1.168 GB, free: 1.574 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 3.452e-05/0.8509, allocations: 15.94 kB / 1.168 GB, free: 1.559 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001231/0.851, allocations: 47.83 kB / 1.168 GB, free: 1.512 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001017/0.8512, allocations: 67.59 kB / 1.168 GB, free: 1.445 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0003196/0.8515, allocations: 167 kB / 1.169 GB, free: 1.285 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.758e-06/0.8515, allocations: 0 / 1.169 GB, free: 1.285 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.843e-06/0.8515, allocations: 0 / 1.169 GB, free: 1.285 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.8515, allocations: 4 kB / 1.169 GB, free: 1.281 MB / 0.8887 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.00133/0.8529, allocations: 0.5063 MB / 1.169 GB, free: 0.7227 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.8529, allocations: 8.625 kB / 1.169 GB, free: 0.7148 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.054e-05/0.853, allocations: 46.73 kB / 1.169 GB, free: 0.6602 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.967e-05/0.8531, allocations: 20.8 kB / 1.169 GB, free: 0.6406 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002908/0.8534, allocations: 217 kB / 1.169 GB, free: 400 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.769e-05/0.8534, allocations: 12.38 kB / 1.169 GB, free: 388 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.782e-05/0.8534, allocations: 12.36 kB / 1.169 GB, free: 376 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007596/0.8542, allocations: 176.3 kB / 1.17 GB, free: 196 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.8542, allocations: 3.938 kB / 1.17 GB, free: 192 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.445e-05/0.8543, allocations: 4 kB / 1.17 GB, free: 188 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.8543, allocations: 4 kB / 1.17 GB, free: 184 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00115/0.8554, allocations: 223.7 kB / 1.17 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001502/0.8569, allocations: 0.512 MB / 1.17 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006529/0.8576, allocations: 146.5 kB / 1.17 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005761/0.8582, allocations: 116.7 kB / 1.171 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.189e-05/0.8582, allocations: 4 kB / 1.171 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.602e-05/0.8583, allocations: 34.5 kB / 1.171 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=9): time 3.556e-06/0.8583, allocations: 7.984 kB / 1.171 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of matching and sorting (n=9): time 0.001846/0.8601, allocations: 361.6 kB / 1.171 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.238e-05/0.8602, allocations: 55.34 kB / 1.171 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002351/0.8604, allocations: 187.4 kB / 1.171 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.67e-05/0.8605, allocations: 29.7 kB / 1.171 GB, free: 14.42 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001083/0.8606, allocations: 135.9 kB / 1.171 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.935e-05/0.8607, allocations: 27.75 kB / 1.171 GB, free: 14.26 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.743e-05/0.8608, allocations: 25.64 kB / 1.171 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001504/0.8609, allocations: 326.8 kB / 1.172 GB, free: 13.9 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000656/0.8616, allocations: 103.9 kB / 1.172 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005511/0.8621, allocations: 103.9 kB / 1.172 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001088/0.8632, allocations: 212.6 kB / 1.172 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.8633, allocations: 0 / 1.172 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.00121/0.8645, allocations: 261.9 kB / 1.172 GB, free: 13.22 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/0.8645, allocations: 4 kB / 1.172 GB, free: 13.22 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.8645, allocations: 0 / 1.172 GB, free: 13.22 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.8645, allocations: 0 / 1.172 GB, free: 13.22 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003995/0.865, allocations: 48.05 kB / 1.172 GB, free: 13.17 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.218e-05/0.865, allocations: 11.88 kB / 1.172 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002945/0.8653, allocations: 35.88 kB / 1.172 GB, free: 13.12 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.971e-05/0.8653, allocations: 4 kB / 1.172 GB, free: 13.12 MB / 0.9044 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.0001495/0.8655, allocations: 125.8 kB / 1.173 GB, free: 12.99 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.499e-05/0.8655, allocations: 15.91 kB / 1.173 GB, free: 12.97 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.104e-05/0.8656, allocations: 21.41 kB / 1.173 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.8656, allocations: 4 kB / 1.173 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/0.8657, allocations: 3.938 kB / 1.173 GB, free: 12.94 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.8657, allocations: 3.984 kB / 1.173 GB, free: 12.94 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005204/0.8662, allocations: 245.5 kB / 1.173 GB, free: 12.65 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.8662, allocations: 0 / 1.173 GB, free: 12.65 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000351/0.8666, allocations: 43.94 kB / 1.173 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.317e-06/0.8666, allocations: 0 / 1.173 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.271e-05/0.8666, allocations: 8 kB / 1.173 GB, free: 12.6 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.8666, allocations: 0 / 1.173 GB, free: 12.6 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.8666, allocations: 7.938 kB / 1.173 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001302/0.8679, allocations: 351.2 kB / 1.173 GB, free: 12.23 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 7.224e-05/0.868, allocations: 88.95 kB / 1.173 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.206e-05/0.8681, allocations: 4 kB / 1.173 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003401/0.8684, allocations: 31.95 kB / 1.173 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.524e-05/0.8685, allocations: 19.91 kB / 1.173 GB, free: 12.07 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.047e-05/0.8686, allocations: 11.94 kB / 1.173 GB, free: 12.06 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001547/0.8687, allocations: 136.4 kB / 1.174 GB, free: 11.93 MB / 0.9044 GB Notification: Performance of sort global known variables: time 3.1e-07/0.8687, allocations: 0 / 1.174 GB, free: 11.93 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0004734/0.8692, allocations: 27.95 kB / 1.174 GB, free: 11.9 MB / 0.9044 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.001741/0.871, allocations: 0.8881 MB / 1.174 GB, free: 10.98 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001192/0.8722, allocations: 231.6 kB / 1.175 GB, free: 10.76 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.8722, allocations: 0 / 1.175 GB, free: 10.76 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0005919/0.8728, allocations: 115.9 kB / 1.175 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005263/0.8733, allocations: 23.92 kB / 1.175 GB, free: 10.62 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005184/0.8785, allocations: 2.146 MB / 1.177 GB, free: 8.387 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004744/0.879, allocations: 0.7236 MB / 1.178 GB, free: 7.637 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001434/0.8792, allocations: 20.89 kB / 1.178 GB, free: 7.617 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001325/0.8793, allocations: 43.42 kB / 1.178 GB, free: 7.574 MB / 0.9044 GB Notification: Performance of SimCode: time 4.51e-07/0.8793, allocations: 0 / 1.178 GB, free: 7.574 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03024/0.9096, allocations: 3.641 MB / 1.181 GB, free: 4.043 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.704/8.614, allocations: 11.3 kB / 1.181 GB, free: 4.035 MB / 0.9044 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